AiCostCompare

Grok 4.7

by xAI · x-ai/grok-4.7 · #334 cheapest of 461 paid models

Prices updated Nov 18, 2026, 11:55 PM UTC · refreshed nightly

Grok 4.7 is SpaceXAI's flagship model for coding, agentic tasks, and knowledge work, succeeding Grok 4.6. It is particularly strong at long-running software engineering tasks, verifying its own work, and...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5GPT-5.6 Sol

Pricing

Input

$2.00

per 1M tokens

Output

$6.00

per 1M tokens

Blended (3:1)

$3.00

3 input : 1 output

Cache read

$0.50

per 1M cached tokens

Cache write

—

per 1M tokens

Cache & batch economics

Effective prices for Grok 4.7 with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$3.00$0.21—
50%$2.44$0.135−36%
90%$1.99$0.075−64%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates (available for OpenAI / Anthropic / Google — not flagged for this creator). Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$0.0028$2.80
Document summary8,0001,000$0.022$22.00
Codebase question (RAG)30,0002,000$0.072$72.00
Long-context analysis150,0005,000$0.33$330.00

Performance

Intelligence Index

35.5

AA composite quality

Coding Index

—

Math Index

—

Agentic Index

—

Output speed

—

median

Time to first token

—

median

Time to first answer

—

after reasoning tokens

Design Arena Elo

CategoryElo
Website1,241
Mobile apps1,244
UI components1,275
Data viz1,222
SVG1,268
3D1,244
Game dev1,299
Code categories1,261
blender3d1,163
codetovideo1,109
pdf1,193
spreadsheet1,416

Specs

Context window

500K

tokens

Max output

450K

tokens

Input modalities

text, image, file

Tokenizer

Grok