Deprecated on May 15, 2026. 6 providers still list it at the prices below.
Context
262K
Max output
256K
Serving providers
6
Cheapest input
$1.25 /1M
On-demand listed rates, OpenRouter routed quotes and Vercel reseller quotes. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.
Benchmarks
independent evaluations · source: Artificial AnalysisSpeed & latency
Output speed
75 t/s
tokens / second
Time to first token
13.22s
latency
Headline indices
Individual benchmarks · click a row for effort variants
| Benchmark | Best score | Effort | Cost / task | |
|---|---|---|---|---|
| CritPt | 2% | default | — | |
| GPQA Diamond | 88% | default | — | |
| Humanity's Last Exam | 27% | default | — | |
| IFBench | 54% | default | — | |
| LiveCodeBench | 82% | default | — | |
| Long-Context Reasoning | 68% | default | — | |
| MMLU-ProFrozen Aug 18, 2026 | 87% | default | — | |
| MMMU-Pro | 69% | default | — | |
| Omniscience | 2.1 | default | — | |
| Omniscience Accuracy | 0.4 | default | — | |
| Omniscience Non Hallucination | 0.4 | default | — | |
| SciCodeArtificial Analysis did not report this score in its latest run on Oct 14, 2026 | 46% | — | — | |
| TerminalBench Hard | 38% | default | — | |
| τ²-bench | 75% | default | — |
Artificial Analysis last published scores for this benchmark on Aug 18, 2026. Scores here are frozen at that date, and models released since are not on it.
Pricing by serving provider
standard tier · per 1M tokens · click a provider to expandInput pricing runs from $1.25 to $7.20 per 1M tokens across 6 providers, so the dearest route costs 476% more than the cheapest for the same model.
| Serving provider | Input /1M | Output /1M | Endpoints | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| xAICheapest | $1.25 | $2.50 | 1 | |||||||||||||
Standardxai/grok-4
| ||||||||||||||||
| Azure | $3.00 | $15.00 | 1 | |||||||||||||
Standardazure_ai/grok-4
| ||||||||||||||||
| OCI | $3.00 | $15.00 | 1 | |||||||||||||
Standardoci/xai.grok-4
| ||||||||||||||||
| OpenRouter | $3.00 | $15.00 | 1 | |||||||||||||
Standardopenrouter/x-ai/grok-4
| ||||||||||||||||
| VercelVercel reseller quote | $3.00 | $15.00 | 1 | |||||||||||||
Standardvercel_ai_gateway/xai/grok-4
| ||||||||||||||||
| Replicate | $7.20 | $36.00 | 1 | |||||||||||||
Standardreplicate/xai/grok-4
| ||||||||||||||||
Price history
listed seller prices, input and output per 1M tokens Input Output
Input down 58% since first tracked
Cost calculator
estimate your monthly spend on this model$450
estimated / month
Model IDs
copy the exact identifier for your platformxai/grok-4openrouter/x-ai/grok-4azure_ai/grok-4oci/xai.grok-4vercel_ai_gateway/xai/grok-4replicate/xai/grok-4
Frequently asked questions
Grok 4 pricing, context and availabilityIs Grok 4 still available?
Grok 4 was deprecated on 2026-05-15, but 6 serving providers still list it.
How much does Grok 4 cost?
Grok 4 costs $1.25 per 1M input tokens from xAI, and $2.50 per 1M output tokens from xAI. Across 6 serving providers, input prices range from $1.25 to $7.20 per 1M tokens.
What is the context window of Grok 4?
Grok 4 accepts up to 262K tokens of context and can return up to 256K output tokens.
Which providers serve Grok 4?
Grok 4 is available from 6 serving providers, each with its own pricing and model ID. xAI is currently the cheapest.
What can Grok 4 do?
Grok 4 supports tool use, structured output and web search.
Other xAI models
compare pricing across the xAI lineupGrok 4.6$2.00/1M · 8 providersGrok 4.3$1.25/1M · 6 providersGrok 4.7$2.00/1M · 6 providersGrok 4 20 Non Reasoning$1.25/1M · 5 providersGrok 4 20 Reasoning$1.25/1M · 5 providersGrok 4.1 Fast Non Reasoning$0.20/1M · 4 providersGrok 4.1 Fast Reasoning$0.20/1M · 4 providersGrok 3 Mini$0.25/1M · 4 providers
Popular comparisons
head-to-head pages featuring Grok 4 Listed prices from LiteLLM, OpenRouter and Vercel · last checked Sep 22, 2026
Every weekday
AI moves fast. Here's your debrief.
News, analysis, tools, and more.
For people who build with AI