Skip to content

fix(models): update gpt-5.6 terra/luna pricing - #3326

Merged
smakosh merged 7 commits into
mainfrom
update-gpt56-terra-luna-pricing
Jul 30, 2026
Merged

smakosh merged 7 commits into
mainfrom
update-gpt56-terra-luna-pricing

Conversation

@smakosh

@smakosh smakosh commented Jul 30, 2026 •

Copy link
Copy Markdown
Member

Summary

OpenAI cut GPT-5.6 Terra and Luna pricing (announcement). This updates all six provider mappings (openai, azure, aws-mantle) in packages/models:

Model Input Cached input Output
Terra $2.50 $2.00 $0.25 $0.20 $15.00 $12.00
Luna $1.00 $0.20 $0.10 $0.02 $6.00 $1.20

Cache-write and over-272K long-context tier prices are rescaled from the new bases using OpenAI's unchanged multipliers (1.25× cache write; 2× input-side / 1.5× output over 272K), as enforced by openai-gpt56-pricing.spec.ts.

Also adds a public changelog entry (gpt-5-6-terra-luna-price-cut, id 72) announcing the cuts and linking OpenAI's post, with its OG image generated via gpt-image-2.

Verification

  • pnpm build — 17/17 tasks pass (including ui with the new changelog entry)
  • openai-gpt56-pricing.spec.ts, validate-model-capabilities.spec.ts, and all packages/models specs pass (139 tests)
  • pnpm format — clean, no other surfaces hardcode these prices

https://claude.ai/code/session_014GCx4tQ7GTxcuf92BByQGZ

OpenAI cut GPT-5.6 Terra to $2/$12 (cached $0.20) and Luna to
$0.20/$1.20 (cached $0.02) per 1M tokens. Long-context tiers and
cache-write prices scaled by the unchanged official multipliers
(2x input-side, 1.5x output, 1.25x cache write) across the openai,
azure, and aws-mantle mappings.

https://openai.com/index/advancing-the-price-performance-frontier-with-gpt-5-6/

Claude-Session: https://claude.ai/code/session_014GCx4tQ7GTxcuf92BByQGZ
@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

Important

Review skipped

Review was skipped due to path filters

⛔ Files ignored due to path filters (1)
  • apps/ui/public/changelog/gpt-5-6-terra-luna-price-cut.png is excluded by !**/*.png

CodeRabbit blocks several paths by default. You can override this behavior by explicitly including those paths in the path filters. For example, including **/dist/** will override the default block on the dist directory, by removing the pattern from both the lists.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: b9c3df29-dbdc-48e0-8624-248ccd6056ef

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

Reduced token and cache-write pricing for gpt-5.6-terra and gpt-5.6-luna across OpenAI, Azure, and AWS Mantle, and documented the new rates and billing behavior.

Changes

GPT-5.6 pricing

Layer / File(s) Summary
Update GPT-5.6 provider pricing
packages/models/src/models/openai.ts
Reduced top-level and tier-specific input, output, cached-input, and cache-write prices for Terra and Luna across OpenAI, Azure, and AWS Mantle providers.
Document new GPT-5.6 rates
apps/ui/src/content/changelog/2026-07-30-gpt-5-6-terra-luna-price-cut.md
Added the price-cut announcement, updated rate table, derived pricing details, billing guidance, capability notes, and related links.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly summarizes the main change: updating GPT-5.6 Terra/Luna pricing in models.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-gpt56-terra-luna-pricing

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@smakosh
smakosh enabled auto-merge July 30, 2026 18:23
@smakosh
smakosh disabled auto-merge July 30, 2026 18:27
@steebchen

Copy link
Copy Markdown
Member

Images automagically compressed by Calibre's image-actions ✨

Compression reduced images by 71%, saving 1.4 MB.

Filename Before After Improvement Visual comparison
apps/ui/public/changelog/gpt-5-6-terra-luna-price-cut.png 2.0 MB 598.0 KB 71.0% View diff

@steebchen

Copy link
Copy Markdown
Member

Images automagically compressed by Calibre's image-actions ✨

Compression reduced images by 7%, saving 42.1 KB.

Filename Before After Improvement Visual comparison
apps/ui/public/changelog/gpt-5-6-terra-luna-price-cut.png 598.0 KB 556.0 KB 7.0% View diff

@smakosh
smakosh enabled auto-merge July 30, 2026 18:40
@steebchen

Copy link
Copy Markdown
Member

Images automagically compressed by Calibre's image-actions ✨

Compression reduced images by 5.6%, saving 31.0 KB.

Filename Before After Improvement Visual comparison
apps/ui/public/changelog/gpt-5-6-terra-luna-price-cut.png 556.0 KB 524.9 KB 5.6% View diff

@steebchen

Copy link
Copy Markdown
Member

Images automagically compressed by Calibre's image-actions ✨

Compression reduced images by 8.6%, saving 45.1 KB.

Filename Before After Improvement Visual comparison
apps/ui/public/changelog/gpt-5-6-terra-luna-price-cut.png 524.9 KB 479.8 KB 8.6% View diff

@smakosh
smakosh added this pull request to the merge queue Jul 30, 2026
Merged via the queue into main with commit 8458727 Jul 30, 2026
12 checks passed
@smakosh
smakosh deleted the update-gpt56-terra-luna-pricing branch July 30, 2026 19:11
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.

2 participants