Skip to content

Grok-2

xAIFrontier

Grok-2 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
—
Released
Aug 2024
Open weights
No
Frontier model
Yes

Benchmarks

Compare Grok-2 with…

FAQ

How much does Grok-2 cost?

Grok-2 is priced at — per 1M input tokens and — per 1M output tokens. Output tokens cost more than input.

What is Grok-2's context window?

Grok-2 supports a context window of — tokens — the maximum prompt plus response length it can handle in a single request.

Is Grok-2 open weight?

No — Grok-2 is a closed/proprietary model accessed via API.

Data as of 2026-10-15. Source: Epoch AI, Data on AI Models (CC BY 4.0), epoch.ai. Pricing is per 1M tokens (USD); confirm with the provider before production use.