fix(pricing): adjust gpt-5.6-terra and gpt-5.6-luna prices according to OpenAI's latest article - #35258
Merged
mubashir1osmani merged 1 commit intoJul 30, 2026
Conversation
Contributor
Greptile SummaryUpdates OpenAI GPT-5.6 Terra and Luna pricing consistently across the canonical and backup metadata files
Confidence Score: 5/5The PR appears safe to merge The previously reported synchronization issue is resolved at the current HEAD, and no blocking failure remains
|
| Filename | Overview |
|---|---|
| model_prices_and_context_window.json | Updates the canonical OpenAI GPT-5.6 Terra and Luna pricing fields consistently |
| litellm/model_prices_and_context_window_backup.json | Keeps the bundled backup synchronized with the canonical pricing metadata |
| tests/test_litellm/litellm_core_utils/llm_cost_calc/test_llm_cost_calc_utils.py | Updates generic cost-calculation expectations to cover the revised token rates |
| tests/test_litellm/test_gpt_5_6_model_metadata.py | Separates OpenAI and Azure pricing expectations while preserving provider-specific rates |
Reviews (4): Last reviewed commit: "fix(pricing): adjust gpt-5.6-terra and g..." | Re-trigger Greptile
lihugang
force-pushed
the
litellm_internal_staging
branch
from
July 30, 2026 19:00
8d11430 to
5cb3a08
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
lihugang
force-pushed
the
litellm_internal_staging
branch
2 times, most recently
from
July 30, 2026 19:21
76f30d4 to
2bafcc8
Compare
…to OpenAI's latest article Adjust the price of gpt-5.6-terra to 80% of its original rate (2/12), and gpt-5.6-luna to 20% of its original rate (0.2/1.2). References: https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/ https://developers.openai.com/api/docs/pricing
lihugang
force-pushed
the
litellm_internal_staging
branch
from
July 30, 2026 19:30
2bafcc8 to
3212a5f
Compare
Contributor
Author
Contributor
mubashir1osmani
changed the base branch from
litellm_internal_staging
to
litellm_gpt_pricing_change
July 30, 2026 20:07
mubashir1osmani
approved these changes
Jul 30, 2026
mubashir1osmani
merged commit Jul 30, 2026
f1b781d
into
BerriAI:litellm_gpt_pricing_change
78 checks passed
Closed
5 tasks
4 tasks
1 task
5 tasks
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.
feat(pricing): adjust gpt-5.6-terra and gpt-5.6-luna prices according to OpenAI's latest article
Adjust the price of gpt-5.6-terra to 80% of its original rate (2/12), and gpt-5.6-luna to 20% of its original rate (0.2/1.2).
References:
https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/
https://developers.openai.com/api/docs/pricing
Problem this solves:
How it solves it:
Pre-Submission checklist
Please complete all items before asking a LiteLLM maintainer to review your PR
@greptileaito re-request a review after pushing changes)Delays in PR merge?
If you're seeing a delay in your PR being merged, ping the LiteLLM Team on Slack (#pr-review).
Type
🐛 Bug Fix
Changes
Adjust the price of gpt-5.6-terra to 80% of its original rate (2/12), and gpt-5.6-luna to 20% of its original rate (0.2/1.2).
References:
https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/
https://developers.openai.com/api/docs/pricing
Final Attestation