Model comparison
Claude Opus 4.8 vs GPT-5
A spec-by-spec comparison of Claude Opus 4.8 and GPT-5: pricing, context window, capabilities, and independently sourced benchmarks.
Head-to-head
- GPT-5 costs 4.0x less per input token than Claude Opus 4.8 ($1.25/MTok vs $5.00/MTok).
- Claude Opus 4.8 has a 2.5x larger context window than GPT-5 (1,000,000 tokens vs 400,000 tokens).
| Spec | Claude Opus 4.8 | GPT-5 |
|---|---|---|
| Provider | anthropic | openai |
| Family | Claude Opus | GPT-5 |
| Status | legacy | legacy |
| Release date | 2026-05-28 | — |
| Knowledge cutoff | 2026-01 | 2024-09-30 |
| Context window | 1,000,000 tokens | 400,000 tokens |
| Max output tokens | 128,000 tokens | 128,000 tokens |
| Input price | $5.00/MTok | $1.25/MTok |
| Output price | $25.00/MTok | $10.00/MTok |
| Cached input price | $0.50/MTok | $0.13/MTok |
| Vision | Yes | Yes |
| Tool use | Yes | Yes |
| Extended thinking | Yes | Yes |
| Streaming | — | Yes |
Claude Opus 4.8
Strengths- Tool-use system prompt overhead is 290 tokens on auto, down from 675 on Opus 4.7.
- The effort parameter defaults to high on the Claude API, Claude Code and claude.ai.
- Supports up to 300k output tokens on the Message Batches API behind a beta header.
- Legacy as of 2026-09-24: Anthropic’s own page recommends migrating to Claude Opus 5.5.
- Uses the newer Claude tokenizer, ~30% more tokens for the same text than Sonnet 4.6 and earlier.
- Anthropic lists classic extended thinking as not supported; only adaptive thinking is available.
- Fast mode costs $10/$50 per MTok and is unavailable on the Batch API and on Claude Platform on AWS.
GPT-5
Strengths- Still has a live model page and a published rate-card row; OpenAI directs new work to GPT-6 Astra.
- The default snapshot gpt-5-2025-08-07 is scheduled for API removal on 2026-12-11 (announced 2026-06-11).
- Knowledge cutoff of 2024-09-30 is the oldest of any OpenAI model in this file.
Not sure which one to use?
Flaibo is a daily AI orientation hub: a 12-week path and a prompt vault, with Free and Professional plans. Build the habit, not just the comparison.
Start your AI path