[google] Add gemini-3.8-flash - #917
Merged
Merged
Conversation
Add model config and pricing for Gemini 3.8 Flash (GA, released Sep 2, 2026). Config: chat model with thinking, structured output, vision, PDF, doc, tools, and audio support. Max output 65,536 tokens, 1M context window. Pricing (introductory through Dec 31, 2026): - Standard: $0.75/$3.75 per 1M input/output tokens - Cached input: $0.075 per 1M tokens - Batch: $0.375/$1.875 per 1M input/output tokens - Grounding: $1.4 per query (Gemini 3 family rate) Source: https://cloud.google.com/vertex-ai/generative-ai/pricing Docs: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-8-flash
Devansh0012
approved these changes
Sep 2, 2026
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.
Summary
gemini-3.8-flashmodel config and pricing for the Google providerPricing (introductory through Dec 31, 2026)
Pricing source: https://cloud.google.com/vertex-ai/generative-ai/pricing
Model docs: https://docs.cloud.google.com/gemini-enterprise-agent-platform/models/gemini/3-8-flash
Sanity check
Pricing matches the existing
gemini-3.7-flashentries — both models share the same introductory pricing tier ($0.75/$3.75 per 1M tokens through Dec 31, 2026), confirmed on the official pricing page.Validation
jq empty— valid JSONcheck_duplicate_keys.py— no duplicatesnpm run format— formattednpm run lint— no errorsFiles changed
general/google.json— addedgemini-3.8-flashconfig entrypricing/google.json— addedgemini-3.8-flash-lte-128kandgemini-3.8-flash-gt-128kpricing entries