Grok 4.7 vs Claude Opus 5
Grok 4.7 is pitched at coding and knowledge work, Opus's core use cases, for far less per token. Both list prices from the makers’ own pages, and what three everyday jobs cost on each.
US dollars, standard rate, shortest context band. Price only: this page does not rank quality.
- Grok 4.7
- $8.40
- Claude Opus 5
- $25.00
- Grok 4.7, per M tokens
- $2 / $6
- Claude Opus 5, per M tokens
- $5 / $25
3,000 tokens in and 400 out each, at list price.
Per million tokens, Grok 4.7 costs $2 in and $6 out; Claude Opus 5 costs $5 in and $25 out. 1,000 support replies cost $25.00 on Claude Opus 5 and $8.40 on Grok 4.7, so Claude Opus 5 costs 3 times as much. Grok 4.7 reads up to 500K tokens at once, Claude Opus 5 up to 1M.
Side by side
Each maker’s published rate for its standard tier. Cached input is what a repeated prompt prefix costs once the provider has stored it.
| Fact | Grok 4.7 | Claude Opus 5 |
|---|---|---|
| Maker | xAI | Anthropic |
| Tier | Flagships | Flagships |
| Input, per M tokens | $2.00 | $5.00 |
| Output, per M tokens | $6.00 | $25.00 |
| Cached input | $0.50 | $0.50 |
| Context window | 500K | 1M |
| Released | Sep 2026 | 24 Jul 2026 |
| Weights | Closed | Closed |
What a job costs on each
1,000 runs of each job at the two list prices. The gap moves from job to job because the models price input, output and cached context differently.
| Job | Grok 4.7 | Claude Opus 5 | Cheaper |
|---|---|---|---|
| Support reply3,000 in, 400 out. | $8.40 | $25.00 | Grok 4.7, 66% less |
| Document summary25,000 in, 1,000 out. | $56.00 | $150 | Grok 4.7, 63% less |
| Agent task80,000 in (70,000 cached), 3,000 out. | $73.00 | $160 | Grok 4.7, 54% less |
The token counts are ours, chosen to look like real work; the prices are the makers’. A model with no published cache price bills the agent task’s repeated context at its full input rate.
The small print
What each base rate leaves out, from the makers’ own pages: surcharges, discounts, promotions and cache pricing.
- Grok 4.7
- Prompts of 200K tokens or more: $4 / $12, cached $1.00. Batch API not supported. Release notes give the month only. xAI’s pricing page
- Claude Opus 5
- Cache write $6.25 (5 min) or $10 (1 h). Fast mode $10 / $50. Batch API 50% off. US-only inference (inference_geo) bills 1.1x. Full context window billed at standard rates. Anthropic’s pricing page
Other comparisons
Every head to head on the list that involves Grok 4.7 or Claude Opus 5.
Run both for a quarter of list price
AIGROW API credit covers Grok 4.7 and Claude Opus 5 and is metered at the list prices above: $25 buys $100 of usage.
Prices checked 22 September 2026