Comparing 2 models

Claude Sonnet 5 vs GPT-5.4 Mini

Facts first, then task-specific rankings. A highlighted cell is better only for that row, not universally.

metric
Model 1Claude Sonnet 5
Model 2GPT-5.4 Mini
Best for
Agentic Coding (#5)
Fast Summaries (#2)
Provider
anthropic
openai
Context
1MBest
400K
Input / 1M
$2
$0.75Best
Output / 1M
$10
$4.50Best
Tool use
yesBest
yesBest
Vision
yesBest
yesBest
Reasoning
yesBest
yesBest
Open-weight
Released
Jun 30, 2026
Mar 17, 2026