Repository navigation
Conversation
…0.10/MTok Anthropic prices cache hits on Claude Sonnet 5.5 at 0.05x base input ($0.10/MTok on $2/MTok input) and Claude in Microsoft Foundry bills at the same standard per-model rates. The anthropic, vertex_ai, bedrock and bedrock_mantle entries were lowered to 1e-07 on 2026-10-07 (BerriAI#45113, BerriAI#45217, BerriAI#45216, BerriAI#45223), but azure_ai/claude-sonnet-5-5 was left at the launch value of 2e-07, so cost tracking over-bills cached input 2x. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
divieira
requested review from
joshua-berri,
kerry-berri,
mateo-berri and
ryan-crabbe-berri
as code owners
October 28, 2026 12:19
Contributor
Merging this PR will not alter performance1 warning
Comparing Footnotes |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
3 of 6 tasks
Contributor
|
Registry disposition is recorded in #48188. The cache-read correction already matches the rolling branch and was independently reverified |
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.
What
Sets `cache_read_input_token_cost` for `azure_ai/claude-sonnet-5-5` from `2e-07` to `1e-07`, in both `model_prices_and_context_window.json` and `litellm/model_prices_and_context_window_backup.json`.
Why
Not changed
`perplexity/anthropic/claude-sonnet-5-5` also has `2e-07`; that is Perplexity's own pricing, so I left it alone.
Only a price value changes in the cost map; both JSON files still parse.
🤖 Generated with Claude Code