Grok 4 pricing (retired)

Retired model. xAI has superseded Grok 4 — the prices below are the last ones we verified and are kept for reference. Its replacement is Grok 4.6 ($2 / $6 per 1M in / out).

What one task cost on Grok 4

Per-million-token prices are hard to feel, so here are typical token counts for common jobs priced with Grok 4. Figures are USD at the rates above and exclude prompt caching and batch discounts.

TaskTokens (in / out)Cost
Code review of a 500-line pull request60,000 / 4,000$0.240
Debug one failing test40,000 / 6,000$0.210
Generate a landing page in one shot3,000 / 30,000$0.459
Draft a 1,200-word article2,000 / 2,500$0.043
Answer a question from a 20-page document25,000 / 800$0.087
Multi-step agent run (10 tool calls)250,000 / 25,000$1.13
All of the above, once$2.16

Grok 4 by xAI costs $3 per 1M input tokens and $15 per 1M output tokens — about 83.3k tokens per $1. Prices last verified 2026-09-19 (historical).

Grok 4 key facts

ProviderGrok pricing
Input price$3 / 1M tokens
Output price$15 / 1M tokens
Tokens / $183.3k
Intelligence / $118,333
Context window256.0k tokens
Tierfrontier
Intelligence index22 / 100
Released2025-07-10
Last verified2026-09-19

What Grok 4 delivers for your budget

For a coding workload, here is roughly what each monthly budget buys:

BudgetTokens / monthMonths of workload
$203.5M5.3x
$508.7M13.3x
$10017.3M26.7x

Other Grok models

How Grok 4 compares to its closest rivals

Rather than repeating the full catalog on every page, here are the three current models nearest to Grok 4 on the intelligence index — and why you might still pick one instead:

  • Muse Glimmer (high) (Llama) — $0.33 input / $1.35 output per 1M tokens.
  • Claude Haiku 4.5 (Claude) — $1 input / $5 output per 1M tokens. Why you might pick it: Fast, cheap Claude for light tasks.
  • Mistral Medium 3.5 (Mistral) — $1.50 input / $7.50 output per 1M tokens. Why you might pick it: Mistral's open frontier tier.

Grok 4 — frequently asked questions

How much does Grok 4 cost?

Grok 4 by xAI costs $3 per 1M input tokens and $15 per 1M output tokens.

How many tokens per dollar does Grok 4 give you?

On a typical 1:3 input-to-output mix, Grok 4 delivers around 83.3k tokens per dollar — an intelligence-per-dollar score of 18333.

What is Grok 4's context window?

Grok 4 supports a context window of 256.0k tokens.

Is Grok 4 worth it in 2026?

Grok 4 is Grok's frontier tier model. Use the AI Intelligence Calculator to see how its value compares to every other model at your budget.

Advertisement