Price Per TokenPrice Per Token
Anthropic
Anthropic
vs
OpenAI
OpenAI

Claude 3.7 Sonnet vs GPT-5.4

A detailed comparison of pricing, benchmarks, and capabilities

Get our weekly newsletter on pricing changes, new releases, and tools.

Join the Price Per Token Community

Key Takeaways

Claude 3.7 Sonnet wins:

  • Better at math
  • Has reasoning mode

GPT-5.4 wins:

  • Cheaper input tokens
  • Larger context window
  • Faster response time
  • Higher intelligence benchmark
  • Better at coding
Price Advantage
GPT-5.4
Benchmark Advantage
GPT-5.4
Context Window
GPT-5.4
Speed
GPT-5.4

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureClaude 3.7 SonnetGPT-5.4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude 3.7 SonnetGPT-5.4
LicenseProprietaryProprietary
AuthorAnthropicOpenAI
ReleasedFeb 2025Mar 2026

Claude 3.7 Sonnet Modalities

Input
textimagefile
Output
text

GPT-5.4 Modalities

Input
textimagefile
Output
text

Frequently Asked Questions

GPT-5.4 has cheaper input pricing at $2.50/M tokens. Claude 3.7 Sonnet has cheaper output pricing at $15.00/M tokens.
GPT-5.4 scores higher on coding benchmarks with a score of 41.0, compared to Claude 3.7 Sonnet's score of 26.7.
Claude 3.7 Sonnet has a 200,000 token context window, while GPT-5.4 has a 1,050,000 token context window.
Claude 3.7 Sonnet supports vision. GPT-5.4 supports vision.