Compare

Claude Code vs Grok

Compare Claude Code vs Grok: pricing, context window, benchmarks (coding, math, reasoning), capabilities. Updated April 2026.

Updated April 2026

Open in compare tool — pick different models →
Claude Code
Anthropic · Claude Sonnet / Opus 4.x
claude.com/claude-code ↗
Grok
xAI · Grok 4
grok.com ↗
Pricing
Free tier
Not free — requires Claude Pro or API credits
Free with X account, throttled
Standard plan
Claude Pro — $20/mo
SuperGrok — $30/mo
Top plan
Claude Max 20× — $200/mo
Heavy — $300/mo
API input / 1M tokens
$3.00 Best
$5.00
API output / 1M tokens
$15.00
$15.00 Best
Capability
Context window
1M Best
256K
Max output tokens
64K Best
16K
Knowledge cutoff
2026-03
2026-02
Benchmarks
Coding (LiveCodeBench)
68% Best
Math (AIME 2025)
75% Best
Reasoning (GPQA Diamond)
76% Best
Human pref. (LMArena Elo)
1378 Best
Features
Image input
Voice mode
Partial
Web search
File upload
Image generation
Code execution
Partial
Agent / tool use
Partial
Persistent memory
Partial
Claude Code

Anthropic's CLI coding agent. Same Claude models as the chat product, but optimized for autonomous, multi-file refactoring with bash + edit tools. Strongest at large-codebase reasoning.

Grok

Real-time X data feed. Image gen via Aurora. Less guarded tone than other frontier models.

Or skip the choice

Get all 2 of them — plus 30+ more — for $14.99/month.

Perspective AI bundles ChatGPT-class, Claude, Gemini, and Grok in one app. Switch mid-conversation. No per-vendor logins, no separate bills.

Launch app →