{
"schema": 1,
"comment": "yoagent's built-in model prices, USD per million tokens, keyed by ModelConfig::provider then ModelConfig::id. A cache rate of 0 (or omitted) bills at the band's input rate. Rates are a snapshot checked against each 'source' on its 'verified' date, not an authority; tests/price_audit.rs diffs every entry against models.dev. See docs/concepts/pricing.md.",
"providers": {
"anthropic": {
"claude-fable-5": {
"input": 10.0,
"output": 50.0,
"cache_read": 1.0,
"cache_write": 12.5,
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-08-19"
},
"claude-fable-5-1": {
"input": 10.0,
"output": 50.0,
"cache_read": 0.25,
"cache_write": 12.5,
"note": "Cache hits bill at 0.025x input ($0.25), not Fable 5's 0.1x. cache_write is the 5-minute rate; the 1-hour rate ($20) is not modelled because yoagent places only 5-minute breakpoints. Verified against the raw page markup.",
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-09-24"
},
"claude-haiku-4-5": {
"input": 1.0,
"output": 5.0,
"cache_read": 0.1,
"cache_write": 1.25,
"note": "Flat: the 200K window is below any long-context band.",
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-08-19"
},
"claude-opus-4-8": {
"input": 5.0,
"output": 25.0,
"cache_read": 0.5,
"cache_write": 6.25,
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-08-19"
},
"claude-opus-5": {
"input": 5.0,
"output": 25.0,
"cache_read": 0.5,
"cache_write": 6.25,
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-08-19"
},
"claude-opus-5-5": {
"input": 4.0,
"output": 20.0,
"cache_read": 0.2,
"cache_write": 5.0,
"note": "Cache hits bill at 0.05x input ($0.20), not the usual 0.1x. cache_write is the 5-minute rate; the 1-hour rate ($8) is not modelled because yoagent places only 5-minute breakpoints. Verified against the raw page markup.",
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-09-25"
},
"claude-sonnet-5": {
"input": 2.0,
"output": 10.0,
"cache_read": 0.2,
"cache_write": 2.5,
"note": "Shipped Sonnet 4.6's $3/$15 from v0.9.0 through v0.16.5; these are Sonnet 5's own rates.",
"source": "https://platform.claude.com/docs/en/about-claude/pricing",
"verified": "2026-08-19"
}
},
"meta": {
"muse-spark-1.1": {
"input": 1.25,
"output": 4.25,
"cache_read": 0.15,
"cache_write": 1.25,
"cache_write_at_input": true,
"note": "Meta charges no cache-write premium, so writes bill at the $1.25 input rate; models.dev omits cache_write for Muse Spark. No long-context premium. The contributor tier (muse-spark-*-contributor) is priced far lower and is deliberately not listed here.",
"source": "https://dev.meta.ai/docs/pricing-rate-limits",
"verified": "2026-08-19"
},
"muse-spark-1.2": {
"input": 1.25,
"output": 4.25,
"cache_read": 0.15,
"cache_write": 1.25,
"cache_write_at_input": true,
"note": "Meta charges no cache-write premium, so writes bill at the $1.25 input rate; models.dev omits cache_write for Muse Spark. No long-context premium. The contributor tier (muse-spark-*-contributor) is priced far lower and is deliberately not listed here.",
"source": "https://dev.meta.ai/docs/pricing-rate-limits",
"verified": "2026-08-19"
}
},
"openai": {
"gpt-5.5": {
"input": 5.0,
"output": 30.0,
"cache_read": 0.5,
"cache_write": 5.0,
"tiers": [
{
"above_prompt_tokens": 272000,
"input": 10.0,
"output": 45.0,
"cache_read": 1.0,
"cache_write": 10.0
}
],
"cache_write_at_input": true,
"note": "The >272K cache_read ($1.00) is UNVERIFIED. The model page says only that \"prompts with >272K input tokens are priced at 2x input and 1.5x output for the full session\" - it names no cache rate, and the pricing page no longer lists gpt-5.5. $1.00 (2x, as the GPT-6 pages state for their cache rates) matches models.dev; the literal reading would keep $0.50. Input $10 and output $45 are stated. OpenAI charges no cache-write premium before GPT-5.6, so cache writes bill at the input rate ($5, $10 above 272K); models.dev omits cache_write for it.",
"source": "https://developers.openai.com/api/docs/models/gpt-5.5",
"verified": "2026-09-25"
},
"gpt-6-astra": {
"input": 10.0,
"output": 50.0,
"cache_read": 1.0,
"cache_write": 12.5,
"tiers": [
{
"above_prompt_tokens": 272000,
"input": 20.0,
"output": 75.0,
"cache_read": 2.0,
"cache_write": 25.0
}
],
"source": "https://developers.openai.com/api/docs/pricing",
"verified": "2026-09-25"
},
"gpt-6-luna": {
"input": 0.1,
"output": 0.5,
"cache_read": 0.01,
"cache_write": 0.125,
"tiers": [
{
"above_prompt_tokens": 272000,
"input": 0.2,
"output": 0.75,
"cache_read": 0.02,
"cache_write": 0.25
}
],
"source": "https://developers.openai.com/api/docs/pricing",
"verified": "2026-09-25"
},
"gpt-6-sol": {
"input": 2.0,
"output": 10.0,
"cache_read": 0.2,
"cache_write": 2.5,
"tiers": [
{
"above_prompt_tokens": 272000,
"input": 4.0,
"output": 15.0,
"cache_read": 0.4,
"cache_write": 5.0
}
],
"source": "https://developers.openai.com/api/docs/pricing",
"verified": "2026-09-25"
}
}
}
}