Skip to content

fix(cost-map): lower azure_ai claude-sonnet-5-5 cache read price to $0.10/MTok - #48826

Closed
divieira wants to merge 1 commit into
BerriAI:mainfrom
divieira:fix/azure-ai-claude-sonnet-5-5-cache-read
Closed

divieira wants to merge 1 commit into
BerriAI:mainfrom
divieira:fix/azure-ai-claude-sonnet-5-5-cache-read

Conversation

@divieira

Copy link
Copy Markdown

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

…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>
@codspeed

codspeed Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

1 warning

⚠️ 1 benchmark is dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 35 untouched benchmarks


Comparing divieira:fix/azure-ai-claude-sonnet-5-5-cache-read (da0240e) with main (8e2e996)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (940b865) during the generation of this report, so 8e2e996 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@codecov

codecov Bot commented Oct 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Registry disposition is recorded in #48188. The cache-read correction already matches the rolling branch and was independently reverified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant