Skip to content

[google] Add gemini-3.8-flash - #917

Merged
naresh4dev merged 1 commit into
mainfrom
add-gemini-3.8-flash
Sep 2, 2026
Merged

[google] Add gemini-3.8-flash#917
naresh4dev merged 1 commit into
mainfrom
add-gemini-3.8-flash

Conversation

@naresh4dev

Copy link
Copy Markdown
Member

Summary

  • Adds gemini-3.8-flash model config and pricing for the Google provider
  • Gemini 3.8 Flash is Google's latest GA Flash model (released Sep 2, 2026) with improvements over 3.7 Flash in software engineering, agentic tasks, and multi-step reasoning
  • Supports: chat, thinking, structured output (JSON), vision, PDF, doc, tools, audio
  • Max output: 65,536 tokens | Context window: 1,048,576 tokens

Pricing (introductory through Dec 31, 2026)

Tier Input ($/1M) Output ($/1M) Cents/token (input) Cents/token (output)
Standard PayGo $0.75 $3.75 0.000075 0.000375
Cached input $0.075 0.0000075
Batch/Flex $0.375 $1.875 0.0000375 0.0001875
Grounding (search) $14/1K queries 1.4 per query

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-flash entries — 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 JSON
  • check_duplicate_keys.py — no duplicates
  • npm run format — formatted
  • npm run lint — no errors

Files changed

  • general/google.json — added gemini-3.8-flash config entry
  • pricing/google.json — added gemini-3.8-flash-lte-128k and gemini-3.8-flash-gt-128k pricing entries

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
@naresh4dev
naresh4dev merged commit b8c8f44 into main Sep 2, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants