Grok 4 API Pricing

SpaceXAI · released 2025-07-10

Pricing

$3.00
input / 1M tokens
0.300¢ / 1K
$15.00
output / 1M tokens
1.50¢ / 1K
$6.00
blended / 1M tokens
0.600¢ / 1K

What it actually costs

WorkloadTokensCost
Short chat reply500 in / 300 out0.6¢
RAG query4,000 in / 500 out$0.0195
Long document summary50,000 in / 1,000 out$0.1650
Code review of a 2k-line file30,000 in / 2,000 out$0.1200
1,000 chat replies/day for 30 days30,000 × (500 in / 300 out)$180.00

Cost = (input tokens ÷ 1,000,000 × $3.00) + (output tokens ÷ 1,000,000 × $15.00).

Benchmarks

22.5
Intelligence
#108 of 533
Coding
92.7
Math
#15 of 249
Tokens/sec
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
Hy3-preview (Reasoning)22.7$0.10
Ling 3.0 Flash24.9$0.111
Ling-3.0-flash-VL24.6$0.111
MiMo-V2-Flash (Reasoning)20.8$0.15
MiMo-V2.525.2$0.175

Leaderboard neighbours

ModelIntelligenceBlended $/1M
GPT-5.5 Instant (May 2026)22.7$11.25
Hy3-preview (Reasoning)22.7$0.10
Ling-3.0-flash-Fin22.6
Grok 422.5$6.00
MiMo-V2-Flash (Feb 2026)22.4
GLM-4.7 (Reasoning)22.2$1.00
Gemini 3.5 Flash-Lite22.2$0.85

More from SpaceXAI

ModelIntelligenceBlended $/1M
Grok 4.7 (xhigh)46.4$3.00
Grok 4.6 (high)44.3$3.00
Grok 4.5 (high)38.8$3.00
Grok Build 0.1 061627.2$1.25
Grok 4.20 0309 v2 (Reasoning)25.7$1.563
Grok 4.20 0309 (Reasoning)25.2$3.00
Grok 4.3 (high)24.9$1.563
Grok 4.1 Fast (Reasoning)20.4

Count tokens & estimate cost for Grok 4 See Grok 4 on the leaderboard

Source: Artificial Analysis · last synced 2026-09-22

FAQ

Who develops Grok 4?

Grok 4 is developed by SpaceXAI, released 2025-07-10.

How much does Grok 4 cost per million tokens?

Grok 4 costs $3.00 per 1M input tokens and $15.00 per 1M output tokens ($6.00 blended), per Artificial Analysis's official pricing data.

How does Grok 4 rank on benchmarks?

Grok 4 scores 22.5 on the Artificial Analysis Intelligence Index, ranking #108 of 533 models we track.

Is there a cheaper model with similar intelligence to Grok 4?

Yes — Hy3-preview (Reasoning) scores similar intelligence (22.7) at $0.10/1M blended, versus $6.00/1M for Grok 4.

Where does this data come from?

Pricing and benchmark data for Grok 4 comes from Artificial Analysis (artificialanalysis.ai), synced daily. Last synced 2026-09-22.