chore: add Gemini 3.8 Flash to the known models catalog and price book - #28909
Merged
Merged
Conversation
ibetitsmike
requested review from
evgeniy-scherbina,
johnstcn and
ssncferreira
as code owners
September 2, 2026 18:21
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
evgeniy-scherbina
approved these changes
Sep 2, 2026
ThomasK33
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Add Gemini 3.8 Flash to the Agents-page known models list so it appears as a suggestion when an admin adds a chat model in
/agentssettings, and pick up its pricing in the AI Bridge price book.Google released
gemini-3.8-flashtoday (2026-09-02). models.dev already lists it, so this is a curation entry undergoogle(sorted ahead of 3.7 Flash, which it supersedes) plus a regeneration withmake gen/aibridge-prices. No override is needed, and no Go change is needed:googleSupportedThinkingLevelsalready treats Flash >= 3.7 as LOW/MEDIUM/HIGH, so 3.8 gets the same reasoning-effort mapping as 3.7.scripts/aibridgepricesgen/curation.jsongemini-3.8-flashundergoogleknownModelsGenerated.jsongemini-3.8-flashentry (1,048,576 context, 65,536 max output, $0.75 / $3.75 / $0.075 cache read per 1M tokens); the GLM 5.2 and two DeepSeek openrouter rows are upstream driftcoderd/aibridge/prices/data/prices.jsongoogle/gemini-3.8-flash,openrouter/google/gemini-3.8-flash,openrouter/~z-ai/glm-flash-latest; 8 openrouter rows repriced upstream since the last refresh (deepseek-chat-v3.1, deepseek-v4-flash, deepseek-v4-pro, nemotron-3-ultra-550b-a55b, qwen3.8-2.4t-a95b, z-ai/glm-5.2, ~deepseek/deepseek-v4-flash-latest, ~z-ai/glm-latest)Vercel does not list Gemini 3.8 Flash upstream yet, and openrouter/vercel have no Gemini curation entries today, so the catalog change is google-only, matching how 3.6 and 3.7 Flash were added.
Validation:
go test ./scripts/aibridgepricesgen/... ./coderd/aibridge/prices/...andvitest runonknownModels/(52 tests) pass.Companion dogfood PR enabling the model on dev.coder.com: https://github.com/coder/dogfood/pull/464