Last verified 2025-09-22 (left) · 2025-09-22 (right)
Claude Sonnet 3.7 (Legacy) vs Grok 4 — Pricing & Capability Comparison
Claude Sonnet 3.7 (Legacy) charges $3.00 per million input tokens and $15.00 per million output tokens. Grok 4 comes in at $3.00 / $15.00. Context windows span 200K vs 256K tokens respectively.
Input price (per 1M)
Claude Sonnet 3.7 (Legacy)
$3.00
Grok 4
$3.00
Claude Sonnet 3.7 (Legacy) leads here
Output price (per 1M)
Claude Sonnet 3.7 (Legacy)
$15.00
Grok 4
$15.00
Claude Sonnet 3.7 (Legacy) leads here
Context window
Claude Sonnet 3.7 (Legacy)
200,000 tokens
Grok 4
256,000 tokens
Grok 4 leads here
Cached input
Claude Sonnet 3.7 (Legacy)
Not published
Grok 4
$0.750
Grok 4 leads here
Cost comparison for 10K-token workloads
Side-by-side pricing for identical workloads (10,000 total tokens per request) across different distributions.
Scenario | Claude Sonnet 3.7 (Legacy) | Grok 4 | Grok 4 cached |
---|---|---|---|
Balanced conversation 50% input · 50% output | $0.0900 | $0.0900 | $0.0788 |
Input-heavy workflow 80% input · 20% output | $0.0540 | $0.0540 | $0.0360 |
Generation heavy 30% input · 70% output | $0.114 | $0.114 | $0.107 |
Cached system prompt 90% cached input · 10% fresh output | $0.0420 | $0.0420 | $0.0217 |
Frequently asked questions
Which model is cheaper per million input tokens?
Claude Sonnet 3.7 (Legacy) costs $3.00 per million input tokens versus $3.00 for Grok 4.
How do output prices compare?
Claude Sonnet 3.7 (Legacy) charges $15.00 per million output tokens, while Grok 4 costs $15.00 per million.
Which model supports a larger context window?
Grok 4 offers 256,000 tokens (256K) versus 200K for Claude Sonnet 3.7 (Legacy).