xAI
xAI
Frontier

Grok 4

Previous

The Grok 4 generation model that preceded the 4.3 flagship, with a 256K-token context window. Grok 4.3 supersedes it on both capability and price, so this entry is mainly relevant to workloads already pinned to Grok 4 behaviour.

Grok 4 is a frontier AI model from xAI. It costs $3.000 per million input tokens and $15.000 per million output tokens (blended $6.600/M), with a 256,000-token context window.

INPUT
$3.000/M
per million input tokens
OUTPUT
$15.000/M
per million output tokens
BLENDED 70/30
$6.600/M
unchanged since 3 May
CONTEXT
256,000
tokens
What it is good at
  • 256K-token context
  • Established behaviour for existing pipelines
Typical use cases
  • Pipelines pinned to Grok 4
  • Migration baselines

Benchmarks

No published benchmark scores tracked for this model yet. Frontier and reasoning models from major providers have scores; smaller models and inference-host variants typically inherit the underlying open-weights score.

More from xAI

See all 8 →

Frequently asked questions

How much does Grok 4 cost?

Grok 4 costs $3.000 per million input tokens and $15.000 per million output tokens, for a blended reference rate of $6.600 per million tokens.

What is Grok 4's context window?

Grok 4 supports up to 256,000 tokens of context in a single request.

What is Grok 4 best for?

Grok 4 is well suited to 256K-token context, Established behaviour for existing pipelines and Pipelines pinned to Grok 4.

Who makes Grok 4?

Grok 4 is developed and served by xAI.

Terms used on this page