Model Comparison

Claude Sonnet 4 vs GPT-5 nano

Both models are evenly matched across the benchmarks. GPT-5 nano is 43.6x cheaper per token.

Performance Benchmarks

Comparative analysis across standard metrics

2 benchmarks

Claude Sonnet 4 outperforms in 1 benchmarks (GPQA), while GPT-5 nano is better at 1 benchmark (AIME 2025).

Both models are evenly matched across the benchmarks.

Sat May 30 2026 • llm-stats.com

Arena Performance

Human preference votes

Pricing Analysis

Price comparison per million tokens

GPT-5 nano costs less

For input processing, Claude Sonnet 4 ($3.00/1M tokens) is 60.0x more expensive than GPT-5 nano ($0.05/1M tokens).

For output processing, Claude Sonnet 4 ($15.00/1M tokens) is 37.5x more expensive than GPT-5 nano ($0.40/1M tokens).

In conclusion, Claude Sonnet 4 is more expensive than GPT-5 nano.*

* Using a 3:1 ratio of input to output tokens

Lowest available price from all providers
Sat May 30 2026 • llm-stats.com
Anthropic
Claude Sonnet 4
Input tokens$3.00
Output tokens$15.00
Best providerAnthropic
OpenAI
GPT-5 nano
Input tokens$0.05
Output tokens$0.40
Best providerOpenAI
Notice missing or incorrect data?Start an Issue

Context Window

Maximum input and output token capacity

GPT-5 nano accepts 400,000 input tokens compared to Claude Sonnet 4's 200,000 tokens. GPT-5 nano can generate longer responses up to 128,000 tokens, while Claude Sonnet 4 is limited to 64,000 tokens.

Anthropic
Claude Sonnet 4
Input200,000 tokens
Output64,000 tokens
OpenAI
GPT-5 nano
Input400,000 tokens
Output128,000 tokens
Sat May 30 2026 • llm-stats.com

Input Capabilities

Supported data types and modalities

Both Claude Sonnet 4 and GPT-5 nano support multimodal inputs.

They are both capable of processing various types of data, offering versatility in application.

Claude Sonnet 4

Text
Images
Audio
Video

GPT-5 nano

Text
Images
Audio
Video

License

Usage and distribution terms

Both models are licensed under proprietary licenses.

Both models have usage restrictions defined by their respective organizations.

Claude Sonnet 4

Proprietary

Closed source

GPT-5 nano

Proprietary

Closed source

Release Timeline

When each model was launched

Claude Sonnet 4 was released on 2025-05-22, while GPT-5 nano was released on 2025-08-07.

GPT-5 nano is 3 months newer than Claude Sonnet 4.

Claude Sonnet 4

May 22, 2025

1.0 years ago

GPT-5 nano

Aug 7, 2025

9 months ago

2mo newer

Knowledge Cutoff

When training data ends

GPT-5 nano has a documented knowledge cutoff of 2024-05-30, while Claude Sonnet 4's cutoff date is not specified.

We can confirm GPT-5 nano's training data extends to 2024-05-30, but cannot make a direct comparison without Claude Sonnet 4's cutoff date.

Claude Sonnet 4

GPT-5 nano

May 2024

Provider Availability

Claude Sonnet 4 is available from Anthropic, Bedrock, Google. GPT-5 nano is available from OpenAI.

Claude Sonnet 4

anthropic logo
Anthropic
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
bedrock logo
AWS Bedrock
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M
google logo
Google
Input Price:Input: $3.00/1MOutput Price:Output: $15.00/1M

GPT-5 nano

openai logo
OpenAI
Input Price:Input: $0.05/1MOutput Price:Output: $0.40/1M
* Prices shown are per million tokens

Outputs Comparison

Notice missing or incorrect data?Start an Issue discussion

Key Takeaways

Higher GPQA score (75.4% vs 71.2%)
Larger context window (400,000 tokens)
Less expensive input tokens
Less expensive output tokens
Higher AIME 2025 score (85.2% vs 70.5%)
AnthropicClaude Sonnet 4
OpenAIGPT-5 nano

Detailed Comparison

AI Model Comparison Table
Feature
Anthropic
Claude Sonnet 4
OpenAI
GPT-5 nano

FAQ

Common questions about Claude Sonnet 4 vs GPT-5 nano.

Which is better, Claude Sonnet 4 or GPT-5 nano?

Both models are evenly matched across the benchmarks. Claude Sonnet 4 is made by Anthropic and GPT-5 nano is made by OpenAI. The best choice depends on your use case — compare their benchmark scores, pricing, and capabilities above.

How does Claude Sonnet 4 compare to GPT-5 nano in benchmarks?

Claude Sonnet 4 scores MMMLU: 86.5%, TAU-bench Retail: 80.5%, GPQA: 75.4%, MMMU: 74.4%, SWE-Bench Verified: 72.7%. GPT-5 nano scores AIME 2025: 85.2%, HMMT 2025: 75.6%, GPQA: 71.2%, FrontierMath: 9.6%, Humanity's Last Exam: 8.7%.

Is Claude Sonnet 4 cheaper than GPT-5 nano?

GPT-5 nano is 60.0x cheaper for input tokens. Claude Sonnet 4 costs $3.00/M input and $15.00/M output via anthropic. GPT-5 nano costs $0.05/M input and $0.40/M output via openai.

What are the context window sizes for Claude Sonnet 4 and GPT-5 nano?

Claude Sonnet 4 supports 200K tokens and GPT-5 nano supports 400K tokens. A larger context window lets you process longer documents, conversations, or codebases in a single request.

What are the main differences between Claude Sonnet 4 and GPT-5 nano?

Key differences include context window (200K vs 400K), input pricing ($3.00 vs $0.05/M). See the full comparison above for benchmark-by-benchmark results.

Who makes Claude Sonnet 4 and GPT-5 nano?

Claude Sonnet 4 is developed by Anthropic and GPT-5 nano is developed by OpenAI.