Prices → Compare → GPT-5.3 Codex vs Claude Sonnet 5
GPT-5.3 Codex vs Claude Sonnet 5: API cost compared
GPT-5.3 Codex lists at $1.750 in / $14.00 out per 1M tokens. Claude Sonnet 5 lists at $2.000 in / $10.00. Sticker price only tells you so much — below is what each actually costs across eight production workloads.
Side by side
| GPT-5.3 Codex | Claude Sonnet 5 | |
|---|---|---|
| Provider | OpenAI | Anthropic |
| Input per 1M | $1.750 | $2.000 |
| Output per 1M | $14.00 | $10.00 |
| Cached input per 1M | $0.175 | $0.200 |
| Context window | 400k | 200k |
| Blended per 1M (3:1) | $4.812 | $4.000 |
Monthly cost by workload
Caching applied at each workload's typical hit rate. This is where the two models actually separate.
| Workload | GPT-5.3 Codex | Claude Sonnet 5 | Cheaper | Difference |
|---|---|---|---|---|
| Customer support chatbot | $317.45 | $257.80 | Claude Sonnet 5 | $59.65 (19%) |
| RAG document Q&A | $385.00 | $368.00 | Claude Sonnet 5 | $17.00 (4%) |
| Coding agent | $224.88 | $185.00 | Claude Sonnet 5 | $39.88 (18%) |
| Bulk summarization | $2,566 | $2,692 | GPT-5.3 Codex | $126.50 (5%) |
| Structured data extraction | $3,710 | $3,490 | Claude Sonnet 5 | $220.00 (6%) |
| Long-form content generation | $585.55 | $429.20 | Claude Sonnet 5 | $156.35 (27%) |
| Email triage agent | $861.87 | $805.00 | Claude Sonnet 5 | $56.87 (7%) |
| Translation pipeline | $3,718 | $2,810 | Claude Sonnet 5 | $908.81 (24%) |
How to read this
Claude Sonnet 5 is cheaper on the majority of these workloads, but "majority" is not the decision. The output:input price ratio is 8.0 for GPT-5.3 Codex and 5.0 for Claude Sonnet 5. If your traffic is output-heavy — long-form drafting, translation — the model with the lower output price wins regardless of what the input price suggests. If you are input-heavy — RAG, bulk summarization, agents re-reading a codebase — the cached input rate matters more than either headline number.
Cost is also not the only axis. This site does not benchmark quality, latency, or rate limits, and a model that is 3x cheaper but needs two attempts per task is not cheaper. Use these numbers to size a bill, then validate on your own evals.
Run your own numbers
Cost calculator
Enter your own numbers, or start from a workload preset. Costs are monthly and update as you type.
| Model | In /1M | Out /1M | Monthly | vs best |
|---|