Repository navigation
fix: Update Claude Sonnet 5.5 pricing - #9035
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Updates first-party Claude Sonnet 5.5 cache-read pricing from
$0.20to$0.10/ MTok, matching the reported 50% drop.Changes
providers/anthropic/models/claude-sonnet-5-5.toml:[cost] cache_read:0.2→0.1https://platform.claude.com/docs/en/about-claude/pricingandhttps://www.anthropic.com/pricinginput = 2,output = 10,cache_write = 2.5,reasoning_optionsunchanged).Evidence
https://www.anthropic.com/pricing— Latest models section lists Sonnet 5.5 as Input$2/ MTok, Output$10/ MTok, Prompt caching Read$0.10/ MTok, Write$2.50/ MTok. Establishes new$0.10cache-read price.https://platform.claude.com/docs/en/about-claude/pricing— Prompt caching section states: “Cache read (hit) 0.1x base input price (0.025x on Claude Fable 5.1 and Claude Mythos 5.1; 0.05x on Claude Opus 5.5 and Claude Sonnet 5.5)” and “On Claude Opus 5.5 and Claude Sonnet 5.5, a cache hit costs 5% … ($0.20 USD per million tokens on Claude Opus 5.5, $0.10 USD on Claude Sonnet 5.5).” Establishes$0.10 = 5% × $2for Sonnet 5.5.https://platform.claude.com/docs/en/models/sonnet-5-5/overview— Still shows Cache read$0.20/ MTok in its Pricing table. Not used as evidence for the change; noted as stale/inconsistent below.Validation
models/anthropic/claude-sonnet-5-5.tomlto confirm lab file carries nocost(cost lives on provider files, so no lab edit needed).providers/anthropic/models/claude-sonnet-5-5.toml; verified edit preservedbase_model,reasoning_options, and othercostkeys.bun validateor any shell commands.Review notes
/about-claude/pricingandanthropic.com/pricingsay$0.10, while the model-pricing table on the same/about-claude/pricingpage and the/models/sonnet-5-5/overviewpage still say$0.20. I followed the more specific multiplier text + marketing pricing page and the issue report.cache_read = 0.2entries on relays/cloud hosts (OpenRouter, Bedrockglobal./us./eu./anthropic., Vertex, Vercel, Azure, etc.). Each host needs its own authoritative pricing verification before changing; e.g. OpenRouter still lists$0.20cache read.Closes #9034
Automated by the issue fixer: https://github.com/anomalyco/models.dev/actions/runs/37672239138