Skip to content

fix(pricing): add promo pricing for GPT-5.6 Sol on Bedrock - #38127

Closed
lmcdonald-godaddy wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
lmcdonald-godaddy:gpt-5.6-sol-promo-pricing
Closed

fix(pricing): add promo pricing for GPT-5.6 Sol on Bedrock#38127
lmcdonald-godaddy wants to merge 1 commit into
BerriAI:litellm_internal_stagingfrom
lmcdonald-godaddy:gpt-5.6-sol-promo-pricing

Conversation

@lmcdonald-godaddy

@lmcdonald-godaddy lmcdonald-godaddy commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

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-cost at $5.50 in / $33 out per 1M

After: headers come back with x-litellm-response-cost at $4.40 in / $22 out per 1M (Geo/Mantle). Global CRIS is $4 / $20

Relevant issues

Follow-up to #37880

Linear ticket

Pre-Submission checklist

  • I have added meaningful tests
  • The handful of test files covering my change pass locally, e.g. 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
  • My PR passes all required CI/CD checks (e.g., lint, schema.d.ts sync check, etc.)
  • My PR's scope is as isolated as possible; it only solves 1 specific problem
  • I have received a Greptile Confidence Score of at least 4/5 before requesting a maintainer review (Greptile reviews automatically once the PR is opened; only comment @greptileai to 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

  • The tests check the right things, including the edge cases, and regressions in the respective real-world customer use-cases are not possible after this PR

@lmcdonald-godaddy lmcdonald-godaddy changed the title fix(pricing) Add Promo Pricing for gpt 5.6 sol Bedrock fix(pricing): add promo pricing for GPT-5.6 Sol on Bedrock Aug 24, 2026
@greptile-apps

greptile-apps Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Updates Bedrock GPT-5.6 Sol catalog entries to AWS promotional rates and synchronizes regression expectations across Converse and Mantle pricing tests

  • Applies Geo and Mantle input/output/cache pricing of $4.40/$22 per million base tokens
  • Applies Global CRIS pricing of $4/$20 per million base tokens
  • Updates above-272k, cache-read, and cache-creation rates in both primary and packaged backup catalogs

Confidence Score: 4/5

The 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

Important Files Changed

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

Comment on lines +60 to +67
# 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

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.

P2 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

codecov Bot commented Aug 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@codspeed-hq

codspeed-hq Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Merging this PR will not alter performance

✅ 31 untouched benchmarks


Comparing lmcdonald-godaddy:gpt-5.6-sol-promo-pricing (6dbee8c) with litellm_internal_staging (d447be1)1

Open in CodSpeed

Footnotes

  1. No successful run was found on litellm_internal_staging (f818a48) during the generation of this report, so d447be1 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Heads up: #38207 reached the same Sol rates from the same model card, plus a Cyber entry. Either one covers the Sol pricing.

@lmcdonald-godaddy

Copy link
Copy Markdown
Contributor Author

Closing as superseded by #38207

@lmcdonald-godaddy
lmcdonald-godaddy deleted the gpt-5.6-sol-promo-pricing branch August 28, 2026 20:26
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