Skip to content

feat(provider/google): add missing model IDs#12819

Merged
gr2m merged 1 commit intomainfrom
gr2m/add-google-model-ids
Feb 24, 2026
Merged

feat(provider/google): add missing model IDs#12819
gr2m merged 1 commit intomainfrom
gr2m/add-google-model-ids

Conversation

@gr2m
Copy link
Copy Markdown
Collaborator

@gr2m gr2m commented Feb 24, 2026

Summary

  • Added 18 new model IDs to GoogleGenerativeAIModelId type in google-generative-ai-options.ts for better autocomplete support, including gemini-2.0, gemini-2.5, gemini-3.1, gemma, robotics, and other new model variants
  • Added 2 new model IDs (veo-3.0-generate-001, veo-3.0-fast-generate-001) to GoogleGenerativeAIVideoModelId type in google-generative-ai-video-settings.ts
  • Added a patch changeset for @ai-sdk/google

Closes #12809

Test plan

  • pnpm build succeeds for @ai-sdk/google
  • pnpm test passes all 255 tests (node + edge) for @ai-sdk/google
  • Changes are type-only additions to string union types, no runtime behavior changes

Add new model IDs to GoogleGenerativeAIModelId and
GoogleGenerativeAIVideoModelId types for autocomplete support.

Closes #12809

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tigent tigent bot added ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label feature New feature or request provider/google Issues related to the @ai-sdk/google provider labels Feb 24, 2026
@gr2m gr2m marked this pull request as draft February 24, 2026 20:25
@gr2m
Copy link
Copy Markdown
Collaborator Author

gr2m commented Feb 24, 2026

Hey I'm not to sure about this one @claude

@gr2m gr2m marked this pull request as ready for review February 24, 2026 20:32
@gr2m gr2m enabled auto-merge (squash) February 24, 2026 20:55
@gr2m
Copy link
Copy Markdown
Collaborator Author

gr2m commented Feb 24, 2026

Verification

The added model IDs were verified against the Google AI models documentation. Since this provider has a large number of new models (18 language + 2 video), verification was done by cross-referencing the official docs rather than live API testing for each model.

All models in the issue list were confirmed to exist in the Google AI API model catalog. The categorization into GoogleGenerativeAIModelId vs GoogleGenerativeAIVideoModelId was based on model type:

  • Language models (gemini-, gemma-, deep-research-, nano-banana-, aqa) → GoogleGenerativeAIModelId
  • Video models (veo-*) → GoogleGenerativeAIVideoModelId

Image and embedding models from the issue were already present in their respective type unions.

@gr2m gr2m merged commit 2fa3ca8 into main Feb 24, 2026
28 checks passed
@gr2m gr2m deleted the gr2m/add-google-model-ids branch February 24, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label feature New feature or request provider/google Issues related to the @ai-sdk/google provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🤖 Provider model changes - google

1 participant