AI Model Intelligence Platform
← Back to compare

Claude Sonnet 4 vs GPT-4.1

Claude Sonnet 4GPT-4.1
ProviderAnthropicOpenAI
Context Window200,0001,047,576
Release Date2025-05-212025-04-14
Input Price$3.00/ 1M tokens$2.00/ 1M tokens
Output Price$15.00/ 1M tokens$8.00/ 1M tokens
Best forreasoning · coding · analysis · tool usecoding · long-context analysis · agent workflows · complex reasoning

Capabilities

Claude Sonnet 4GPT-4.1
Vision
Reasoning
Coding
Audio
Tools
Long Context

Ranking Comparison

Claude Sonnet 4GPT-4.1
Overall92.192.5
Benchmark9090.7
Capability85.785.7
Price Efficiency100100
Context100100

Overall = Benchmark 50% + Capability 20% + Price Efficiency 20% + Context 10%.

Benchmark Comparison

Claude Sonnet 4GPT-4.1
Coding9092
Reasoning9291
Math
Vision

Price History

Claude Sonnet 4

DateInputOutput
2026-08-05$3.00$15.00

/ 1M tokens

GPT-4.1

DateInputOutput
2026-08-05$2.00$8.00

/ 1M tokens

Claude Sonnet 4

Anthropic's balanced frontier model: strong reasoning with great cost-efficiency.

GPT-4.1

Latest GPT-4 generation with large context window and improved coding ability.