47 model prices
  1. Home
  2. Models
  3. Comparisons
  4. Claude Opus 5.5 vs Grok 4.7

Claude Opus 5.5 vs Grok 4.7: API pricing and context window

Grok 4.7 is 50% cheaper than Claude Opus 5.5 for input ($2.00 vs $4.00 per 1M tokens) and 70% cheaper for output ($6.00 vs $20.00). Context window: 1,000,000 tokens for Claude Opus 5.5, 500,000 for Grok 4.7. A 10K-input, 1K-output request costs $0.06 on Claude Opus 5.5 and $0.026 on Grok 4.7.

Last updated: Pricing data: LiteLLM (MIT)

Claude Opus 5.5
$4.00 / $20.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

FieldClaude Opus 5.5Grok 4.7Claude Opus 5.5 vs Grok 4.7
Input$4.00$2.00+100%
Output$20.00$6.00+233%
Cached input$0.20$0.50-60%
Context window1,000,000500,000+100%
Long-context thresholdnone200,000
Batch API input$2.00$1.60+25%
Batch API output$10.00$4.80+108%
Image inputYesYes
Function callingYesYes
ReasoningYesYes
Prompt cachingYesYes
Web searchYesYes
Structured outputYesYes

Cost per task

TaskClaude Opus 5.5Grok 4.7Cheaper
Chat request (10K in + 1K out)$0.06$0.026Grok 4.7 (57% less)
Codebase question (100K in + 2K out)$0.44$0.212Grok 4.7 (52% less)
Same question, context cached (100K cached + 2K out)$0.06$0.062Claude Opus 5.5 (3% less)
Long document (300K in + 4K out)$1.28$1.25Grok 4.7 (3% less)
1M tokens a month (750K in + 250K out)$8.00$3.00Grok 4.7 (63% less)

Estimate your own workload in the calculator

Which one to pick

Full pages: Claude Opus 5.5 · Grok 4.7

More comparisons

Questions

Which is cheaper, Claude Opus 5.5 or Grok 4.7?

Grok 4.7 is 50% cheaper than Claude Opus 5.5 for input ($2.00 vs $4.00 per 1M tokens) and 70% cheaper for output ($6.00 vs $20.00). A 10K-input, 1K-output request costs $0.06 on Claude Opus 5.5 and $0.026 on Grok 4.7.

Which has the larger context window, Claude Opus 5.5 or Grok 4.7?

Claude Opus 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 Opus 5.5 and Grok 4.7?

A chat request with 10K input and 1K output tokens costs $0.06 on Claude Opus 5.5 and $0.026 on Grok 4.7. A 100K-token codebase question with a 2K answer costs $0.44 and $0.212.

What are the differences between Claude Opus 5.5 and Grok 4.7?

Claude Opus 5.5 / Grok 4.7: input: $4.00 / $2.00; output: $20.00 / $6.00; cached input: $0.20 / $0.50; context window: 1,000,000 / 500,000; long-context threshold: none / 200,000; Batch API input: $2.00 / $1.60; Batch API output: $10.00 / $4.80.