mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
- Regenerates `prices.json` from models.dev. The seeder only upserts, so existing deployments keep delisted models. - Generate the frontend known-models catalog instead of hand-writing it. `make gen/aibridge-prices` fetches models.dev once - Moved patches to model definitions to separate `overrides.jq` which handles both `claude-sonnet-4-5` 200k context and 'aliasing' Fable 5 as Mythos 5. - Editorial choices of selection, order, aliases, and reasoning defaults live in `curation.json`. - Adds golden join tests with one error case per validation, a no-network drift test comparing curation to the checked-in artifact, and pinned invariants for the Anthropic thinking-mode split (the wrong side returns HTTP 400) and the sonnet-4-5 context pin. Adding a model is now one `curation.json` entry plus `make gen/aibridge-prices`, assuming it is present on models.dev. > This PR was authored by Coder Agents on Cian's behalf. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
82 lines
1.5 KiB
JSON
82 lines
1.5 KiB
JSON
{
|
|
"openai": [
|
|
{
|
|
"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"
|
|
}
|
|
],
|
|
"anthropic": [
|
|
{
|
|
"modelIdentifier": "claude-fable-5",
|
|
"reasoningEffort": "high"
|
|
},
|
|
{
|
|
"modelIdentifier": "claude-mythos-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",
|
|
"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
|
|
}
|
|
]
|
|
}
|