Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ site/src/api/typesGenerated.ts linguist-generated=true

# AI Gateway prices
coderd/aibridge/prices/data/prices.json linguist-generated=true
site/src/pages/AgentsPage/components/ChatModelAdminPanel/knownModels/knownModelsGenerated.json linguist-generated=true
209 changes: 186 additions & 23 deletions scripts/aibridgepricesgen/curation.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,115 @@
{
"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
}
],
"azure": [
{
"modelIdentifier": "claude-fable-5"
},
{
"modelIdentifier": "claude-opus-5"
},
{
"modelIdentifier": "claude-sonnet-5"
},
{
"modelIdentifier": "claude-opus-4-8"
},
{
"modelIdentifier": "claude-sonnet-4-6"
},
{
"modelIdentifier": "claude-haiku-4-5"
},
{
"modelIdentifier": "gpt-5.6-sol"
},
{
"modelIdentifier": "gpt-5.6-terra"
},
{
"modelIdentifier": "gpt-5.6-luna"
},
{
"modelIdentifier": "gpt-5.5"
},
{
"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": "anthropic.claude-sonnet-5",
"aliases": ["global.anthropic.claude-sonnet-5"]
},
{
"modelIdentifier": "anthropic.claude-opus-5",
"aliases": ["global.anthropic.claude-opus-5"]
},
{
"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"]
}
],
"google": [
{
"modelIdentifier": "gemini-flash-latest"
},
{
"modelIdentifier": "gemini-3.6-flash"
}
],
"openai": [
{
"modelIdentifier": "gpt-5.6-sol",
Expand Down Expand Up @@ -36,46 +147,98 @@
"reasoningEffort": "medium"
}
],
"anthropic": [
"openrouter": [
{
"modelIdentifier": "claude-fable-5",
"reasoningEffort": "high"
"modelIdentifier": "openai/gpt-5.6-sol"
},
{
"modelIdentifier": "claude-mythos-5",
"reasoningEffort": "high"
"modelIdentifier": "openai/gpt-5.6-terra"
},
{
"modelIdentifier": "claude-opus-4-8",
"reasoningEffort": "high"
"modelIdentifier": "openai/gpt-5.6-luna"
},
{
"modelIdentifier": "claude-opus-4-7",
"reasoningEffort": "high"
"modelIdentifier": "openai/gpt-oss-120b"
},
{
"modelIdentifier": "claude-opus-4-6",
"reasoningEffort": "high"
"modelIdentifier": "moonshotai/kimi-k3"
},
{
"modelIdentifier": "claude-sonnet-5",
"reasoningEffort": "high"
"modelIdentifier": "z-ai/glm-5.2"
},
{
"modelIdentifier": "claude-sonnet-4-6",
"reasoningEffort": "medium"
"modelIdentifier": "anthropic/claude-fable-5"
},
{
"modelIdentifier": "claude-haiku-4-5",
"aliases": ["claude-haiku-4-5-20251001"],
"displayName": "Claude Haiku 4.5",
"thinkingBudgetTokens": 8192
"modelIdentifier": "anthropic/claude-opus-5"
},
{
"modelIdentifier": "claude-sonnet-4-5",
"aliases": ["claude-sonnet-4-5-20250929"],
"displayName": "Claude Sonnet 4.5",
"thinkingBudgetTokens": 8192
"modelIdentifier": "anthropic/claude-sonnet-5"
},
{
"modelIdentifier": "anthropic/claude-opus-4.8"
},
{
"modelIdentifier": "anthropic/claude-sonnet-4.6"
},
{
"modelIdentifier": "anthropic/claude-haiku-4.5"
},
{
"modelIdentifier": "deepseek/deepseek-v4-flash"
},
{
"modelIdentifier": "deepseek/deepseek-v4-pro"
},
{
"modelIdentifier": "qwen/qwen3.8-max"
},
{
"modelIdentifier": "qwen/qwen3-coder-next"
}
],
"vercel": [
{
"modelIdentifier": "openai/gpt-5.6-sol"
},
{
"modelIdentifier": "openai/gpt-5.6-terra"
},
{
"modelIdentifier": "openai/gpt-5.6-luna"
},
{
"modelIdentifier": "openai/gpt-oss-120b"
},
{
"modelIdentifier": "moonshotai/kimi-k3"
},
{
"modelIdentifier": "zai/glm-5.2"
},
{
"modelIdentifier": "anthropic/claude-fable-5"
},
{
"modelIdentifier": "anthropic/claude-opus-5"
},
{
"modelIdentifier": "anthropic/claude-sonnet-5"
},
{
"modelIdentifier": "anthropic/claude-opus-4.8"
},
{
"modelIdentifier": "anthropic/claude-sonnet-4.6"
},
{
"modelIdentifier": "anthropic/claude-haiku-4.5"
},
{
"modelIdentifier": "deepseek/deepseek-v4-flash"
},
{
"modelIdentifier": "deepseek/deepseek-v4-pro"
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe("formatContextBadge", () => {

describe("getKnownModelsForProvider", () => {
it("returns unsupported provider as an empty list", () => {
expect(getKnownModelsForProvider("azure")).toEqual([]);
expect(getKnownModelsForProvider("openai-compat")).toEqual([]);
});

it("returns empty provider as an empty list", () => {
Expand Down
Loading
Loading