All models / xAI
Grok 4
At a glance
- Provider
- xAI
- Family
- grok-4
- Released
- 2025-07
- Status
- Active
- Context window
- 256K
- Max output
- 33K
- Knowledge cutoff
- 2024-11
- API id
- grok-4
Pricing
USD per 1M tokens.
- Input
- $3.00
- Output
- $15.00
- Cache read
- $0.750
- Cache write (5m)
- —
- Cache write (1h)
- —
- Batch input
- —
- Batch output
- —
Capabilities
- Tool use
- Yes
- Structured outputs
- Yes
- Vision
- Yes
- Extended thinking
- Yes
- Prompt caching
- Yes
- Batch API
- No
- Fine-tuning
- No
- Open weights
- No
Modalities
- Input
- text, image
- Output
- text
Compare with
Links
Last verified 2026-04-26. License: proprietary.