Models › xAI
grok-4.5 API pricing
$2.00 per 1M input tokens and $6.00 per 1M output tokens (prompts up to 200K tokens). Verified 2026-11-01 against the official price list.
Current prices
| Mode | Input | Output | Cache read | Context window |
|---|---|---|---|---|
| Standardprompts ≤ 200K tokens | $2.00 | $6.00 | $0.30 | 500K |
| Standardprompts > 200K tokens | $4.00 | $12.00 | $0.60 | — |
| Batch APIprompts ≤ 200K tokens | $1.60 | $4.80 | $0.24 | — |
| Batch APIprompts > 200K tokens | $3.20 | $9.60 | $0.48 | — |
| Priorityprompts ≤ 200K tokens | $4.00 | $12.00 | $0.60 | — |
| Priorityprompts > 200K tokens | $8.00 | $24.00 | $1.20 | — |
USD per 1M tokens.
Price history
- 2026-11-01 Cache read (Batch API, prompts ≤ 200K tokens): — → $0.24
- 2026-11-01 Cache read (Batch API, prompts > 200K tokens): — → $0.48
- 2026-11-01 Input (Batch API, prompts ≤ 200K tokens): — → $1.60
- 2026-11-01 Input (Batch API, prompts > 200K tokens): — → $3.20
- 2026-11-01 Output (Batch API, prompts ≤ 200K tokens): — → $4.80
- 2026-11-01 Output (Batch API, prompts > 200K tokens): — → $9.60
Source
- https://docs.x.ai/developers/pricing — official xAI price list, last verified 2026-11-01