Anthropic
Anthropic
vs
xAI
xAI

Claude Sonnet 4.5 vs Grok 4

A detailed comparison of pricing, benchmarks, and capabilities

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

Key Takeaways

Claude Sonnet 4.5 wins:

  • Larger context window

Grok 4 wins:

  • No clear advantages in compared metrics
Price Advantage
Claude Sonnet 4.5
Benchmark Advantage
Claude Sonnet 4.5
Context Window
Claude Sonnet 4.5
Speed
N/A

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

FeatureClaude Sonnet 4.5Grok 4
Vision (Image Input)
Tool/Function Calls
Reasoning Mode
Audio Input
Audio Output
PDF Input
Prompt Caching
Web Search

License & Release

PropertyClaude Sonnet 4.5Grok 4
LicenseProprietaryProprietary
AuthorAnthropicxAI
ReleasedSep 2025Jul 2025

Claude Sonnet 4.5 Modalities

Input
textimagefile
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Frequently Asked Questions

Claude Sonnet 4.5 has cheaper input pricing at $3.00/M tokens. Claude Sonnet 4.5 has cheaper output pricing at $15.00/M tokens.
Claude Sonnet 4.5 has a 1,000,000 token context window, while Grok 4 has a 256,000 token context window.
Claude Sonnet 4.5 supports vision. Grok 4 supports vision.