LLM Comparison

Claude Sonnet 5.5 vs Grok 4.7

Side-by-side specs, pricing & capabilities

Add to comparison

2/6 models
Same tier:
 AnthropicClaude Sonnet 5.5xAIGrok 4.7
OrganizationAnthropicAnthropicxAIxAI
OpenTools Score
FamilyClaude SonnetGrok
StatusCurrentCurrent
Release DateSep 2026Sep 2026
Context Window1.0M tokens500K tokens
Input Price$2.00/M tokens$2.00/M tokens
Output Price$10.00/M tokens$6.00/M tokens
Pricing NotesAnthropic Claude API standard tier, USD per million tokens: $2 input, $10 output; 5-minute cache writes $2.50, 1-hour cache writes $4, cache reads $0.20. Batch API gives 50% off input and output. A 300K output limit is available only for Message Batches API with the output-300k-2026-03-24 beta header; standard maximum output is 128K. Provider and regional terms may vary.SpaceXAI xAI API global standard tier, USD per million tokens. Below 200,000 prompt tokens: $2 input, $0.50 cached input, $6 output. Above 200,000 prompt tokens: $4 input, $1 cached input, $12 output. Fast serving and regional endpoints have separate conditions. The provider explicitly states there is no text output limit; no numeric maxOutputTokens is asserted.
Capabilities
textvisionreasoningcodingtool-uselong-contextcontext-caching
codingreasoningvisiontool-usestructured-outputlong-contextcontext-caching
Training Cutoff2026-06—
Max Output128K tokens—
API Identifierclaude-sonnet-5-5grok-4.7
Benchmarks
Artificial Analysis Intelligence Index v4.3.2—
42.2 indexartificial-analysis
Artificial Analysis Intelligence Index v4.3.2
56 indexartificial-analysis
—
 View Claude Sonnet 5.5View Grok 4.7

Cost Calculator

Enter your expected monthly token usage to compare costs.

ModelInputOutputTotal / movs Best
Grok 4.7Cheapest$2.00$3.00$5.00—
Claude Sonnet 5.5$2.00$5.00$7.00+40%

Looking for more AI models?

Browse All LLMs