Back to models
retired

xai/grok-code-fast

xai/grok-code-fast

Prices

Input

$1.00 per 1M tokens

low
Input (>200k ctx)

$2.00 per 1M tokens

low
Input (cached read, >200k ctx)

$0.40 per 1M tokens

low
Input (cached read)

$0.20 per 1M tokens

low
Input (image tokens)

$1.00 per 1M tokens

low
Output

$2.00 per 1M tokens

low
Output (>200k ctx)

$4.00 per 1M tokens

low

Specifications

Provider
xai
Context window
256,000
Max output tokens
256,000
Open weights
unknown
Released
unknown
Retires
05/15/2026
First seen by this tracker

Price history

No price of this model has changed since we started tracking it.

Input (cached read)
0.2 per 1M tokens, unchanged since 09/14/2026
Input
1 per 1M tokens, unchanged since 09/14/2026
Output
2 per 1M tokens, unchanged since 09/14/2026
Input (>200k ctx)
2 per 1M tokens, unchanged since 09/14/2026
Output (>200k ctx)
4 per 1M tokens, unchanged since 09/14/2026
Input (cached read, >200k ctx)
0.4 per 1M tokens, unchanged since 09/14/2026
Input (image tokens)
1 per 1M tokens, unchanged since 09/23/2026

Last updated 10/02/2026, 02:10