GPT-5.4 Pro vs Claude Opus 4.8

GPT-5.4 Pro vs Claude Opus 4.8: which AI model is cheaper, has the larger context window and more capabilities? Side-by-side comparison updated daily.

Quick verdict

  • Claude Opus 4.8 is 6.8× cheaper than GPT-5.4 Pro for the same mix of input and output tokens.
  • GPT-5.4 Pro has the larger context window (1.1M), useful for long documents and big codebases.
  • Claude Opus 4.8 is the more recent release (May 27, 2026).
  • Choose Claude Opus 4.8 if cost matters most; choose GPT-5.4 Pro if you need its specific strengths above. For the best results, test both on your own prompts.
GPT-5.4 ProClaude Opus 4.8
CompanyOpenAIAnthropic
ReleasedMar 5, 2026May 27, 2026 ●
Overall index159.1 ●158.3
GPQA Diamond94.6% ●91.0%
AIME math—98.3%
FrontierMath82.5% ●80.0%
SimpleQA Verified46.3%53.0% ●
Input (per 1M tokens)$30$5 ●
Output (per 1M tokens)$180$25 ●
Cost for 1M input + 1M output tokens$210$30.00 ●
Providers311 ●
Context1.1M ●1M
Max output128K128K
InputsText, Image, FilesText, Image, Files
OutputsTextText
Reasoning✓✓
Tool use✓✓
Structured output✓✓
Open weights——

Add a model →

Popular comparisons