Skip to content

fix(provider): add Gemini 3.8, 3.7, 3.6 Flash and 3.5 Flash-Lite models - #3868

Open
hz-xiaxz wants to merge 2 commits into
tailcallhq:mainfrom
hz-xiaxz:fix/gemini-3.8-flash-models
Open

fix(provider): add Gemini 3.8, 3.7, 3.6 Flash and 3.5 Flash-Lite models#3868
hz-xiaxz wants to merge 2 commits into
tailcallhq:mainfrom
hz-xiaxz:fix/gemini-3.8-flash-models

Conversation

@hz-xiaxz

@hz-xiaxz hz-xiaxz commented Sep 7, 2026

Copy link
Copy Markdown

Summary

Add the Gemini Flash models Google released between July and September 2026 so they can be selected with :model on the vertex_ai and google_ai_studio providers:

  • gemini-3.8-flash (released 2026-09-02)
  • gemini-3.7-flash (released 2026-08-13)
  • gemini-3.6-flash (released 2026-07-21)
  • gemini-3.5-flash-lite (released 2026-07-21)

This is additive only. No existing model entries are removed or changed, per the feedback on #3748.

Changes

  • crates/forge_repo/src/provider/provider.json: add the four models to the vertex_ai and google_ai_studio model lists, placed next to the existing gemini-3.5-flash entry.
  • vertex.json: add the same four models with the google/ prefix.

All entries use the same shape as gemini-3.5-flash: context_length 1048576, tools and parallel tool calls supported, reasoning supported, text + image input. Token limits and capabilities were taken from the Gemini API model pages:

Model Input tokens Output tokens Function calling Thinking
gemini-3.8-flash 1,048,576 65,536 yes yes
gemini-3.7-flash 1,048,576 65,536 yes yes
gemini-3.6-flash 1,048,576 65,536 yes yes
gemini-3.5-flash-lite 1,048,576 65,536 yes yes

Not included

gemini-3.5-flash-cyber and gemini-3.8-flash-cyber are only available through Google's limited-access Fairwind program and are not listed in the public Gemini API model catalog, so they are left out.

Testing

cargo test -p forge_repo

Both JSON files were also parsed with a script to confirm they are valid and contain no duplicate model ids within a provider.

Related

Supersedes #3780 (closed by the stale bot). Fixes #3779.

🤖 Generated with Claude Code

Add the four Gemini models Google released between July and September
2026 to the vertex_ai and google_ai_studio providers, and to vertex.json:

- gemini-3.8-flash
- gemini-3.7-flash
- gemini-3.6-flash
- gemini-3.5-flash-lite

All four expose a 1,048,576-token input window and support function
calling and thinking, matching the existing gemini-3.5-flash entry.
The Flash Cyber variants are intentionally left out because they are
only available through Google's limited-access Fairwind program.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@CLAassistant

CLAassistant commented Sep 7, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@github-actions github-actions Bot added type: fix Iterations on existing features or infrastructure. type: provider Updates provider.json configuration. labels Sep 7, 2026
@github-actions

Copy link
Copy Markdown

Action required: PR inactive for 5 days.
Status update or closure in 10 days.

@github-actions github-actions Bot added the state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. label Sep 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

state: inactive No current action needed/possible; issue fixed, out of scope, or superseded. type: fix Iterations on existing features or infrastructure. type: provider Updates provider.json configuration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Add support for Gemini 3.6 Flash, 3.5 Flash-Lite, and 3.5 Flash Cyber

2 participants