Grok 4.7 vs Claude Opus 5.5
Official xAI and Anthropic API prices and LMArena scores, checked 2026-10-21. Add up to 2 more models to compare 4.
Grok 4.7 costs less; Claude Opus 5.5 wins more LMArena tasks.
Grok 4.7 is 2x cheaper on input and 3.3x cheaper on output. Claude Opus 5.5 scores 100 points higher for creative writing. Across 7 shared LMArena tasks, Claude Opus 5.5 leads 7 to 0. Claude Opus 5.5 has the longer context window (1M vs 500K tokens). A medium month (20M input + 5M output tokens) costs $70 on Grok 4.7 and $180 on Claude Opus 5.5.
- Pick Grok 4.7 if you want the lower bill ($70 vs $180 for a medium month).
- Pick Claude Opus 5.5 if you care most about creative writing (+100), vision (+84) and chat (+73), you need the 1M context window or you reuse long prompts (cached input $0.20 vs $0.50).
Medium: 20M input + 5M output tokens a month at list price (short-context rate, no caching or batch discounts).
Marked side is better: lower for prices, higher for context and scores. Bars are scaled to the larger of the two.
| Spec | Grok 4.7 | Claude Opus 5.5 |
|---|---|---|
| Price per 1M tokens | ||
| Input | $2 | $4 |
| Cached input | $0.50 | $0.20 |
| Output | $6 | $20 |
| Blend 3:1 | $3 | $8 |
| Sample month, medium | $70 | $180 |
| Context | ||
| Context window | 500K tokens | 1M tokens |
| Quality (LMArena, out of 100) | ||
| Coding | 37/100 #13 of 23 | 100/100 #1 of 23 |
| Chat | 0/100 #21 of 25 | 73/100 #3 of 25 |
| Creative writing | 0/100 #22 of 25 | 100/100 #1 of 25 |
| Roleplay and characters | 0/100 #25 of 25 | 34/100 #4 of 25 |
| Reasoning and math | 0/100 #22 of 25 | 71/100 #5 of 25 |
| Vision | 0/100 #19 of 22 | 84/100 #3 of 22 |
| Long documents | Not ranked | Not ranked |
| Cheap bulk and agents | 47/100 #13 of 23 | 100/100 #1 of 23 |
| Details | ||
| Provider | xAI | Anthropic |
| API model id | grok-4.7 | claude-opus-5.5 |
| Notes | Prompts under 200K. Longer prompts cost $4 in, $12 out. | 5-minute cache writes $5. |
| Sources | ||
| Last checked | 2026-10-21 | 2026-10-21 |
| Official pricing | xAI pricing | Anthropic pricing |
Plans from data checked hourly against each vendor's official pricing page. Vendors state limits in different units, so we quote them as published. Team and enterprise plans are per seat.
API prices in USD per 1M tokens from each provider's official pricing page. Blend 3:1 = (3 x input + output) / 4. Sample month = stated input and output tokens at the list price, no caching. Quality: relative score out of 100 on each LMArena leaderboard (100 = top model we price on that board, n/a = not ranked there), data licensed CC BY 4.0. See how we pick.
Where each one ranks on LMArena
Relative score out of 100 on each leaderboard (100 = the top model we price there), with the rank among the models from our API price table that appear on that board.
- Coding (Code Arena): Grok 4.7 #13 of 23 (37/100), Claude Opus 5.5 #1 of 23 (100/100)
- Chat (Text Arena): Grok 4.7 #21 of 25 (0/100), Claude Opus 5.5 #3 of 25 (73/100)
- Creative writing (Text Arena creative writing): Grok 4.7 #22 of 25 (0/100), Claude Opus 5.5 #1 of 25 (100/100)
- Roleplay and characters (Text Arena multi-turn): Grok 4.7 #25 of 25 (0/100), Claude Opus 5.5 #4 of 25 (34/100)
- Reasoning and math (Text Arena math): Grok 4.7 #22 of 25 (0/100), Claude Opus 5.5 #5 of 25 (71/100)
- Vision (Vision Arena): Grok 4.7 #19 of 22 (0/100), Claude Opus 5.5 #3 of 22 (84/100)
- Long documents (Document Arena): Grok 4.7 not ranked, Claude Opus 5.5 not ranked
- Cheap bulk and agents (Agent Arena): Grok 4.7 #13 of 23 (47/100), Claude Opus 5.5 #1 of 23 (100/100)
Pricing details from the official pages
Grok 4.7 lists $2 input, $6 output, $0.50 cached input per 1M tokens on xAI pricing. Claude Opus 5.5 lists $4 input, $20 output, $0.20 cached input per 1M tokens on Anthropic pricing. Prices checked 2026-10-21.
- Grok 4.7: Prompts under 200K. Longer prompts cost $4 in, $12 out.
- Claude Opus 5.5: 5-minute cache writes $5.
Sample monthly bill at list price, no caching: Light (2M input + 0.5M output tokens): $7 vs $18. Medium (20M input + 5M output tokens): $70 vs $180. Heavy (200M input + 50M output tokens): $700 vs $1,800.
FAQ
Is Grok 4.7 cheaper than Claude Opus 5.5?
Grok 4.7 costs $2 input and $6 output per 1M tokens; Claude Opus 5.5 costs $4 and $20. For a medium month (20M input + 5M output tokens) Grok 4.7 is cheaper: $70 vs $180.
Which is better for coding, Grok 4.7 or Claude Opus 5.5?
On LMArena's Code Arena Grok 4.7 scores 37/100 (#13 of 23) and Claude Opus 5.5 100/100 (#1 of 23), so Claude Opus 5.5 is ahead by 63 points.
Which has the bigger context window?
Grok 4.7: 500K tokens. Claude Opus 5.5: 1M tokens. Long prompts can cost more; see the pricing notes above.
How much do Grok 4.7 and Claude Opus 5.5 cost per month?
Light (2M input + 0.5M output tokens): $7 vs $18. Medium (20M input + 5M output tokens): $70 vs $180. Heavy (200M input + 50M output tokens): $700 vs $1,800. Pick your own token counts in the plan vs API calculator.
Where do these numbers come from?
Prices come from each provider's official pricing page, checked daily. Quality is the relative score on the LMArena leaderboard dataset, licensed CC BY 4.0. Where a model is not ranked we show n/a.