fix(pricing): add gpt-5.3 codex entries to pricing snapshot#10
fix(pricing): add gpt-5.3 codex entries to pricing snapshot#10slkiser merged 2 commits intoslkiser:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds two new OpenAI model pricing entries (openai/gpt-5.3-codex and openai/gpt-5.3-codex-spark) to the bundled pricing snapshot so that usage of these models is costed rather than reported as unknown pricing. The gpt-5.3-codex-spark entry is explicitly an estimated fallback using the same rates as gpt-5.3-codex, since its pricing has not been officially published.
Changes:
- Add
gpt-5.3-codexandgpt-5.3-codex-sparkentries to the OpenAI section of the pricing snapshot, both usingcache_read: 0.175 / input: 1.75 / output: 14(USD per 1M tokens).
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
src/data/modelsdev-pricing.min.json
Outdated
| "gpt-5.3-codex": { | ||
| "cache_read": 0.175, | ||
| "input": 1.75, | ||
| "output": 14 | ||
| }, | ||
| "gpt-5.3-codex-spark": { | ||
| "cache_read": 0.175, | ||
| "input": 1.75, | ||
| "output": 14 | ||
| }, |
There was a problem hiding this comment.
The two new gpt-5.3-* entries are inserted between gpt-5.2-codex (line 391) and gpt-5.2-pro (line 406), splitting up the gpt-5.2 variant group. Every other version family in the file keeps all its variants contiguous (e.g. gpt-5, gpt-5-chat-latest, gpt-5-codex, gpt-5-mini, gpt-5-nano, gpt-5-pro are consecutive; the same is true for gpt-5.1-* and gpt-5.2-*). The gpt-5.3-* entries should be placed after gpt-5.2-pro so that the gpt-5.2 family remains intact and the version ordering is consistent. Although JSON key order has no effect on runtime lookups, this inconsistency makes the file harder to read and maintain.
Summary
openai/gpt-5.3-codextosrc/data/modelsdev-pricing.min.jsonwith standard API token pricing.openai/gpt-5.3-codex-sparkbecause API token pricing is not publicly published yet.Testing
npm test✅ (19 files, 82 tests passed)Risk & Rollback
Linked Issues