Skip to content

chore: add Gemini 3.8 Flash to the known models catalog and price book - #28909

Merged
ibetitsmike merged 1 commit into
mainfrom
mike/gemini-3-8-flash-known-model
Sep 2, 2026
Merged

ibetitsmike merged 1 commit into
mainfrom
mike/gemini-3-8-flash-known-model

Conversation

@ibetitsmike

Copy link
Copy Markdown
Collaborator

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 /agents settings, and pick up its pricing in the AI Bridge price book.

Google released gemini-3.8-flash today (2026-09-02). models.dev already lists it, so this is a curation entry under google (sorted ahead of 3.7 Flash, which it supersedes) plus a regeneration with make gen/aibridge-prices. No override is needed, and no Go change is needed: googleSupportedThinkingLevels already treats Flash >= 3.7 as LOW/MEDIUM/HIGH, so 3.8 gets the same reasoning-effort mapping as 3.7.

File Change
scripts/aibridgepricesgen/curation.json gemini-3.8-flash under google
knownModelsGenerated.json new gemini-3.8-flash entry (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 drift
coderd/aibridge/prices/data/prices.json added google/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/... and vitest run on knownModels/ (52 tests) pass.

Companion dogfood PR enabling the model on dev.coder.com: https://github.com/coder/dogfood/pull/464

Xum opened this PR on behalf of @ibetitsmike.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-02T18:24:21.337277Z 373a671 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ibetitsmike
ibetitsmike enabled auto-merge (squash) September 2, 2026 18:31
@ibetitsmike
ibetitsmike merged commit a8f7591 into main Sep 2, 2026
49 of 51 checks passed
@ibetitsmike
ibetitsmike deleted the mike/gemini-3-8-flash-known-model branch September 2, 2026 18:35
@github-actions github-actions Bot locked and limited conversation to collaborators Sep 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants