xAI

Grok Code Fast

grok-code-fast

Input price
$0.2
per 1M tokens
Output price
$1.50
per 1M tokens
Context window
256K
tokens

Cost examples

Token count Input cost Output cost Combined
1K tokens < $0.01 < $0.01 < $0.01
10K tokens < $0.01 $0.015 $0.017
100K tokens $0.02 $0.15 $0.17
1M tokens $0.2 $1.5 $1.7

Combined column assumes equal input and output tokens. Actual costs depend on your prompt-to-completion ratio.

Track Grok Code Fast costs automatically.

One line of code. Real-time spend by agent, team, and feature.

Get started free →