Claude Sonnet 5 vs GPT-5 mini

GPT-5 mini is cheaper on input ($0.45 vs $3.00 per 1M tokens), Claude Sonnet 5 has the larger context window (400K).

SpecClaude Sonnet 5GPT-5 mini
ProviderAnthropicOpenAI
ModalityText + VisionText + Vision
Context window400Kbest128K
Input / 1M$3.00$0.45best
Output / 1M$15.00$1.80best
ReleasedFeb 2026Jan 2026
Best forChat / Assistant, Code generation, Image / VisionChat / Assistant, High-volume / cheap, Image / Vision

FAQ

Is Claude Sonnet 5 cheaper than GPT-5 mini?
GPT-5 mini is cheaper, at $0.45 per 1M input tokens versus $3.00.
Which has the larger context window, Claude Sonnet 5 or GPT-5 mini?
Claude Sonnet 5 has the larger context window at 400K tokens.

More comparisons