Files
coder/scripts
Mathias Fredriksson 9696ea01ba feat: suggest Gemini 4 Carbon, Neon, Hydrogen in the known-models catalog (#32853)
Suggest Gemini 4 Carbon, Neon, and Hydrogen when an admin adds a chat
model on Google, OpenRouter, or Vercel, newest release first, ahead of
Gemini 4 Argon. Their prices are already in the price book.

models.dev lists 32,768 output tokens for `gemini-4-carbon` on Google,
while Google documents 65,536 as the default synchronous limit, so
`overrides.jq` pins it like Argon. Neon and Hydrogen already list 65,536
upstream.

Depends on #32852, which unblocks catalog generation. Merge after
#32849: until then chatd does not recognize these models as
thinking-capable, so suggesting them would ship models with hidden
thinking.

<details>
<summary>Decision log</summary>

- **Carbon output limit.** Live requests to `gemini-4-carbon` and
`gemini-4-argon` through dogfood's AI Gateway with `max_tokens` 32,768,
65,536, and 65,537 returned 200, streaming and non-streaming; Google's
model pages document 65,536 for both.
- **Order.** Newest release first: Neon (2026-11-18), Hydrogen
(2026-11-12), Carbon (2026-11-10), then Argon.
- **No reasoning default.** Like Argon, the entries set no
`reasoningEffort`; Google's default thinking level applies.

</details>

> 🤖 Created with the help of Coder Agents.
2026-12-03 12:05:28 +02:00
..