Skip to content

fix(pricing): correct gpt-5.6-sol rates and add the daybreak blue alias - #39

Merged
p-linnane merged 1 commit into
mainfrom
fix/gpt-56-sol-pricing
Sep 12, 2026
Merged

p-linnane merged 1 commit into
mainfrom
fix/gpt-56-sol-pricing

Conversation

@p-linnane

Copy link
Copy Markdown
Collaborator

The gpt-5.6-sol pricing row carried $2.00 in and $10.00 out per million tokens, with cache reads at $0.20 and writes at $2.50. Those are OpenAI's Batch and Flex tier figures; the Standard tier is $4.00, $20.00, $0.40, and $5.00, so any consumer estimating Sol cost from tokens reported half the list price. gpt-daybreak-blue-latest, which OpenAI documents as an approval-gated alias of Sol, had no row and priced at zero.

The row now carries the Standard rates with a note on the promotional window OpenAI publishes (at least through 2026-11-21) so they get rechecked when it lapses. CostFromUsage maps the Daybreak alias onto Sol after normalizeModelID, so the OpenCode provider prefix and [1m] suffix still strip first, and a table-driven test pins each rate and the cache arithmetic for both IDs. Scrutineer carries the same rates locally in alpha-omega-security/scrutineer#1018 until this ships in a release.

Codex was used to implement this; Opus 5 reviewed it.

The gpt-5.6-sol row carried 2.00 in and 10.00 out per million tokens,
with cache reads at 0.20 and writes at 2.50. Those are OpenAI's Batch
and Flex figures; the Standard tier is 4.00, 20.00, 0.40, and 5.00, so
Sol usage was estimated at half its list cost. gpt-daybreak-blue-latest,
which OpenAI documents as an approval-gated alias of Sol, had no row and
priced at zero.

The row now carries the Standard rates, annotated with the promotional
window OpenAI publishes so the figures get rechecked when it lapses.
CostFromUsage resolves the Daybreak alias onto Sol after normalizing the
ID, so the OpenCode provider prefix and context suffix still strip, and
a table-driven test pins each rate and the cache arithmetic for both IDs
in their bare and prefixed forms.

Signed-off-by: Patrick Linnane <patrick@linnane.io>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No unresolved approval-blocking issues were identified.

Pull request overview

Corrects GPT-5.6 Sol Standard pricing and adds Daybreak Blue alias support.

Changes:

  • Updates Sol input, output, and cache rates.
  • Maps Daybreak Blue to Sol pricing.
  • Adds table-driven pricing and cache tests.
File summaries
File Description
pricing.go Updates rates and alias handling.
pricing_test.go Tests pricing and cache arithmetic.
harness.go Defines shared model identifiers.
copilot.go Uses the Sol model identifier.
Review details
  • Files reviewed: 4/4 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@p-linnane
p-linnane merged commit 3a521c8 into main Sep 12, 2026
9 checks passed
@p-linnane
p-linnane deleted the fix/gpt-56-sol-pricing branch September 12, 2026 17:33
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