Skip to content

fix(cost-map): lower anthropic claude-sonnet-5-5 cache read price - #45113

Merged
kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-anthropic
Oct 7, 2026
Merged

kerry-berri merged 1 commit into
mainfrom
litellm-providers/price-sync-anthropic

Conversation

@berriai-litellm-provider-info-sync

@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Lowers the claude-sonnet-5-5 cache read price per the October 7, 2026 release note. The prices API returned no structured rows for anthropic (structured: false), so the values below are kind page, fetched raw from platform.claude.com

claude-haiku-5-5 (held back)

claude-haiku-5-5 is left out of this PR. Its prices change at a 100k prompt threshold ("Claude Haiku 5.5 is priced by prompt length: a prompt of over 100,000 tokens pays higher prices"), and the catalog cannot carry that tier today: the cost map schema test rejects *_above_100k_tokens fields and get_model_info does not pass them through, so a row with only the lower tier would undercharge long prompts. The row waits on a decision about adding 100k tier support

claude-sonnet-5-5 (changed, kind page)

Field Old New Evidence
cache_read_input_token_cost 2e-07 1e-07 Release notes, October 7, 2026: "We've lowered the price of prompt cache reads on Claude Sonnet 5.5 from $0.20 USD to $0.10 USD per million tokens: 0.05x the base input price instead of 0.1x. Cache writes and all other prices are unchanged"; pricing page: "a cache hit costs 5% of the standard input price ($0.20 USD per million tokens on Claude Opus 5.5, $0.10 USD on Claude Sonnet 5.5)"
cache_read_input_token_cost_batches 1e-07 5e-08 50% of the new cache read rate, Batch API discount stacks with caching multipliers

The Model pricing table on the pricing page still shows "$0.20 / MTok" in the Sonnet 5.5 cache hits cell, so that cell has not caught up with the release note and the multiplier sentence

Delisted by the provider

claude-haiku-4-5, claude-opus-4-5, claude-sonnet-4-5 are alias keys; /v1/models lists the dated ids claude-haiku-4-5-20251001, claude-opus-4-5-20251101 and claude-sonnet-4-5-20250929 instead, so this is a naming mismatch, not a delisting. claude-sonnet-4-5 already carries deprecation_date 2026-11-30 and claude-mythos-preview already carries 2026-06-09. claude-mythos-5 and claude-mythos-5-1 stay flagged as delisted with rows unchanged per ruling anthropic-mythos-gated-flag-delisted; the deprecations page lists them Active with retirement "Not sooner than" dates, so no deprecation_date is added

Rulings applied: anthropic-mythos-gated-flag-delisted


Note

Low Risk
Config-only pricing metadata; affects cost estimates for Anthropic Sonnet 5.5 cache hits but not runtime API behavior.

Overview
Updates the claude-sonnet-5-5 cost map to match Anthropic’s October 7, 2026 prompt-cache read price cut: cache_read_input_token_cost halves from 2e-07 to 1e-07 per token, and cache_read_input_token_cost_batches halves from 1e-07 to 5e-08 (batch rate stays at 50% of cache read).

The same edits are applied in model_prices_and_context_window.json and litellm/model_prices_and_context_window_backup.json. The model source URL for Sonnet 5.5 now points at the general pricing doc instead of the Sonnet 5.5 overview page.

Reviewed by Cursor Bugbot for commit d8cfad3. Bugbot is set up for automated code reviews on this repo. Configure here.

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps

greptile-apps Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High risk] Updates pricing data for a language model.

The PR appears safe to merge; no blocking issue remains.

What we checked:

  • Batch reads keep the right price: claude-sonnet-5-5 has an explicit batch input rate. This selects the branch that uses the batch cache-read rate directly, without another discount.

Summary

Lowers claude-sonnet-5-5 cache-read prices in both price maps.

  • Regular reads change to $0.10 per million tokens; batch reads change to $0.05.
  • The source link now points to Anthropic’s pricing page.
  • kerry-berri agreed to defer claude-haiku-5-5 until 100k tier support is decided. Its row is absent from both maps.
  • No new actionable issues were found.

Reviews (2) · Last reviewed commit: "fix(cost-map): lower anthropic claude-so..." · Reviewed by Greptile

Comment thread model_prices_and_context_window.json Resolved
@berriai-litellm-provider-info-sync berriai-litellm-provider-info-sync Bot changed the title feat(cost-map): add anthropic claude-haiku-5-5 and lower claude-sonnet-5-5 cache read price fix(cost-map): lower anthropic claude-sonnet-5-5 cache read price Oct 7, 2026
@berriai-litellm-provider-info-sync
berriai-litellm-provider-info-sync Bot force-pushed the litellm-providers/price-sync-anthropic branch from 0745c70 to d8cfad3 Compare October 7, 2026 18:18
@kerry-berri

Copy link
Copy Markdown
Contributor

@greptileai

@kerry-berri

Copy link
Copy Markdown
Contributor

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit d8cfad3. Configure here.

@codspeed

codspeed Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing litellm-providers/price-sync-anthropic (d8cfad3) with main (2c1847f)

Open in CodSpeed

@codecov

codecov Bot commented Oct 7, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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.

2 participants