Skip to content

fix(cost-map): lower azure_ai claude-sonnet-5-5 cache read price - #48037

Closed
Aasif-Simpplr wants to merge 1 commit into
BerriAI:mainfrom
Aasif-Simpplr:fix-azure-ai-sonnet-5-5-cache-read
Closed

Aasif-Simpplr wants to merge 1 commit into
BerriAI:mainfrom
Aasif-Simpplr:fix-azure-ai-sonnet-5-5-cache-read

Conversation

@Aasif-Simpplr

Copy link
Copy Markdown
Contributor

Anthropic cut Claude Sonnet 5.5 cache reads to 0.05x base input ($0.10/MTok) on 2026-10-07. The anthropic and vertex_ai rows were updated in #45113 and #45217; the azure_ai row still charges $0.20. Claude in Microsoft Foundry is billed at Anthropic's standard rates.

Anthropic cut Claude Sonnet 5.5 cache reads to 0.05x base input
($0.10/MTok) on 2026-10-07. The anthropic and vertex_ai rows were
updated in BerriAI#45113 and BerriAI#45217; the azure_ai row still charges $0.20.
Claude in Microsoft Foundry is billed at Anthropic's standard rates.
@codspeed

codspeed Bot commented Oct 23, 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 Aasif-Simpplr:fix-azure-ai-sonnet-5-5-cache-read (37e504a) with main (f2118fc)

Open in CodSpeed

@codecov

codecov Bot commented Oct 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@Aasif-Simpplr

Copy link
Copy Markdown
Contributor Author

Sure, here are the sources

  1. Sonnet 5.5 cache hits are 0.05x base input, so $0.10/MTok on a $2 base: https://platform.claude.com/docs/en/about-claude/pricing#model-pricing (footnote 2) and the prompt caching section on the same page: "$0.10 USD on Claude Sonnet 5.5"
  2. Claude in Microsoft Foundry is billed at the same per-model, per-feature rates as the Claude API, converted to CCUs at $0.01 each: https://platform.claude.com/docs/en/about-claude/pricing#claude-in-microsoft-foundry-pricing ("Token usage rated in USD at standard per-model, per-feature rates (same as Claude API pricing)")

The anthropic and vertex_ai rows already carry 1e-07 after #45113 and #45217, so this just brings azure_ai/claude-sonnet-5-5 in line. The live before/after against a Foundry deployment is in the PR description

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Thanks, your Azure AI Claude Sonnet 5.5 cache-read price is included in rolling registry PR #48188, verified against Anthropic's Foundry pricing docs

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