Skip to content

ModelForProvider<"vercel"> is missing zai/glm-5.1 #15236

@nikhilsheoran

Description

@nikhilsheoran

Summary

ModelForProvider<"vercel"> does not include zai/glm-5.1, even though Vercel AI Gateway currently exposes that model in the live catalog.

Expected

zai/glm-5.1 should be accepted as a valid Vercel model ID in Mastra's generated provider types.

Actual

TypeScript rejects zai/glm-5.1 when using ModelForProvider<"vercel">.

Notes

  • Mastra's vendored Vercel registry omits zai/glm-5.1
  • the generated provider types omit it as a result
  • Vercel's live AI Gateway catalog includes it

Metadata

Metadata

Assignees

No one assigned

    Labels

    AI SDKIssues with Mastra + AI-SDK toolkit and providersDeploymentIssues with deploying to Mastra to [X] providerbugSomething isn't workingeffort:mediumimpact:mediumtrio-wp

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions