LLM Comparison
Claude Sonnet 5.5 vs Grok 4.7
Side-by-side specs, pricing & capabilities
Add to comparison
2/6 models| Organization | ||
| OpenTools Score | ||
| Family | Claude Sonnet | Grok |
| Status | Current | Current |
| Release Date | Sep 2026 | Sep 2026 |
| Context Window | 1.0M tokens | 500K tokens |
| Input Price | $2.00/M tokens | $2.00/M tokens |
| Output Price | $10.00/M tokens | $6.00/M tokens |
| Pricing Notes | Anthropic 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 Cutoff | 2026-06 | — |
| Max Output | 128K tokens | — |
| API Identifier | claude-sonnet-5-5 | grok-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.5 | View Grok 4.7 | |
Cost Calculator
Enter your expected monthly token usage to compare costs.
| Model | Input | Output | Total / mo | vs Best |
|---|---|---|---|---|
| Grok 4.7Cheapest | $2.00 | $3.00 | $5.00 | — |
| Claude Sonnet 5.5 | $2.00 | $5.00 | $7.00 | +40% |
Anthropic
Claude Sonnet 5.5
Claude Sonnet 5.5 is Anthropic's proprietary adaptive-reasoning model. The Claude API identifier is claude-sonnet-5-5. It accepts text and images, returns text, has a 1,000,000-token context window and a 128,000-token standard output limit. Anthropic lists standard API input and output pricing at $2 and $10 per million tokens.
xAI
Grok 4.7
Grok 4.7 is SpaceXAI's proprietary coding and knowledge-work model, available as grok-4.7 on the xAI API. It accepts text and images, returns text, and offers a 500,000-token context window. SpaceXAI's release notes specify no text output limit. Standard global API pricing starts at $2 input and $6 output per million tokens, with separate cached-input and long-context rates.
More Comparisons
Looking for more AI models?
Browse All LLMs