Skip to content

feat(provider/google): add gemini-3.1-flash-lite-preview#13025

Merged
felixarntz merged 2 commits intomainfrom
add-gemini-3.1-flash-lite-preview
Mar 3, 2026
Merged

feat(provider/google): add gemini-3.1-flash-lite-preview#13025
felixarntz merged 2 commits intomainfrom
add-gemini-3.1-flash-lite-preview

Conversation

@felixarntz
Copy link
Copy Markdown
Collaborator

Background

Google released gemini-3.1-flash-lite-preview. It needs to be added to the SDK's model ID types so users get autocomplete and type safety.

Summary

Adds gemini-3.1-flash-lite-preview to the model ID type unions in google, google-vertex, and gateway packages. Adds a row to the capability table in docs and creates generateText/streamText examples.

Manual Verification

Examples are included, which can be used for testing against the model.

Checklist

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • I have reviewed this pull request (self-review)

Future Work

N/A

Related Issues

Fixes #13024

@tigent tigent bot added ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. ai/gateway ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider provider/google Issues related to the @ai-sdk/google provider provider/google-vertex Issues related to the @ai-sdk/google-vertex provider labels Mar 3, 2026
@felixarntz felixarntz added the backport Admins only: add this label to a pull request in order to backport it to the prior version label Mar 3, 2026
@felixarntz felixarntz merged commit 10bec50 into main Mar 3, 2026
37 checks passed
@felixarntz felixarntz deleted the add-gemini-3.1-flash-lite-preview branch March 3, 2026 16:36
vercel-ai-sdk bot pushed a commit that referenced this pull request Mar 3, 2026
## Background

Google released `gemini-3.1-flash-lite-preview`. It needs to be added to
the SDK's model ID types so users get autocomplete and type safety.

## Summary

Adds `gemini-3.1-flash-lite-preview` to the model ID type unions in
`google`, `google-vertex`, and `gateway` packages. Adds a row to the
capability table in docs and creates `generateText`/`streamText`
examples.

## Manual Verification

Examples are included, which can be used for testing against the model.

## Checklist

- [x] Tests have been added / updated (for bug fixes / features)
- [x] Documentation has been added / updated (for bug fixes / features)
- [x] A _patch_ changeset for relevant packages has been added (for bug
fixes / features - run `pnpm changeset` in the project root)
- [x] I have reviewed this pull request (self-review)

## Future Work

N/A

## Related Issues

Fixes #13024
@vercel-ai-sdk vercel-ai-sdk bot removed the backport Admins only: add this label to a pull request in order to backport it to the prior version label Mar 3, 2026
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Mar 3, 2026

✅ Backport PR created: #13029

vercel-ai-sdk bot added a commit that referenced this pull request Mar 3, 2026
…13029)

This is an automated backport of #13025 to the release-v6.0 branch. FYI
@felixarntz

Co-authored-by: Felix Arntz <felix.arntz@vercel.com>
@vercel-ai-sdk
Copy link
Copy Markdown
Contributor

vercel-ai-sdk bot commented Mar 3, 2026

🚀 Published in:

Package Version
ai 6.0.109
@ai-sdk/angular 2.0.110
@ai-sdk/gateway 3.0.62
@ai-sdk/google 3.0.37
@ai-sdk/google-vertex 4.0.72
@ai-sdk/langchain 2.0.115
@ai-sdk/llamaindex 2.0.109
@ai-sdk/react 3.0.111
@ai-sdk/rsc 2.0.109
@ai-sdk/svelte 4.0.109
@ai-sdk/vue 3.0.109

@gr2m gr2m removed the ai/gateway label Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai/core core functions like generateText, streamText, etc. Provider utils, and provider spec. ai/provider related to a provider package. Must be assigned together with at least one `provider/*` label documentation Improvements or additions to documentation feature New feature or request provider/gateway Issues related to the @ai-sdk/gateway provider provider/google Issues related to the @ai-sdk/google provider provider/google-vertex Issues related to the @ai-sdk/google-vertex provider

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🤖 Provider model changes - google

3 participants