fix(pricing): add promo pricing for GPT-5.6 Sol on Bedrock - #38127
fix(pricing): add promo pricing for GPT-5.6 Sol on Bedrock#38127lmcdonald-godaddy wants to merge 1 commit into
Conversation
Greptile SummaryUpdates Bedrock GPT-5.6 Sol catalog entries to AWS promotional rates and synchronizes regression expectations across Converse and Mantle pricing tests
Confidence Score: 4/5The pricing update appears safe to merge, with only non-blocking cleanup needed for duplicated maintenance comments The production and backup catalogs remain synchronized, and regression tests exercise the updated promotional dimensions; the remaining concern is maintainability Files Needing Attention: tests/test_litellm/llms/bedrock/test_cross_region_inference_profile_mapping.py and tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Updates all eight pricing dimensions for the Mantle, US Geo, and Global GPT-5.6 Sol records consistently |
| litellm/model_prices_and_context_window_backup.json | Keeps the packaged fallback cost map synchronized with the primary pricing catalog |
| tests/test_litellm/llms/bedrock/test_cross_region_inference_profile_mapping.py | Updates Geo and Global regression expectations but adds verbose duplicated maintenance comments |
| tests/test_litellm/llms/bedrock_mantle/test_bedrock_mantle_responses_transformation.py | Updates Mantle pricing assertions while repeating the promotional restoration schedule in source comments |
Reviews (1): Last reviewed commit: "Add promo pricing for gpt 5.6 sol" | Re-trigger Greptile
| # AWS Sol promo at least through 2026-11-21. After that date restore sticker | ||
| # rates here and in both cost maps: | ||
| # us.openai.gpt-5.6-sol (Geo, same as Mantle In-Region): | ||
| # 5.5e-06 / 1.1e-05 input, 6.875e-06 / 1.375e-05 cache write, | ||
| # 5.5e-07 / 1.1e-06 cache read, 3.3e-05 / 4.95e-05 output | ||
| # global.openai.gpt-5.6-sol (Global CRIS): | ||
| # 5e-06 / 1e-05 input, 6.25e-06 / 1.25e-05 cache write, | ||
| # 5e-07 / 1e-06 cache read, 3e-05 / 4.5e-05 output |
There was a problem hiding this comment.
Duplicated pricing maintenance comments
These comments duplicate restoration rates across tests and catalogs, increasing synchronization work and allowing future pricing updates to drift
Context Used: CLAUDE.md (source)
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Heads up: #38207 reached the same Sol rates from the same model card, plus a Cyber entry. Either one covers the Sol pricing. |
|
Closing as superseded by #38207 |
TLDR
Problem this solves:
Bedrock GPT-5.6 Sol still billed pre-Aug 21 rates ($5.50/$33 Geo, $5/$30 Global)
How it solves it:
Applies the AWS promo to Mantle and Converse Sol entries and pins restore-on-2026-11-21 in tests
User Flow
Before: headers come back with
x-litellm-response-costat $5.50 in / $33 out per 1MAfter: headers come back with
x-litellm-response-costat $4.40 in / $22 out per 1M (Geo/Mantle). Global CRIS is $4 / $20Relevant issues
Follow-up to #37880
Linear ticket
Pre-Submission checklist
uv run pytest tests/test_litellm/<your_test_file>.py -v. Leave the suites (make test-unit-*,make test-unit) to CI: it finishes in ~15 minutes where a laptop takes an hour or more@greptileaito re-request a review after pushing changes)Screenshots / Proof of Fix
Announcement (Aug 21): https://aws.amazon.com/about-aws/whats-new/2026/08/bedrock-openai-gpt-56-sol-reduced-pricing/
Live rates (Global $4 / $20, Geo/In-Region $4.40 / $22): https://docs.aws.amazon.com/bedrock/latest/userguide/model-card-openai-gpt-56-sol.html
Type
Bug Fix
Caveats (if any)
Promo runs at least through 2026-11-21; tests name the sticker rates to restore
Final Attestation