Skip to content

Grok 4

xAIFrontier

Grok 4 by xAI costs per 1M input tokens and per 1M output tokens, with a -token context window.

Pricing

Input (per 1M tokens)
Output (per 1M tokens)
Cached input (per 1M)

Specifications

Provider
xAI
Context window
Parameters
3T
Released
Jul 2025
Open weights
No
Frontier model
Yes

Benchmarks

Aider Polyglotcoding
79.6

Compare Grok 4 with…

FAQ

Pricing is per 1M tokens (USD); confirm with the provider before production use.