grok-4.6
Provided by xAI · Text model
Parameters
| Context window | 500K tokens |
|---|---|
| Max output | 450K tokens |
| Input modalities | text, image, file |
| Output modalities | text |
Capabilities
Official pricing
| Input | $2/M |
|---|---|
| Output | $6/M |
| Cache read | $0.5/M |
Tiers
| >=200K | — |
|---|
Call example
curl https://api.x.ai/v1/responses -H "Authorization: Bearer $XAI_API_KEY" -H "Content-Type: application/json" -d '{"model":"grok-4.6","input":"Hi"}'