Grok 4

by xAIChat

Grok model for agentic tool use, reasoning, coding, and live assistance

Context
262K tokens
Max output
256,000 tokens
Parameters
3T (total or active not stated)
Released
2025-07-09
Weights
Closed

xai/grok-4 · also seen as x-ai/grok-4

Specifications

Full facts as recorded, incl. what is unknown.

Released
2025-07-09
Weights
Closed
Input
Text
Output
Text
Context window
262,000 max across endpoints
Max output
256,000
Providers
3 + 6 gateways, not counted as providers
Epoch Capabilities Index
146.4 ± 1.8 against price
Direct price range
$3.00–$7.20 in · $15–$36 out per 1M tokens · across all 3 providers
More details
Last updated
2025-07-10
Knowledge cutoff
2025-07
Parameters
3T (total or active not stated)
Developer country
United States of America
Training compute
5.0×10²⁶ FLOP

Capabilities

Across all endpoints: supported if any endpoint supports it.

  • Tool calling
  • Parallel toolsunknown
  • Structured output
  • Reasoning
  • Image input
  • PDF input
  • Audio input
  • Audio outputunknown
  • Video input
  • Prompt cachingunknown
  • Web search
  • Computer useunknown
  • System messages
  • Assistant prefillunknown
  • Temperature
  • Streaming
  • Attachments

Endpoints

One row per provider and variant; gateways are listed separately.

Loading endpoints…

Price history

No change since 19 Oct 2026. The cheapest direct price has been $3.00 in / $15 out per 1M tokens at Azure on every data refresh since then.

Tracked from 19 Oct 2026. Headline-eligible direct prices only, so a price the sanity check flags never draws a spike. Series as JSON

Cost calculator

Loading endpoints…

Similarly priced models

Blended rate per 1M tokens, each at its own cheapest provider (10M input : 2M output mix).

ModelBlended/1MIn/1MOut/1MContextvs Grok 4
Claude Sonnet 3.5Anthropic$5.00$3.00$15200K+0%
Claude Sonnet 3.7Anthropic$5.00$3.00$15200K+0%
Claude Sonnet 4.6Anthropic$5.00$3.00$151M+0%
Sonar ProPerplexity$5.00$3.00$15200K+0%
Sonar Pro SearchPerplexity$5.00$3.00$15200K+0%
Grok 3xAI$5.00$3.00$15131K+0%
MiMo-V2.6-Pro-UltraSpeedXiaomi$5.08$4.35$8.701.05M+2%
Qwen 3.8 Max PrimeAlibaba (Qwen)$5.33$4.00$121M+7%

More from xAI

Newest xAI models in the catalogue. All xAI models

ModelReleasedContextListed price
Grok Imagine Video 1.5 Lite2026-10-011Kunpriced
Grok 4.72026-09-21500Kfrom $1.60
Grok 4.62026-08-12500Kfrom $2.00
Grok Imagine Image 2.02026-08-0765.5Kunpriced
Grok Voice STT 1.02026-08-0415Kunpriced
Grok STT 1.02026-07-23—unpriced
Grok 4.52026-07-08500Kfrom $2.00
Grok Imagine Video 1.52026-05-301Kunpriced
Heads up: prices are indicative list rates scraped from provider pricing pages; verify with the provider before relying on them. Report incorrect data for this model