Last verified 2025-09-22 (left) · 2025-09-22 (right)
Claude Sonnet 4 vs GPT-4.1 nano — Pricing & Capability Comparison
Claude Sonnet 4 charges $3.00 per million input tokens and $15.00 per million output tokens. GPT-4.1 nano comes in at $0.10 / $0.40. Context windows span 200K vs 128K tokens respectively.
Input price (per 1M)
Claude Sonnet 4
$3.00
GPT-4.1 nano
$0.10
GPT-4.1 nano leads here
Output price (per 1M)
Claude Sonnet 4
$15.00
GPT-4.1 nano
$0.40
GPT-4.1 nano leads here
Context window
Claude Sonnet 4
200,000 tokens
GPT-4.1 nano
128,000 tokens
Claude Sonnet 4 leads here
Cached input
Claude Sonnet 4
$0.300
GPT-4.1 nano
Not published
Claude Sonnet 4 leads here
Cost comparison for 10K-token workloads
Side-by-side pricing for identical workloads (10,000 total tokens per request) across different distributions.
Scenario | Claude Sonnet 4 | GPT-4.1 nano | Claude Sonnet 4 cached |
---|---|---|---|
Balanced conversation 50% input · 50% output | $0.0900 | $0.0025 | $0.0765 |
Input-heavy workflow 80% input · 20% output | $0.0540 | $0.0016 | $0.0324 |
Generation heavy 30% input · 70% output | $0.114 | $0.0031 | $0.106 |
Cached system prompt 90% cached input · 10% fresh output | $0.0420 | $0.0013 | $0.0177 |
Frequently asked questions
Which model is cheaper per million input tokens?
GPT-4.1 nano costs $0.10 per million input tokens versus $3.00 for Claude Sonnet 4.
How do output prices compare?
GPT-4.1 nano charges $0.40 per million output tokens, while Claude Sonnet 4 costs $15.00 per million.
Which model supports a larger context window?
Claude Sonnet 4 offers 200,000 tokens (200K) versus 128K for GPT-4.1 nano.