xAI
Grok 2 Latest
grok-2-latest
Input price
$2.00
per 1M tokens
Output price
$10.00
per 1M tokens
Context window
131K
tokens
Cost examples
| Token count | Input cost | Output cost | Combined |
|---|---|---|---|
| 1K tokens | < $0.01 | $0.01 | $0.012 |
| 10K tokens | $0.02 | $0.1 | $0.12 |
| 100K tokens | $0.2 | $1 | $1.2 |
| 1M tokens | $2 | $10 | $12 |
Combined column assumes equal input and output tokens. Actual costs depend on your prompt-to-completion ratio.
Track Grok 2 Latest costs automatically.
One line of code. Real-time spend by agent, team, and feature.
Get started free →