Repository navigation
fix(google-genai): align Gemini 3 model ids with the ids Google serves - #216
Merged
Merged
Conversation
Add gemini-3-flash-preview with its four thinking levels. Remove gemini-3-pro, gemini-3.1-pro and gemini-3.1-flash-lite-preview, which are shut down or never existed under those ids. Update docs and README examples to ids that resolve. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #209. Closes #210 (the per-model thinking levels landed in #215; this adds the remaining id and the per-id tests).
What
gemini-3-flash-previewwith its four thinking levels (minimal,low,medium,high). It previously fell back to the Gemini 2.5-style thinking-budget defaults.gemini-3-pro— the real id wasgemini-3-pro-preview, shut down March 9, 2026.gemini-3.1-pro— not an id on the Gemini API or Vertex AI; the model isgemini-3.1-pro-preview.gemini-3.1-flash-lite-preview— shut down May 25, 2026;gemini-3.1-flash-litestays.gemini-3.1-pro-preview,gemini-3-flash-preview).supportedEffortsfor every Gemini 3 id in the table.The Vertex question from #209
#209 asked whether the dateless ids are valid on Vertex AI. The Vertex model pages for Gemini 3.1 Pro and Gemini 3 Flash list
gemini-3.1-pro-previewandgemini-3-flash-previewas the model ids, the same as the Gemini API. So the datelessgemini-3.1-proentry is removed rather than kept, and nogemini-3-flashentry is added.Behaviour
gemini-3-flash-previewnow sendsthinkingLevelinstead ofthinkingBudget.Sources
Checks
npm run release:checkandnpm run testpass.@core-ai/google-genai(patch).🤖 Generated with Claude Code
Closes #209 and #210