Claude Sonnet 4.6 vs xAI: Grok 4

Compare Claude Sonnet 4.6 by Anthropic against xAI: Grok 4 by xAI, context windows of 1.0M vs 256K, tested across 38 shared challenges. Updated April 2026.

Which is better, Claude Sonnet 4.6 or xAI: Grok 4?

Claude Sonnet 4.6 and xAI: Grok 4 are both competitive models. Claude Sonnet 4.6 costs $3/M input tokens vs $3/M for xAI: Grok 4. Context windows: 1000K vs 256K tokens. Compare their real outputs side by side below.

Key Differences Between Claude Sonnet 4.6 and xAI: Grok 4

Claude Sonnet 4.6 is made by anthropic while xAI: Grok 4 is from xai. Claude Sonnet 4.6 has a 1000K token context window compared to xAI: Grok 4's 256K. On pricing, Claude Sonnet 4.6 costs $3/M input tokens vs $3/M for xAI: Grok 4.

Our Verdict
Claude Sonnet 4.6
Claude Sonnet 4.6
xAI: Grok 4
xAI: Grok 4Runner-up

No community votes yet. On paper, Claude Sonnet 4.6 has the edge — newer, bigger context window.

Too close to call
Writing DNA

Style Comparison

Similarity
97%

Claude Sonnet 4.6 uses 2.7x more emoji

Claude Sonnet 4.6
xAI: Grok 4
56%Vocabulary53%
36wSentence Length18w
0.53Hedging0.67
5.1Bold2.7
3.4Lists2.7
0.19Emoji0.07
2.10Headings0.86
0.02Transitions0.04
Based on 23 + 21 text responses
vs

Ask them anything yourself

Claude Sonnet 4.6xAI: Grok 4

279 AI models invented the same fake scientist.

We read every word. 250 models. 2.14 million words. This is what we found.

AI Hallucination Index 2026
Free preview13 of 58 slides
FAQ

Common questions