Side by side pricing and context for GPT-5 and Claude Opus 4.8. Rates are curated catalog values with last verified dates on each model page.
GPT-5
OpenAI frontier model for hard coding, agents, and long-context production work. Use when quality matters more than the cheapest token rate, then check cache and batch in TokenCALC before you scale.
Input $1.25 / Output $10.00 per 1M
Context 400K · Exact (o200k_base)
Claude Opus 4.8
Anthropic top-tier Claude for complex analysis, coding, and long-horizon agents. Highest Claude list prices here. Model cache savings carefully before high traffic.
Input $5.00 / Output $25.00 per 1M
Context 1M · Approx (Anthropic family)
Quick take
- GPT-5 is cheaper on input in this catalog snapshot.
- GPT-5 is cheaper on output in this catalog snapshot.
- Both last verified on their model pages (2026-08-02 / 2026-08-02).
Rate table
| Metric | GPT-5 | Claude Opus 4.8 |
|---|---|---|
| Input / 1M | $1.25 | $5.00 |
| Output / 1M | $10.00 | $25.00 |
| Cached input / 1M | $0.125 | $0.500 |
| Context | 400K | 1M |
| Tokenizer | Exact (o200k_base) | Approx (Anthropic family) |