Model comparison - Similar price, same tier
Claude Sonnet 5.5 vs Grok 4.7
Claude Sonnet 5.5 is from Anthropic and Grok 4.7 is from xAI. On list price, both charge $2 per 1M input tokens, and Claude Sonnet 5.5 charges 1.7x Grok 4.7's output price ($10 vs $6 per 1M tokens). Claude Sonnet 5.5 has a 1,000,000-token context window and Grok 4.7 500,000 tokens; Claude Sonnet 5.5 returns up to 128,000 output tokens per response, and no primary source states a max output for Grok 4.7. Claude Sonnet 5.5 was released on September 28, 2026 and Grok 4.7 on September 21, 2026. Both are closed-weights models, available only through an API.
Last verified from each provider's pricing page. All sources
Side-by-side specs
| Spec | Claude Sonnet 5.5 | Grok 4.7 |
|---|---|---|
| Provider | Anthropic | xAI |
| Input / 1M tokens | $2 | $2 |
| Output / 1M tokens | $10 | $6 |
| Cache read / 1M | $0.10 | $0.50 |
| Cache write / 1M | $2.50 | - |
| Batch input / 1M | $1 | - |
| Batch output / 1M | $5 | - |
| Long-context rates above | - | 200,000 tokens |
| Context window | 1,000,000 | 500,000 |
| Max output | 128,000 | - |
| Release date | ||
| Weights | Closed | Closed |
| API model id | claude-sonnet-5-5 | grok-4.7 |
| AI Gateway id | anthropic/claude-sonnet-5.5 | spacexai/grok-4.7 |
| Last verified |
Prices in USD per 1M tokens at each provider's standard first-party rate. A dash means the provider does not bill that item separately or no primary page states it.
What each costs in practice
The same three workloads every model page uses, worked from each model's standard list rates. Swap in your own token counts with the math on each model's page.
| Workload | Claude Sonnet 5.5 | Grok 4.7 |
|---|---|---|
| One agent session1M input tokens and 100K output tokens, no caching. | $3.00 | $2.60 |
| A chat app10,000 requests a day at 2K input and 500 output tokens each. | $90.00$2,700.00 per 30-day month | $70.00$2,100.00 per 30-day month |
| The same session at a 90% cache hit90% of the input is read from the prompt cache. The one-time cache write premium is not included. | $1.29 | $1.25 |
Show the math
Claude Sonnet 5.5
- One agent sessionInput: 1M x $2 = $2.00Output: 0.1M x $10 = $1.00
- A chat appInput: 20M x $2 = $40.00Output: 5M x $10 = $50.00
- The same session at a 90% cache hitCached input: 0.9M x $0.10 = $0.09Uncached input: 0.1M x $2 = $0.20Output: 0.1M x $10 = $1.00
Grok 4.7
- One agent sessionInput: 1M x $2 = $2.00Output: 0.1M x $6 = $0.60
- A chat appInput: 20M x $2 = $40.00Output: 5M x $6 = $30.00
- The same session at a 90% cache hitCached input: 0.9M x $0.50 = $0.45Uncached input: 0.1M x $2 = $0.20Output: 0.1M x $6 = $0.60
Benchmarks under the same setting
No board in the benchmark directory lists both Claude Sonnet 5.5 and Grok 4.7 under the same setting, so there is no like-for-like score to show here.
Set them up in your tools
Step-by-step guides whose official docs list Claude Sonnet 5.5 or Grok 4.7 by model id.
- Use Grok in ClineLists Grok 4.7
- Use Grok in Codex CLILists Grok 4.7
- Use Grok in ContinueLists Grok 4.7
- Use Grok in GitHub CopilotLists Grok 4.7
- Use Grok in GooseLists Grok 4.7
- Use Grok in Kilo CodeLists Grok 4.7
- Use Grok in OpenCodeLists Grok 4.7
- Use Grok in Roo CodeLists Grok 4.7
- Use Grok in ZedLists Grok 4.7
Model pages
FAQ
How do Claude Sonnet 5.5 and Grok 4.7 compare on price?
On list price, both charge $2 per 1M input tokens, and Claude Sonnet 5.5 charges 1.7x Grok 4.7's output price ($10 vs $6 per 1M tokens). For one agent session of 1M input and 100K output tokens with no caching, that is $3.00 on Claude Sonnet 5.5 and $2.60 on Grok 4.7. Prices are each provider's first-party list rates, verified October 17, 2026 and October 17, 2026.
What are the context windows of Claude Sonnet 5.5 and Grok 4.7?
Claude Sonnet 5.5 has a 1,000,000-token context window and Grok 4.7 500,000 tokens; Claude Sonnet 5.5 returns up to 128,000 output tokens per response, and no primary source states a max output for Grok 4.7.
Are Claude Sonnet 5.5 and Grok 4.7 open weights?
Claude Sonnet 5.5 is closed-weights and is called through Anthropic's API as claude-sonnet-5-5. Grok 4.7 is closed-weights and is called through xAI's API as grok-4.7.
More comparisons
- Claude Sonnet 5.5 vs Gemini 4 ArgonSimilar price, same tier
- Gemini 4 Argon vs Grok 4.7Similar price, same tier
- Claude Sonnet 5.5 vs GPT-6.1 SolSimilar price, same tier
- GPT-6.1 Sol vs Grok 4.7Similar price, same tier
- Claude Sonnet 5.5 vs GLM-5.3Open weights vs closed
- Claude Opus 5.5 vs Grok 4.7Similar price, same tier
- Claude Sonnet 5.5 vs Qwen3.8-2.4T-A95BSimilar price, same tier
- Grok 4.6 vs Grok 4.7Same provider, successor
Sources
Claude Sonnet 5.5 verified from platform.claude.com; Grok 4.7 verified from docs.x.ai. This page is as current as the older of the two: .
- https://platform.claude.com/docs/en/about-claude/pricing
- https://docs.x.ai/developers/pricing
- https://platform.claude.com/docs/en/models/sonnet-5-5/overview
- https://platform.claude.com/docs/en/about-claude/models/overview
- https://platform.claude.com/docs/en/release-notes/overview
- https://docs.x.ai/developers/models
- https://docs.x.ai/developers/models/grok-4.7
- https://docs.x.ai/developers/models/grok-4.7.md
- https://docs.x.ai/developers/release-notes
- https://x.ai/news
Newsletter
Get model price changes as they ship
One email per week. New model releases, price cuts and what they mean for your bill.