Grok 2

retired

xAI · Frontier

Compare →

xAI's first API model. The public API beta (grok-beta) charged $5/$15; the $2/$10 Grok pricing baseline arrived that December.

Input / 1M

$2.00

Output / 1M

$10.00

Cached input / 1M

Context window

128K

Where it sits

10% above the frontier median

blended $/Mtok across 24 frontier models

Output costs 5× input

$2.00 in / $10.00 out per 1M

Down 47% since launch (Oct 2024)

blended price vs launch

Computed live from current prices and this model's history — not hand-written, so it stays accurate as prices move.

Price history

Input (solid)Output (dashed)
Price per 1M tokens over timeOutput went from $15.00 to $10.00; Input went from $5.00 to $2.00 between Oct 2024 and Dec 2024.Output on 21 Oct 2024: $15.00Output on 12 Dec 2024: $10.00Out $10.00Input on 21 Oct 2024: $5.00Input on 12 Dec 2024: $2.00In $2.00Oct 2024Dec 2024

Blended price change (3:1 I/O mix)

30d
90d
1y
Since launch
decreased 46.7%

Snapshots

Effective Input Output Cached in Note Source
12 Dec 2024 $2.00 $10.00 Repriced with the grok-2-1212 release docs.x.ai
21 Oct 2024 $5.00 $15.00 Public API beta pricing (grok-beta); $5/$15 confirmed via Wayback docs.x.ai capture 2024-12-17 (coexisting with grok-2-1212); 2024-10-21 effective date remains approximate — no earlier price-table capture exists docs.x.ai

More from xAI