xAI: Grok 4
xAIID: x-ai/grok-4
Grok 4 is xAI's latest reasoning model with a 256k context window. It supports parallel tool calling, structured outputs, and both image and text inputs. Note that reasoning is not exposed, reasoning cannot be disabled, and the reasoning effort cannot be specified. Pricing increases once the total tokens in a given request is greater than 128k tokens. See more details on the [xAI docs](https://docs.x.ai/docs/models/grok-4-0709)
Pricing per 1M Tokens
| Input (Prompt) | $3.00 |
| Output (Completion) | $15 |
| Cache Read | $0.75 |
| Cache Write | Free |
| Image | N/A |
Specifications
| Context Length | 256K |
| Max Output Tokens | N/A |
| Input Modalities | Image + Text |
| Output Modalities | Text |
| Tokenizer | Grok |
| Instruct Type | N/A |
| Top Provider Context | 256K |
| Top Provider Max Output | N/A |
| Moderated | No |
Compare this model
See how xAI: Grok 4 stacks up against other models.
More from xAI
Last updated: March 23, 2026
First tracked: March 23, 2026