token.app โ€บ Compare โ€บ GPT-5.4 Nano vs Claude Sonnet 5

GPT-5.4 Nano vs Claude Sonnet 5

Claude Sonnet 5 leads on 5 of 5 shared benchmarks. GPT-5.4 Nano is 8.6ร— cheaper per token on a blended 3:1 basis. Claude Sonnet 5 accepts the larger context window (1M).

Head to head
Blended price uses a 3:1 input:output mix
GPT-5.4 NanoClaude Sonnet 5
ProviderOpenAIAnthropic
Input $/1M$0.200$2.00
Output $/1M$1.25$10.00
Blended $/1M$0.463$4.00
Context window400K1M
Max output128K128K
ReleasedMar 2026Jun 2026
LicenceProprietaryProprietary
GPQA Diamond 78.5% 90.5%
FrontierMath T1โ€“3 44.9% 65.6%
FrontierMath T4 12.2% 29.3%
SimpleQA Verified 12.0% 25.0%
OTIS Mock AIME 87.8% 94.7%
Benchmark scores independently run and published by Epoch AI, 'AI Benchmarking Hub', used under CC BY 4.0. Only benchmarks with a score for BOTH models are compared.
Choose GPT-5.4 Nano ifโ€ฆ
  • Costs less per token โ€” $0.463 vs $4.00 blended
Choose Claude Sonnet 5 ifโ€ฆ
  • Higher GPQA Diamond (90.5% vs 78.5%)
  • Higher FrontierMath T1โ€“3 (65.6% vs 44.9%)
  • Higher FrontierMath T4 (29.3% vs 12.2%)
  • Higher SimpleQA Verified (25.0% vs 12.0%)
  • Larger context window (1M)
  • Newer model (released Jun 2026)
FAQ
Which is better, GPT-5.4 Nano or Claude Sonnet 5?
Across the 5 benchmarks both models have independently-run scores for, GPT-5.4 Nano leads on 0 and Claude Sonnet 5 leads on 5. Benchmarks are one input โ€” price and context window are on this page too.
Is GPT-5.4 Nano cheaper than Claude Sonnet 5?
GPT-5.4 Nano is cheaper: $0.463 versus $4.00 per million tokens blended at 3:1 input:output. Input alone: $0.200 vs $2.00. Output alone: $1.25 vs $10.00.
What context windows do GPT-5.4 Nano and Claude Sonnet 5 have?
GPT-5.4 Nano: 400,000 tokens. Claude Sonnet 5: 1,000,000 tokens.
Who makes GPT-5.4 Nano and Claude Sonnet 5?
GPT-5.4 Nano is made by OpenAI. Claude Sonnet 5 is made by Anthropic.
Related comparisons