Side by side pricing and context for GPT-4o and Claude Sonnet 5. Rates are curated catalog values with last verified dates on each model page.
GPT-4o
Multimodal OpenAI workhorse for chat and mixed text workloads. Still widely deployed; compare against GPT-4.1 / GPT-5 in TokenCALC before locking a stack.
Input $2.50 / Output $10.00 per 1M
Context 128K · Exact (o200k_base)
Claude Sonnet 5
Balanced Claude for most production apps: strong quality without Opus cost. Check the introductory vs standard rate note and re-run TokenCALC after pricing changes.
Input $2.00 / Output $10.00 per 1M
Context 1M · Approx (Anthropic family)
Quick take
- Claude Sonnet 5 is cheaper on input in this catalog snapshot.
- Output rates match on this snapshot.
- Both last verified on their model pages (2026-08-02 / 2026-08-02).
Rate table
| Metric | GPT-4o | Claude Sonnet 5 |
|---|---|---|
| Input / 1M | $2.50 | $2.00 |
| Output / 1M | $10.00 | $10.00 |
| Cached input / 1M | $1.25 | $0.200 |
| Context | 128K | 1M |
| Tokenizer | Exact (o200k_base) | Approx (Anthropic family) |