Context
131K
Max output
131K
Serving providers
1
Cheapest input
$2.00 /1M
Prices are on-demand list rates. Enterprise commitments (committed-use discounts, provisioned throughput, negotiated rates) can be materially lower.

Pricing by serving provider

standard tier · per 1M tokens · click a provider to expand
Serving providerInput /1MOutput /1MEndpoints
xAICheapest$2.00$10.001
ComponentUnitStandardBatchCached
Text input/1M tok$2.00
Text output/1M tok$10.00

Price history

input + output $/1M since we started tracking
Input Output
$0.000$5.00$10.00Jan 30Jun 22$10.00$2.00

Cost calculator

estimate your monthly spend on this model
$1,200
estimated / month

Model IDs

copy the exact identifier for your platform
xai/grok-2-latest

Frequently asked questions

Grok 2 Latest pricing, context and availability

How much does Grok 2 Latest cost?

Grok 2 Latest costs $2.00 per 1M input tokens and $10.00 per 1M output tokens at its cheapest provider via xAI.

What is the context window of Grok 2 Latest?

Grok 2 Latest accepts up to 131K tokens of context and can return up to 131K output tokens.

What can Grok 2 Latest do?

Grok 2 Latest supports tool use and web search.

Other xAI models

compare pricing across the xAI lineup
Pricing verified against LiteLLM + OpenRouter + provider pages · refreshed daily

Every weekday

AI moves fast. Here's your debrief.

News, analysis, tools, and more.

For people who build with AI