- Home
- Models
- Comparisons
- Claude Sonnet 5.5 vs Grok 4.7
Claude Sonnet 5.5 vs Grok 4.7: API pricing and context window
Grok 4.7 and Claude Sonnet 5.5 cost the same for input ($2.00 per 1M tokens); Grok 4.7 is 40% cheaper for output ($6.00 vs $10.00). Context window: 1,000,000 tokens for Claude Sonnet 5.5, 500,000 for Grok 4.7. A 10K-input, 1K-output request costs $0.03 on Claude Sonnet 5.5 and $0.026 on Grok 4.7.
- Claude Sonnet 5.5
- $2.00 / $10.00 Input / Output, per 1M tokens · 1M context window
- Grok 4.7
- $2.00 / $6.00 Input / Output, per 1M tokens · 500K context window
Side by side
| Field | Claude Sonnet 5.5 | Grok 4.7 | Claude Sonnet 5.5 vs Grok 4.7 |
|---|---|---|---|
| Input | $2.00 | $2.00 | |
| Output | $10.00 | $6.00 | +67% |
| Cached input | $0.10 | $0.50 | -80% |
| Context window | 1,000,000 | 500,000 | +100% |
| Long-context threshold | none | 200,000 | |
| Batch API input | $1.00 | $1.60 | -38% |
| Batch API output | $5.00 | $4.80 | +4% |
| Image input | Yes | Yes | |
| Function calling | Yes | Yes | |
| Reasoning | Yes | Yes | |
| Prompt caching | Yes | Yes | |
| Web search | Yes | Yes | |
| Structured output | Yes | Yes |
Cost per task
| Task | Claude Sonnet 5.5 | Grok 4.7 | Cheaper |
|---|---|---|---|
| Chat request (10K in + 1K out) | $0.03 | $0.026 | Grok 4.7 (13% less) |
| Codebase question (100K in + 2K out) | $0.22 | $0.212 | Grok 4.7 (4% less) |
| Same question, context cached (100K cached + 2K out) | $0.03 | $0.062 | Claude Sonnet 5.5 (52% less) |
| Long document (300K in + 4K out) | $0.64 | $1.25 | Claude Sonnet 5.5 (49% less) |
| 1M tokens a month (750K in + 250K out) | $4.00 | $3.00 | Grok 4.7 (25% less) |
Estimate your own workload in the calculator
Which one to pick
- Claude Sonnet 5.5 is cheaper for a question with cached context and a long document; Grok 4.7 for a chat request, a codebase question and 1M tokens a month.
- Pick Claude Sonnet 5.5 for prompts over 500K tokens: it accepts up to 1,000,000 input tokens, Grok 4.7 up to 500,000.
- Grok 4.7 bills the whole request at $4.00 input and $12.00 output per 1M once a prompt passes 200K tokens; Claude Sonnet 5.5 lists no long-context surcharge.
- Through the Batch API, Claude Sonnet 5.5 is cheaper for input ($1.00 vs $1.60 per 1M tokens) and Grok 4.7 for output ($4.80 vs $5.00).
- Claude Sonnet 5.5 charges less for cached input reads: $0.10 vs $0.50 per 1M tokens.
Full pages: Claude Sonnet 5.5 · Grok 4.7
More comparisons
- Claude Opus 5.5 vs Grok 4.7
- Claude Opus 5 vs Grok 4.7
- GPT-6.2 Astra vs Grok 4.7
- GPT-5.5 vs Grok 4.7
- Gemini 3.1 Pro Preview vs Grok 4.7
- Claude Sonnet 5.5 vs GPT-5.4
- Claude Sonnet 5.5 vs Gemini 3.8 Flash
- Claude Sonnet 5.5 vs Gemini 3.5 Flash
Questions
Which is cheaper, Claude Sonnet 5.5 or Grok 4.7?
Grok 4.7 and Claude Sonnet 5.5 cost the same for input ($2.00 per 1M tokens); Grok 4.7 is 40% cheaper for output ($6.00 vs $10.00). A 10K-input, 1K-output request costs $0.03 on Claude Sonnet 5.5 and $0.026 on Grok 4.7.
Which has the larger context window, Claude Sonnet 5.5 or Grok 4.7?
Claude Sonnet 5.5 accepts more: 1,000,000 input tokens, against 500,000 for Grok 4.7.
How much does a typical request cost on Claude Sonnet 5.5 and Grok 4.7?
A chat request with 10K input and 1K output tokens costs $0.03 on Claude Sonnet 5.5 and $0.026 on Grok 4.7. A 100K-token codebase question with a 2K answer costs $0.22 and $0.212.
What are the differences between Claude Sonnet 5.5 and Grok 4.7?
Claude Sonnet 5.5 / Grok 4.7: output: $10.00 / $6.00; cached input: $0.10 / $0.50; context window: 1,000,000 / 500,000; long-context threshold: none / 200,000; Batch API input: $1.00 / $1.60; Batch API output: $5.00 / $4.80.