Repository navigation
fix(bedrock): lower claude sonnet 5.5 cache read price to the aws offer index - #45216
Conversation
…er index Price-Sync: litellm-providers
|
|
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will not alter performance
Comparing |
Lowers cache_read_input_token_cost on the aws-bedrock claude-sonnet-5-5 rows to the AWS offer index rates (publication 2026-10-07T18:37:33Z). Cache read is now 0.05x input on Bedrock, matching the first party claude-sonnet-5-5 fix in #45113. Only the cache read field changes; input, output and cache write already match
Rows
Quotes from the raw offer index
Global: sku 487WBAJQRFHYFE5M
USE1-MP:USE1_cache_read_tokens_global_standard-UnitsClaude Sonnet 5.5 (Amazon Bedrock Edition) = 0.1000000000 USD per 1M tokensIn-Region and Geo: sku H6MJYZQS5DCKBCCM
USE1-MP:USE1_cache_read_tokens_standard-Units= 0.1100000000 USD, sku W2U8ATV49ZXXNY4QEU-MP:EU_cache_read_tokens_standard-Units= 0.1100000000 USD, sku 327C6BUS6RG294YAAPS2-MP:APS2_cache_read_tokens_standard-Units= 0.1100000000 USDGovCloud: sku EFU375FCADRPJPB3
UGE1-MP:UGE1_cache_read_tokens_standard-Units= 0.1200000000 USD and sku ASJC8JCBJNK99A54UGW1-MP:UGW1_cache_read_tokens_standard-Units= 0.1200000000 USDThe offer index has no ap-northeast-1 Sonnet 5.5 SKU, so the jp. row inherits the 0.11 USD Standard rate that every other In-Region and Geo SKU carries
Delisted by the provider
Not present in the list API: ai21.j2-mid-v1, ai21.j2-ultra-v1, amazon.titan-image-generator-v1, amazon.titan-image-generator-v2, amazon.titan-text-express-v1, amazon.titan-text-lite-v1, anthropic.claude-instant-v1, anthropic.claude-v1, cohere.command-light-text-v14, cohere.command-text-v14, meta.llama2-13b-chat-v1, meta.llama2-70b-chat-v1 (kept per bedrock-delisted-no-date-keep), anthropic.claude-mythos-5-1, anthropic.claude-mythos-preview, global.anthropic.claude-mythos-5-1 (kept per bedrock-mythos-renamed-fable), in.moonshotai.kimi-k3 (no deprecation date found, left for a human)
The bedrock_mantle claude-sonnet-5-5 rows follow in their own PR per ruling bedrock-mantle-rows-own-pr
Note
Low Risk
Data-only pricing metadata changes in JSON; they affect reported costs for cached Bedrock Sonnet 5.5 usage but do not change runtime API behavior.
Overview
Updates Bedrock Claude Sonnet 5.5 entries in
model_prices_and_context_window.json(and the backup copy) socache_read_input_token_costis halved to match AWS’s current offer-index rates (cache read at 0.05× input, aligned with the first-party Sonnet 5.5 fix in #45113). Regional values move from 2e-07 → 1e-07 (global), 2.2e-07 → 1.1e-07 (standard in-region/geo), and 2.4e-07 → 1.2e-07 (GovCloud); input, output, and cache-write fields are untouched.Several Bedrock rows also point
sourceat the AWS Amazon Bedrock Foundation Models offer index instead of the generic Bedrock pricing page, and GovCloudbedrock/us-gov-*entries gain thatsourcefield where it was missing.Reviewed by Cursor Bugbot for commit 1c986e5. Bugbot is set up for automated code reviews on this repo. Configure here.