Add GPT-5.6 Sol/Terra/Luna Codex pricing#2023
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1733c703cd
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
69bdf55 to
e20f9a8
Compare
Review feedback addressed (e20f9a8)All four Codex review threads were verified against OpenAI pricing / GPT-5.6 Sol model card and fixed:
Verificationswift test --filter CostUsagePricingTests # 38 passed
swift test --filter PiSession # 11 passedThreads replied + resolved. Ready for re-review. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e20f9a8f16
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Second review round addressed (8d2d038)
Verificationswift test --filter 'CostUsagePricingTests|PiSessionCostScannerTests' # 51 passedThreads replied + resolved. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8d2d038560
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Third review round addressed
Verificationswift test --filter CostUsagePricingTests # 40 passedThread replied + resolved. |
|
Thanks — I independently verified the public GPT-5.6 Sol, Terra, and Luna model cards and OpenAI pricing table. The model IDs, Before merge, please rebase onto current One repository-policy fix is also needed: the official cards currently list only the unsuffixed snapshots, so the Please also refresh the PR summary, which still says flat rates/no long-context or Priority although HEAD now implements those paths. After rebasing, rerun the focused pricing/Pi tests, |
c785ddf to
3d298e7
Compare
|
Thanks for the rate verification and the correction on the model identifiers.
|
701d636 to
fd72c50
Compare
|
Exact-head proof for
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fd72c50fe3
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Local cost scanning already counts gpt-5.6-* tokens but left day totals understated without rates. Bundle preview pricing so Sol/Terra/Luna resolve without models.dev.
Address review: official long-context (>272K) and Priority rates, 1.25x cache-write billing for Pi disjoint writes, and route gpt-5.6 to Sol.
Bump Pi session cost cache to v5 so GPT-5.6 rows reprice with 1.25x cache-write rates, and apply the same multiplier on Priority input.
When models.dev has a GPT-5.6 hit without context_over_200k fields, still apply bundled above-threshold input/output/cache-read rates with the 272K threshold so long prompts are not under-billed at short rates.
Co-authored-by: Stephen <stephen@klu.ai>
Match AGENTS model-name policy: price coverage uses official unsuffixed IDs; dated normalization uses explicitly fictitious 2099-01-01 suffixes.
fd72c50 to
615276b
Compare
|
Exact rebased head Proof:
Hosted CI/security now applies to this exact synchronized head. |
Summary
Published rates (per 1M tokens)
Source: OpenAI pricing and the released model cards.
Verification
615276b8on currentmain(5bee0172)make checkmake test: all 595 selections and 50 groups passed; one slow unrelated group exceeded its batch budget and all 12 selections passed on automatic isolated retryThe changed behavior is local cost calculation, so the packaged CLI is the closest deterministic live surface; no provider or menu interaction is required.
Notes