Files
magpie/internal/catalog/testdata/models.dev-2026-10-27-claude.json
T
yetone f51ab771f6 catalog, provider: a model only models.dev's lab lists is known, and a Claude account lists the gated models Anthropic told its Claude Code of (iebb on Discord)
iebb on Discord (10-27): his account has Claude Mythos 5.1, magpie
doesn't list it. models.dev took the gated Mythos 5.1 out of
anthropic's provider list (models.dev #11327) and kept only its lab
file, models/anthropic/claude-mythos-5-1.toml (#11328).

Cause. magpie read only models.dev's api.json (providers -> models).
The Claude subscription's list was exactly catalog.Provider("anthropic"),
so Mythos 5.1 left it with that PR. And a vendor list that still
returns it (an Anthropic key's /v1/models) got no window, reply limit,
name or thinking for it, since nothing read the lab catalog.

Fix.
- catalog: Sync also keeps models.dev's lab catalog (models.json) as
  labs.json beside the cache, through temp+rename; a failed fetch
  keeps the last one, and a cache without it is Stale once a process.
  A model only a lab lists votes into the same tables as a listed one
  (ContextOf, OutputOf, NameOf, Thinks, SeesImages); a model a
  provider lists keeps what providers say. A thinking lab-only model
  with no levels takes those of the newest of its family a provider
  gives (labKinEfforts: Mythos 5.1 takes Mythos 5's). catalog.Describe
  builds a Model from an id for lists that name ids alone.
- provider: the Claude account's list is models.dev's anthropic list
  plus what Anthropic told the account's Claude Code beyond it, read
  from .claude.json's additionalModelOptionsCache / modelAccessCache /
  additionalModelCostsCache (Claude Code's own sign-in and each saved
  account's directory). Account.Lists honours modelAccessCache's
  entitled per account, ListPrice falls back to Anthropic's price
  from additionalModelCostsCache, and the agent's own Claude Code
  picker (claudeOwn) offers the signed-in account's extras. WSL keeps
  the catalog list. magpie still asks Anthropic nothing with a Claude
  sign-in; nothing is sent differently, no Claude Code mimicry change.
- docs/subsystems/providers-accounts.md: two rows, the lab catalog
  and a Claude account's models.

Testdata: models.dev's api.json and models.json as served on 10-27,
cut to the anthropic and azure providers' Claude models and the
anthropic lab. Tests never reach the network.

Run:
- TestLabOnlyModelIsKnown, TestLabsLeaveListedModels, TestSyncKeepsLabs,
  TestClaudeAccountListsGatedModels, TestAnthropicKeyGatedModelDescribed:
  pass.
- go test -count=1 -timeout 45m ./internal/catalog/ ./internal/provider/
  ./internal/agent/ ./internal/gateway/ at 2e165fe9d + this change:
  catalog, agent (362s), gateway (557s) ok; provider crashed in
  TestUnreadLoginsWriteErrorsKeepCredentials ("close of synctest
  channel from outside bubble" in filememo.Forget). It crashes the
  same alone on a fresh origin/main 19dc5b925 and is #3632, open.
- rebased onto origin/main 2afacd7d1 (this commit's parent): catalog
  and provider again with -skip TestUnreadLoginsWriteErrorsKeepCredentials,
  both ok. agent and gateway were not run again after the rebase.
- gofmt -l internal/: nothing. go vet for darwin, linux and windows on
  catalog, provider, agent, gateway at the rebased head: ok.
- Real use: magpie built from this tree (linux, nogui) in a golang:1.26.8
  container with a sandbox HOME, so the Mac's Keychain and ~/.claude are
  never read. `magpie sync` fetched models.dev's real catalogs today
  (api.json's anthropic has no claude-mythos-5-1; labs.json has it).
  With a fake Claude sign-in and a .claude.json whose bootstrap caches
  name claude-mythos-5-1, `magpie models` lists claude/claude-mythos-5-1
  "Mythos 5.1" low/medium/high/xhigh; `magpie model spec` gives 1M,
  128k, vision on; `magpie model price` gives $25/$125, cache read
  $2.5, write $31.25 / $50 (1h). A custom Anthropic-protocol provider
  against a fake /v1/models returning claude-mythos-5-1 lists
  fakeanth/claude-mythos-5-1 "Claude Mythos 5.1" with 1M / 128k /
  low..xhigh.

Broken by hand, each red:
- lab reading off in loadGen: every lab assertion in the catalog tests
  and the provider tests (no window, no levels, the API-key entry's
  context 0).
- syncLabs off: TestSyncKeepsLabs.
- labKinEfforts off: the efforts assertions.
- the Claude list back to catalog.Provider("anthropic"): "Claude
  account's list has no Mythos 5.1".
- claudeLists / claudeCodePrice off: the entitlement and price
  assertions.

Not tried:
- a real account with Mythos 5.1: none here. The .claude.json keys and
  shapes were read from Claude Code 2.1.311's own binary, not a real
  account's file.
- a custom Anthropic-protocol provider without catalog=anthropic gets
  no price for a lab-only model (labs carry none).
- the plugin host's mdev() (host.js) reads api.json only; Gemini CLI's
  own picker stays catalog-only; a saved Claude account whose Claude
  Code never ran has no .claude.json, so its gated models show once it
  has run there.
2026-10-27 12:16:33 +08:00

1720 lines
35 KiB
JSON

{
"anthropic": {
"doc": "https://docs.anthropic.com/en/docs/about-claude/models",
"env": [
"ANTHROPIC_API_KEY"
],
"id": "anthropic",
"models": {
"claude-fable-5": {
"attachment": true,
"cost": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"description": "Claude model for creative writing, analysis, and controlled agent workflows",
"family": "claude-fable",
"id": "claude-fable-5",
"last_updated": "2026-06-09",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Fable 5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-06-07",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-fable-5-1": {
"attachment": true,
"canonical_model_id": "anthropic/claude-fable-5-1",
"cost": {
"cache_read": 0.25,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"description": "Claude model for demanding reasoning and long-horizon agentic work",
"family": "claude-fable",
"id": "claude-fable-5-1",
"knowledge": "2026-06",
"last_updated": "2026-09-01",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Fable 5.1",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-09-01",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-haiku-4-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-haiku-4-5",
"cost": {
"cache_read": 0.1,
"cache_write": 1.25,
"input": 1,
"output": 5
},
"description": "Fast Claude lane for lightweight agents, office tasks, and responsive chat",
"family": "claude-haiku",
"id": "claude-haiku-4-5",
"knowledge": "2025-02-28",
"last_updated": "2025-10-15",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Haiku 4.5 (latest)",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-10-15",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-haiku-4-5-20251001": {
"attachment": true,
"cost": {
"cache_read": 0.1,
"cache_write": 1.25,
"input": 1,
"output": 5
},
"description": "Fast Claude model for responsive assistance, classification, and lightweight agents",
"family": "claude-haiku",
"id": "claude-haiku-4-5-20251001",
"knowledge": "2025-02-28",
"last_updated": "2025-10-15",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Haiku 4.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-10-15",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-haiku-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-haiku-5-5",
"cost": {
"cache_read": 0.01,
"cache_write": 0.125,
"input": 0.1,
"output": 0.5,
"tiers": [
{
"cache_read": 0.05,
"cache_write": 0.625,
"input": 0.5,
"output": 2.5,
"tier": {
"size": 100000,
"type": "context"
}
}
]
},
"description": "Fast Claude model for responsive assistance, classification, and lightweight agents",
"family": "claude-haiku",
"id": "claude-haiku-5-5",
"knowledge": "2026-06",
"last_updated": "2026-10-07",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Haiku 5.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "toggle"
},
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-10-07",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-4-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-4-5",
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
"family": "claude-opus",
"id": "claude-opus-4-5",
"knowledge": "2025-05",
"last_updated": "2025-11-24",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.5 (latest)",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-11-24",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-opus-4-5-20251101": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
"family": "claude-opus",
"id": "claude-opus-4-5-20251101",
"knowledge": "2025-05",
"last_updated": "2025-11-01",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-11-24",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-opus-4-6": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "High-end Claude for difficult coding, planning, and slower expert reasoning",
"family": "claude-opus",
"id": "claude-opus-4-6",
"knowledge": "2025-05-31",
"last_updated": "2026-03-13",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.6",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"max"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2026-02-04",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-opus-4-7": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Stronger Opus tier for advanced software work and high-stakes reasoning",
"family": "claude-opus",
"id": "claude-opus-4-7",
"knowledge": "2026-01-31",
"last_updated": "2026-04-16",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.7",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-04-14",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-4-8": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Top Claude Opus tier for the hardest reasoning, coding, and long-horizon agents",
"experimental": {
"modes": {
"fast": {
"cost": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"provider": {
"body": {
"speed": "fast"
},
"headers": {
"anthropic-beta": "fast-mode-2026-02-01"
}
}
}
}
},
"family": "claude-opus",
"id": "claude-opus-4-8",
"knowledge": "2026-01",
"last_updated": "2026-05-28",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.8",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-05-28",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-5",
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Strongest Claude Opus model for coding, agents, and professional work",
"experimental": {
"modes": {
"fast": {
"cost": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"provider": {
"body": {
"speed": "fast"
},
"headers": {
"anthropic-beta": "fast-mode-2026-02-01"
}
}
}
}
},
"family": "claude-opus",
"id": "claude-opus-5",
"knowledge": "2026-05",
"last_updated": "2026-07-24",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-07-24",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-5-5",
"cost": {
"cache_read": 0.2,
"cache_write": 5,
"input": 4,
"output": 20
},
"description": "Claude model for long-running agentic coding and knowledge work",
"experimental": {
"modes": {
"fast": {
"cost": {
"cache_read": 0.4,
"cache_write": 10,
"input": 8,
"output": 40
},
"provider": {
"body": {
"speed": "fast"
},
"headers": {
"anthropic-beta": "fast-mode-2026-02-01"
}
}
}
}
},
"family": "claude-opus",
"id": "claude-opus-5-5",
"knowledge": "2026-06",
"last_updated": "2026-09-22",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 5.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-09-22",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-sonnet-4-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-sonnet-4-5",
"cost": {
"cache_read": 0.3,
"cache_write": 3.75,
"input": 3,
"output": 15
},
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
"family": "claude-sonnet",
"id": "claude-sonnet-4-5",
"knowledge": "2025-07-31",
"last_updated": "2025-09-29",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 4.5 (latest)",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-09-29",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-sonnet-4-5-20250929": {
"attachment": true,
"cost": {
"cache_read": 0.3,
"cache_write": 3.75,
"input": 3,
"output": 15
},
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
"family": "claude-sonnet",
"id": "claude-sonnet-4-5-20250929",
"knowledge": "2025-07-31",
"last_updated": "2025-09-29",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 4.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-09-29",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-sonnet-4-6": {
"attachment": true,
"cost": {
"cache_read": 0.3,
"cache_write": 3.75,
"input": 3,
"output": 15
},
"description": "Claude workhorse for coding agents, careful analysis, and production cost control",
"family": "claude-sonnet",
"id": "claude-sonnet-4-6",
"knowledge": "2025-08-31",
"last_updated": "2026-03-13",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 4.6",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"max"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2026-02-17",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-sonnet-5": {
"attachment": true,
"cost": {
"cache_read": 0.2,
"cache_write": 2.5,
"input": 2,
"output": 10
},
"description": "Everyday Claude agent model for coding, planning, browsing, and general work",
"family": "claude-sonnet",
"id": "claude-sonnet-5",
"knowledge": "2026-01-31",
"last_updated": "2026-06-30",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "toggle"
},
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-06-29",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-sonnet-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-sonnet-5-5",
"cost": {
"cache_read": 0.1,
"cache_write": 2.5,
"input": 2,
"output": 10
},
"description": "Fast Claude model for everyday coding, agents, and knowledge work",
"family": "claude-sonnet",
"id": "claude-sonnet-5-5",
"knowledge": "2026-06",
"last_updated": "2026-09-28",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 5.5",
"open_weights": false,
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-09-28",
"structured_output": true,
"temperature": false,
"tool_call": true
}
},
"name": "Anthropic",
"npm": "@ai-sdk/anthropic"
},
"azure": {
"doc": "https://learn.microsoft.com/en-us/azure/ai-services/openai/concepts/models",
"env": [
"AZURE_RESOURCE_NAME",
"AZURE_API_KEY"
],
"id": "azure",
"models": {
"claude-fable-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-fable-5",
"cost": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"description": "Claude model for creative writing, analysis, and controlled agent workflows",
"family": "claude-fable",
"id": "claude-fable-5",
"knowledge": "2026-01-31",
"last_updated": "2026-06-09",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Fable 5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh"
]
}
],
"release_date": "2026-06-09",
"status": "beta",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-fable-5-1": {
"attachment": true,
"canonical_model_id": "anthropic/claude-fable-5-1",
"cost": {
"cache_read": 0.25,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"description": "Claude model for demanding reasoning and long-horizon agentic work",
"family": "claude-fable",
"id": "claude-fable-5-1",
"knowledge": "2026-06",
"last_updated": "2026-09-01",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Fable 5.1",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh"
]
}
],
"release_date": "2026-09-01",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-haiku-4-5": {
"attachment": true,
"cost": {
"cache_read": 0.1,
"cache_write": 1.25,
"input": 1,
"output": 5
},
"description": "Fast Claude model for responsive assistance, classification, and lightweight agents",
"family": "claude-haiku",
"id": "claude-haiku-4-5",
"knowledge": "2025-02-28",
"last_updated": "2025-11-18",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Haiku 4.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-11-18",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-haiku-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-haiku-5-5",
"cost": {
"cache_read": 0.01,
"cache_write": 0.125,
"input": 0.1,
"output": 0.5,
"tiers": [
{
"cache_read": 0.05,
"cache_write": 0.625,
"input": 0.5,
"output": 2.5,
"tier": {
"size": 100000,
"type": "context"
}
}
]
},
"description": "Fast Claude model for responsive assistance, classification, and lightweight agents",
"family": "claude-haiku",
"id": "claude-haiku-5-5",
"knowledge": "2026-06",
"last_updated": "2026-10-07",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Haiku 5.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "toggle"
},
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-10-07",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-mythos-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-mythos-5",
"cost": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 50
},
"description": "Restricted Claude model for advanced cybersecurity and biology research workflows",
"family": "claude-mythos",
"id": "claude-mythos-5",
"knowledge": "2026-01-31",
"last_updated": "2026-06-09",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Mythos 5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh"
]
}
],
"release_date": "2026-06-09",
"status": "beta",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-4-5": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
"family": "claude-opus",
"id": "claude-opus-4-5",
"knowledge": "2025-03-31",
"last_updated": "2025-08-01",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-11-24",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-opus-4-6": {
"attachment": true,
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"context_over_200k": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 37.5
},
"input": 5,
"output": 25,
"tiers": [
{
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 37.5,
"tier": {
"size": 200000,
"type": "context"
}
}
]
},
"description": "Flagship Claude model for deep reasoning, coding, and long-horizon agents",
"family": "claude-opus",
"id": "claude-opus-4-6",
"knowledge": "2025-05-31",
"last_updated": "2026-07-17",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.6",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"max"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2026-02-05",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-opus-4-7": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-4-7",
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Stronger Opus tier for advanced software work and high-stakes reasoning",
"family": "claude-opus",
"id": "claude-opus-4-7",
"knowledge": "2026-01-31",
"last_updated": "2026-04-16",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.7",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-04-16",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-4-8": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-4-8",
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"context_over_200k": {
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 37.5
},
"input": 5,
"output": 25,
"tiers": [
{
"cache_read": 1,
"cache_write": 12.5,
"input": 10,
"output": 37.5,
"tier": {
"size": 200000,
"type": "context"
}
}
]
},
"description": "Top Claude Opus tier for the hardest reasoning, coding, and long-horizon agents",
"family": "claude-opus",
"id": "claude-opus-4-8",
"knowledge": "2025-12-31",
"last_updated": "2026-05-28",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 4.8",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-05-28",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-5",
"cost": {
"cache_read": 0.5,
"cache_write": 6.25,
"input": 5,
"output": 25
},
"description": "Strongest Claude Opus model for coding, agents, and professional work",
"family": "claude-opus",
"id": "claude-opus-5",
"knowledge": "2026-05",
"last_updated": "2026-07-24",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-07-24",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-opus-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-opus-5-5",
"cost": {
"cache_read": 0.2,
"cache_write": 5,
"input": 4,
"output": 20
},
"description": "Claude model for long-running agentic coding and knowledge work",
"family": "claude-opus",
"id": "claude-opus-5-5",
"knowledge": "2026-06",
"last_updated": "2026-09-22",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Opus 5.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-09-22",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-sonnet-4-5": {
"attachment": true,
"cost": {
"cache_read": 0.3,
"cache_write": 3.75,
"input": 3,
"output": 15
},
"description": "Balanced Claude model for coding, analysis, agent workflows, and cost control",
"family": "claude-sonnet",
"id": "claude-sonnet-4-5",
"knowledge": "2025-07-31",
"last_updated": "2025-11-18",
"limit": {
"context": 200000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 4.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2025-11-18",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-sonnet-4-6": {
"attachment": true,
"canonical_model_id": "anthropic/claude-sonnet-4-6",
"cost": {
"cache_read": 0.3,
"cache_write": 3.75,
"input": 3,
"output": 15
},
"description": "Claude workhorse for coding agents, careful analysis, and production cost control",
"family": "claude-sonnet",
"id": "claude-sonnet-4-6",
"knowledge": "2025-08-31",
"last_updated": "2026-03-13",
"limit": {
"context": 1000000,
"output": 64000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 4.6",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"max"
]
},
{
"min": 1024,
"type": "budget_tokens"
}
],
"release_date": "2026-02-17",
"structured_output": true,
"temperature": true,
"tool_call": true
},
"claude-sonnet-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-sonnet-5",
"cost": {
"cache_read": 0.2,
"cache_write": 2.5,
"input": 2,
"output": 10
},
"description": "Everyday Claude agent model for coding, planning, browsing, and general work",
"family": "claude-sonnet",
"id": "claude-sonnet-5",
"knowledge": "2026-01-31",
"last_updated": "2026-06-30",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "toggle"
},
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-06-30",
"structured_output": true,
"temperature": false,
"tool_call": true
},
"claude-sonnet-5-5": {
"attachment": true,
"canonical_model_id": "anthropic/claude-sonnet-5-5",
"cost": {
"cache_read": 0.2,
"cache_write": 2.5,
"input": 2,
"output": 10
},
"description": "Fast Claude model for everyday coding, agents, and knowledge work",
"family": "claude-sonnet",
"id": "claude-sonnet-5-5",
"knowledge": "2026-06",
"last_updated": "2026-09-28",
"limit": {
"context": 1000000,
"output": 128000
},
"modalities": {
"input": [
"text",
"image",
"pdf"
],
"output": [
"text"
]
},
"name": "Claude Sonnet 5.5",
"open_weights": false,
"provider": {
"api": "https://${AZURE_RESOURCE_NAME}.services.ai.azure.com/anthropic/v1",
"npm": "@ai-sdk/anthropic"
},
"reasoning": true,
"reasoning_options": [
{
"type": "effort",
"values": [
"low",
"medium",
"high",
"xhigh",
"max"
]
}
],
"release_date": "2026-09-28",
"structured_output": true,
"temperature": false,
"tool_call": true
}
},
"name": "Azure",
"npm": "@ai-sdk/azure"
}
}