Skip to content
optera

Cost and performance comparison

Grok 4.5 vs Grok 4.7

Model AxAI

Grok 4.5

Capability score (editorial)90/100
Cost / 1M Tokens
$3.20
70% in · 30% out mix
Value Index (score÷cost)
28.1
Higher = better value
Speed
89/100
Context
500K
Tier
Smart Tier

List price from the xAI pricing page, verified October 12, 2026.

Check the source

How we verify prices

Model BxAI

Grok 4.7

Capability score (editorial)92/100
Cost / 1M Tokens
$3.20
70% in · 30% out mix
Value Index (score÷cost)
28.8
Higher = better value
Speed
89/100
Context
500K
Tier
Smart Tier

List price from the xAI pricing page, verified October 12, 2026.

Check the source

How we verify prices

In-depth analysis

Grok 4.5 vs Grok 4.7: Detailed Comparison

Grok 4.5 is xAI's mid-range-tier language model with a 500K-token context window, excelling at reasoning. Grok 4.7 from xAI is a mid-range-tier model supporting 500K tokens in context, with standout performance in reasoning.

Price is not the deciding factor here. For the same text, Grok 4.5 and Grok 4.7 land within 0% of each other, which is inside the margin your own input/output ratio will move anyway. Pick on capability, context, or latency instead — the monthly bill will look much the same either way. Grok 4.5 is priced at $2.00/M input tokens and $6.00/M output tokens. Grok 4.7 costs $2.00/M input and $6.00/M output.

On iOPTERA's editorial scores, Grok 4.7 leads with 91/100 for coding and 92/100 for reasoning, against Grok 4.5's 89/100 and 90/100.

Capability breakdown

Across the five core benchmark categories, here is how Grok 4.5 and Grok 4.7 stack up head to head:

coding
89
91
reasoning
90
92
data extraction
88
90
creative tasks
89
90
vision/multimodal
86
88

Best model by task

  • coding: Grok 4.7 wins with 91/100
  • reasoning: Grok 4.7 wins with 92/100
  • data extraction: Grok 4.7 wins with 90/100
  • creative tasks: Grok 4.7 wins with 90/100
  • vision/multimodal: Grok 4.7 wins with 88/100

Estimated monthly cost at scale

For 10M + 2M tokens of text a month (counted the way OpenAI's tokenizer counts), Grok 4.5 runs about $32.00 while Grok 4.7 runs about $32.00 — Grok 4.5 saves roughly $0.00 (0%) every month.

What actually decides it

Both models come from xAI, so they share a tokenizer, an API surface, and a billing account. Switching between them is a model-string change and nothing else — no new SDK, no re-tokenizing your prompts to re-estimate cost, no second vendor to onboard. That makes routing between them far cheaper to implement than a cross-vendor split.

Grok 4.7 and Grok 4.5 were released within 2 months of each other, so they are competing on the same evaluations under roughly the same conditions. That makes a direct benchmark comparison meaningful here in a way it usually is not — neither model has the advantage of being measured on a newer, easier set of tests.

Context is effectively a tie: 500K against 500K. Neither model unlocks a document size the other cannot handle, so this axis should not enter the decision. If you were hoping context would break the tie for you, it will not.

Throughput is close enough to ignore — 89/100 versus 89/100. Neither model will feel noticeably quicker in an interactive product, so latency is not a reason to choose between them.

With prices this close (0% apart), pick on fit rather than cost. Grok 4.7 holds the benchmark edge; weigh that against where each one is weakest — vision processing and vision processing respectively — and use the calculator above with your own token mix.

What you actually pay

The list price is only the start. Prompt caching, batch processing and long prompts change the bill, and each provider sets them differently. Prices per 1M tokens.

Pricing terms beyond the list price, per 1M tokens
Pricing termGrok 4.5Grok 4.7
List price (input / output)$2.00 / $6.00$2.00 / $6.00
Cached input$0.3015% of the input price$0.5025% of the input price
Batch APINot on the price pageNot on the price page
Long promptsFrom 200K tokens: $4.00 / $12.00From 200K tokens: $4.00 / $12.00
Input with 80% cache hits$0.64$0.80

With 80% of input served from the cache, Grok 4.5 costs 20% less than Grok 4.7 for the same input text, counting each model's tokenizer.The tokenizer factor for Grok 4.5, Grok 4.7 is our estimate until it is measured.

The last row assumes 80% of input tokens are read from the cache, as in a chat app that re-sends a long system prompt or RAG over the same documents. Cache-write and storage charges are not included.

Checked on October 8, 2026 against the pricing pages of xAI.

Capability scores

iOPTERA editorial scores across 5 categories — informed by public benchmarks, not measured by us

CategoryGrok 4.5Grok 4.7Winner

Coding

89
91
B

Reasoning

90
92
B

Extraction

88
90
B

Creative

89
90
B

Vision

86
88
B
Grok 4.5: 0 wins
Grok 4.7: 5 wins
Grok 4.7 leads overall

Speed Score

89/100vs89/100
GrokGrok

Context Window

500Kvs500K
GrokGrok

What Is a Token?

Models don't read words — they process tokens.

A token is roughly 4 characters of English text (~¾ of a word). Your API bill is priced per million tokens — understanding this directly reduces your costs.

Short phrase

"Hello, world!"

4 tokens
Grok 4.5
$0.80
Grok 4.7
$0.80

Business email

One typical email (~200 words)

~270 tokens
Grok 4.5
$54.00
Grok 4.7
$54.00

Code file

50-line Python script

~400 tokens
Grok 4.5
$80.00
Grok 4.7
$80.00

Prices shown are for 100,000 runs of each workload — one run costs a fraction of a cent on both Grok 4.5 and Grok 4.7, so the number only becomes meaningful at production volume. Input tokens only; add your output volume in the calculator below.

How to check your token usage

response.usage.total_tokens

Every API response includes a usage object. Sum total_tokens across all calls to get your monthly figure, then use the calculator below.

Your Cost Calculator

Enter your actual monthly token usage to see real savings

Quick Presets

30M tokens
Prompt 70%Completion 30%
Cheaper

Grok 4.5

$96.00/mo

$1,152.00/yr

$2.00/M input$6.00/M output

Grok 4.7

$96.00/mo

$1,152.00/yr

$2.00/M input$6.00/M output

Related Comparisons

Explore similar model pairs to find your best fit