Claude Sonnet 5 vs GPT-5

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

SpecClaude Sonnet 5GPT-5
ProviderAnthropicOpenAI
ModalityText + VisionText + Vision
Context window400Kbest256K
Input / 1M$3.00best$10.00
Output / 1M$15.00best$30.00
ReleasedFeb 2026Dec 2025
Best forChat / Assistant, Code generation, Image / VisionChat / Assistant, Code generation, Image / Vision

FAQ

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

More comparisons