Add Claude Sonnet 5.5 and GPT-6.1 Sol to the Agents known models
catalog, so they appear as suggestions when an admin adds a chat model,
and regenerate the AI Gateway price book from models.dev.
| Model | Added to |
|---|---|
| Claude Sonnet 5.5 | anthropic (`reasoningEffort: high`), azure,
bedrock (`global.anthropic.claude-sonnet-5-5`), openrouter, vercel |
| GPT-6.1 Sol | openai (`reasoningEffort: medium`), azure, openrouter,
vercel |
**Bedrock.** bedrock-runtime serves Sonnet 5.5 only through its global
inference profile, so the catalog curates the `global.` ID without a
bare alias: fantasy's Bedrock client prefixes a bare `anthropic.*` ID
with a regional profile (`us.`, `eu.`, `apac.`) that this model lacks.
bedrock-mantle takes the bare ID and the gateway looks prices up by
exact provider and model, so `overrides.jq` injects the bare ID as a
copy of the global price entry. The two GPT Daybreak alias injections
are gone: models.dev now lists both aliases, and their guards error out
once it does.
**Reasoning effort.** Sonnet 5.5 rejects the `thinking: {"type":
"disabled"}` that fantasy sends for effort `none`, and GPT-6.1 Sol
rejects `none` outright, both with HTTP 400. `applyReasoningEffort` now
maps `none` to `low` for Sonnet 5.5 on the Anthropic and Bedrock
providers, next to the Opus 5.5 clamp, and maps `none` and `minimal` to
`low` for GPT-6.1 Sol on OpenAI and Azure through a new
`chatopenai.IsGPT61Sol`, next to the GPT-6 Astra clamp. GPT-6 Sol
accepts `none` and stays unclamped; the test pins that. AI Gateway's
Bedrock adaptive-thinking allowlist already matched Sonnet 5.5 through
its `anthropic.claude-sonnet-5` substring; a table case now covers it.
**Price book drift.** `prices.json` includes every model of its 8
providers, so the regeneration also brings in upstream changes since the
last refresh: 28 new entries (such as Grok 4.7 on Bedrock and Mistral
Large 2512 on OpenRouter), 7 entries models.dev delisted (mostly free
variants on OpenRouter and Vercel), and 49 price changes (39 OpenRouter,
10 Vercel). Other uncurated upstream models, such as `-pro` and `-fast`
variants and `openai.*` on Bedrock, stay out of the catalog, matching
how earlier releases were curated.
The Reasoning effort section of `coderd/x/chatd/ARCHITECTURE.md`
documents only the GPT-6 Astra clamp and should gain Sonnet 5.5 and
GPT-6.1 Sol. That doc edit is left to a human author.
Validation: regenerating from a fresh models.dev fetch reproduces both
generated files byte for byte. Go tests pass for
`scripts/aibridgepricesgen`, `coderd/aibridge/prices`,
`coderd/x/chatd/chatprovider`, `coderd/x/chatd/chatopenai`, and
`aibridge/intercept/messages`. Removing either clamp with `go test
-overlay` fails the new cases on exactly the Sonnet 5.5 and GPT-6.1 Sol
inputs. Vitest passes for `src/modules/aiModels` (176 tests) and the
Models and Coder Agents settings pages (24 tests). The pre-commit hook
passed; local pre-push checks were skipped, so CI is the first full run.
Review record: no reviews yet. No remote UAT was run; the tested head is
`78abe17e69d`.
> Xum opened this PR on behalf of @ibetitsmike.
478 lines
8.8 KiB
JSON
478 lines
8.8 KiB
JSON
{
|
|
"anthropic": [
|
|
{
|
|
"modelIdentifier": "claude-fable-5-1",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-mythos-5-1",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-fable-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-mythos-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-5-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-4-8",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-4-7",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-4-6",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-5-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-4-6",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-haiku-4-5",
|
|
"aliases": ["claude-haiku-4-5-20251001"],
|
|
"displayName": "Claude Haiku 4.5",
|
|
"thinkingBudgetTokens": 8192
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-4-5",
|
|
"aliases": ["claude-sonnet-4-5-20250929"],
|
|
"displayName": "Claude Sonnet 4.5",
|
|
"thinkingBudgetTokens": 8192
|
|
}
|
|
],
|
|
"azure": [
|
|
{
|
|
"modelIdentifier": "claude-fable-5-1"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-fable-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-mythos-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-5-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-5-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-4-8"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-opus-4-7"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-sonnet-4-6"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-haiku-4-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6-astra"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6.1-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-terra"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.4"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.4-mini"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.3-codex"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek-v4-flash"
|
|
}
|
|
],
|
|
"bedrock": [
|
|
{
|
|
"modelIdentifier": "anthropic.claude-haiku-4-5-20251001-v1:0",
|
|
"aliases": ["global.anthropic.claude-haiku-4-5-20251001-v1:0"]
|
|
},
|
|
{
|
|
"modelIdentifier": "global.anthropic.claude-sonnet-5-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-sonnet-5",
|
|
"aliases": ["global.anthropic.claude-sonnet-5"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-opus-5-5",
|
|
"aliases": ["global.anthropic.claude-opus-5-5"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-opus-5",
|
|
"aliases": ["global.anthropic.claude-opus-5"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-fable-5-1",
|
|
"aliases": ["global.anthropic.claude-fable-5-1"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-fable-5",
|
|
"aliases": ["global.anthropic.claude-fable-5"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-sonnet-4-6",
|
|
"aliases": ["global.anthropic.claude-sonnet-4-6"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-opus-4-8",
|
|
"aliases": ["global.anthropic.claude-opus-4-8"]
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic.claude-opus-4-7",
|
|
"aliases": ["global.anthropic.claude-opus-4-7"]
|
|
}
|
|
],
|
|
"google": [
|
|
{
|
|
"modelIdentifier": "gemini-flash-latest"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-3.8-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-3.7-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-3.6-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-3.1-pro-preview"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-flash-lite-latest"
|
|
},
|
|
{
|
|
"modelIdentifier": "gemini-3.5-flash-lite"
|
|
}
|
|
],
|
|
"openai": [
|
|
{
|
|
"modelIdentifier": "gpt-6-astra",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6.1-sol",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6-sol",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-6-luna",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-sol",
|
|
"aliases": ["gpt-5.6"],
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-terra",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.6-luna",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.5",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.5-pro",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.4"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.4-mini",
|
|
"reasoningEffort": "medium"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.4-nano"
|
|
},
|
|
{
|
|
"modelIdentifier": "gpt-5.3-codex",
|
|
"reasoningEffort": "medium"
|
|
}
|
|
],
|
|
"openrouter": [
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-astra"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6.1-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-terra"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.4-mini"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-oss-120b"
|
|
},
|
|
{
|
|
"modelIdentifier": "moonshotai/kimi-k3"
|
|
},
|
|
{
|
|
"modelIdentifier": "moonshotai/kimi-k2.7-code"
|
|
},
|
|
{
|
|
"modelIdentifier": "z-ai/glm-5.3"
|
|
},
|
|
{
|
|
"modelIdentifier": "z-ai/glm-5.3-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "z-ai/glm-5.2"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-fable-5.1"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-fable-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-4.8"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-4.7"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-4.6"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-haiku-4.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.8-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.7-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.6-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4.1-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4-pro"
|
|
},
|
|
{
|
|
"modelIdentifier": "qwen/qwen3.8-max-0902",
|
|
"displayName": "Qwen3.8 Max"
|
|
},
|
|
{
|
|
"modelIdentifier": "qwen/qwen3.8-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "qwen/qwen3-coder-next"
|
|
},
|
|
{
|
|
"modelIdentifier": "x-ai/grok-4.7"
|
|
},
|
|
{
|
|
"modelIdentifier": "x-ai/grok-4.6"
|
|
},
|
|
{
|
|
"modelIdentifier": "minimax/minimax-m3"
|
|
}
|
|
],
|
|
"vercel": [
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-astra"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6.1-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-sol"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-terra"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.6-luna"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-5.4-mini"
|
|
},
|
|
{
|
|
"modelIdentifier": "openai/gpt-oss-120b"
|
|
},
|
|
{
|
|
"modelIdentifier": "moonshotai/kimi-k3"
|
|
},
|
|
{
|
|
"modelIdentifier": "moonshotai/kimi-k2.7-code"
|
|
},
|
|
{
|
|
"modelIdentifier": "zai/glm-5.3"
|
|
},
|
|
{
|
|
"modelIdentifier": "zai/glm-5.3-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "zai/glm-5.2"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-fable-5.1"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-fable-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-5.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-5"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-4.8"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-opus-4.7"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-sonnet-4.6"
|
|
},
|
|
{
|
|
"modelIdentifier": "anthropic/claude-haiku-4.5"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.8-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.7-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "google/gemini-3.6-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4.1-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "deepseek/deepseek-v4-pro"
|
|
},
|
|
{
|
|
"modelIdentifier": "alibaba/qwen3.8-max-0902",
|
|
"displayName": "Qwen3.8 Max"
|
|
},
|
|
{
|
|
"modelIdentifier": "alibaba/qwen3.8-flash"
|
|
},
|
|
{
|
|
"modelIdentifier": "spacexai/grok-4.7"
|
|
},
|
|
{
|
|
"modelIdentifier": "spacexai/grok-4.6"
|
|
},
|
|
{
|
|
"modelIdentifier": "minimax/minimax-m3"
|
|
}
|
|
]
|
|
}
|