fix(pricing): apply AWS GPT-5.6 Sol Bedrock rate cut - #38118
Closed
lmcdonald-godaddy wants to merge 1 commit into
Closed
fix(pricing): apply AWS GPT-5.6 Sol Bedrock rate cut#38118lmcdonald-godaddy wants to merge 1 commit into
lmcdonald-godaddy wants to merge 1 commit into
Conversation
Bedrock spend still used the pre-Aug 21 Sol table after OpenAI and AWS lowered Global CRIS to $4/$20 per 1M. Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
Greptile SummaryUpdates GPT-5.6 Sol pricing metadata for AWS Bedrock’s reduced Global and Geo/In-Region rates, including cache and long-context tiers. Corresponding tests now pin the revised rates.
Confidence Score: 5/5The PR appears safe to merge; the revised pricing entries are consistently mapped, mirrored, and covered by independent assertions. The changed Global, US, and Mantle model identifiers resolve to their intended pricing entries, and the updated tests exercise the affected standard, cache, and long-context calculations without revealing a blocking failure.
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Updates the three intended GPT-5.6 Sol Bedrock entries with consistent base, cache, and long-context rates. |
| litellm/model_prices_and_context_window_backup.json | Mirrors the primary pricing-map changes in the packaged backup used by local model-cost resolution. |
| tests/test_litellm/llms/bedrock/test_cross_region_inference_profile_mapping.py | Independently pins revised US and global rates and continues exercising normal, cache, and long-context billing. |
| tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py | Updates independent Mantle pricing expectations while retaining coverage of standard and long-context cost behavior. |
Reviews (1): Last reviewed commit: "fix(pricing): apply AWS GPT-5.6 Sol Bedr..." | Re-trigger Greptile
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
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.
Summary
AWS cut GPT-5.6 Sol on Bedrock on Aug 21 (Global CRIS $4 / $20 per 1M tokens; Geo/In-Region $4.40 / $22). #37880 already applied the matching OpenAI promo and explicitly left Bedrock at the old card. The live Sol model card now has the new rates, so Mantle and Converse still overstate spend.
This PR only rebases:
bedrock_mantle/openai.gpt-5.6-solandus.openai.gpt-5.6-solto Geo/In-Region ($4.40 / $22, cache write $5.50, cache read $0.44)global.openai.gpt-5.6-solto Global CRIS ($4 / $20, cache write $5.00, cache read $0.40)Long-context (>272k) fields follow the card (2x input, 1.5x output). Terra, Luna, Azure, and OpenAI entries are untouched.
Relevant issues
Follow-up to #37880. Source: https://aws.amazon.com/about-aws/whats-new/2026/08/bedrock-openai-gpt-56-sol-reduced-pricing/ and https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-56-sol.html
Linear ticket
Pre-Submission checklist
make test-unit@greptileaiand received a Confidence Score of at least 4/5 before requesting a maintainer reviewScreenshots / Proof of Fix
Pinning tests now expect the Aug 21 rates. After merge, with a local proxy and
LITELLM_LOCAL_MODEL_COST_MAP=True:x-litellm-response-costshould match prompt_tokens * 4.4e-6 + completion_tokens * 2.2e-5 (Geo). Forbedrock/converse/global.openai.gpt-5.6-soluse 4e-6 and 2e-5. Same check onbedrock_mantle/openai.gpt-5.6-solvia/v1/responses.Type
Bug Fix
Changes
Cost map Sol Bedrock entries and the tests that pin them
Made with Cursor