Skip to content

fix(pricing): update OpenAI model rates and accounting - #10

Merged
Gnonymous merged 1 commit into
mainfrom
release/v1.1.9-gpt-pricing
Aug 9, 2026
Merged

fix(pricing): update OpenAI model rates and accounting#10
Gnonymous merged 1 commit into
mainfrom
release/v1.1.9-gpt-pricing

Conversation

@Gnonymous

Copy link
Copy Markdown
Owner

Summary

  • add current GPT-5.6, GPT-5.x, Codex, GPT-4.x, and o-series API prices plus official aliases and snapshots
  • apply OpenAI long-context/cache-write pricing and correct Codex reasoning/cache token accounting
  • align aggregate spend, live burn, cache savings, tests, and v1.1.9 release notes

Verification

  • swift build
  • make test
  • isolated CODINGBAR_VERSION=v1.1.9 make package
  • packaged app codesign --verify --deep --strict and --self-test

馃 Generated with Claude Code

Add current GPT, Codex, and o-series prices, long-context tiers, cache-write accounting, aliases, and regression coverage.\n\nCo-Authored-By: Claude <noreply@anthropic.com>
@Gnonymous
Gnonymous merged commit 0230d45 into main Aug 9, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

馃挕 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 112e21bb75

鈩癸笍 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".

Comment on lines +149 to +150
"o1-2024-12-17": "openai/o1",
"o1-mini-2024-09-12": "openai/o1-mini",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the o1-preview aliases

Add exact aliases for o1-preview and o1-preview-2024-09-12 when replacing the old contains("o1") fallback. Historical logs containing either official model ID now fall through to the generic $3/$15 estimate instead of the o1 rate, and provider(forCanonicalKey:) consequently labels them as Claude rather than Codex, corrupting both historical spend and model/provider attribution.

Useful? React with 馃憤聽/ 馃憥.

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