Anthropic
Anthropic
vs
xAI
xAI

Claude 3.7 Sonnet 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 3.7 Sonnet wins:

  • No clear advantages in compared metrics

Grok 4 wins:

  • Larger context window
Price Advantage
Claude 3.7 Sonnet
Benchmark Advantage
Claude 3.7 Sonnet
Context Window
Grok 4
Speed
N/A

Pricing Comparison

Benchmark Comparison

Context & Performance

Capabilities

Feature Comparison

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

License & Release

PropertyClaude 3.7 SonnetGrok 4
LicenseProprietaryProprietary
AuthorAnthropicxAI
ReleasedFeb 2025Jul 2025

Claude 3.7 Sonnet Modalities

Input
textimagefile
Output
text

Grok 4 Modalities

Input
imagetext
Output
text

Frequently Asked Questions

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