Grok 4
Retired May 2026xAI's flagship reasoning model, released July 2025 and trained with reinforcement learning at pretraining scale on the Colossus cluster, aimed at complex multi-step tasks.
- Context
- 256K tokens
- Cutoff
- Released
Capabilities
What Grok 4 accepts and can do, as published by xAI.
- Text Accepts and generates natural-language text.
- Image Accepts images as input alongside text.
- Reasoning Thinks before it answers, always on or as a switchable mode.
- Function calling Connect to external tools, APIs, and systems.
- Structured output Return responses in structured formats like JSON.
Common questions
What is Grok 4 good for?
Multi-step reasoning over text and images. It was xAI's flagship reasoning model from July 2025 until its retirement.
When is Grok 4 not a good fit?
Any new work: xAI retired it in May 2026, and its migration guide points to Grok 4.3 with low reasoning effort. No built-in web search or code execution, and closed weights.
How does Grok 4 compare with Grok 4.3?
xAI describes Grok 4.3 as a fast, reliable model with strong tool calling and instruction following, and it adds a configurable reasoning effort with a no-reasoning setting, which Grok 4 did not offer. Same text and image input. Grok 4 came out 9 months earlier and has a smaller context (256K against 1M tokens).
Can I self-host Grok 4?
No. xAI does not publish the weights; Grok 4 is available only through hosted APIs.
More from xAI
-
Grok 4.5
500K context · cutoff Feb 2026
From $2.00 / $6.00 /1M in / out at the cheapest provider -
Grok 4.6
500K context · cutoff Jan 2026
From $2.00 / $6.00 /1M in / out at the cheapest provider -
Grok 4.1 Fast (Non-Reasoning)
2M context · cutoff Oct 2024
-
Grok 4.1 Fast (Reasoning)
2M context · cutoff Oct 2024
-
Grok 3
131K context · cutoff Oct 2024
-
Grok 3 Mini
131K context · cutoff Oct 2024
-
Grok 4 Fast (Non-Reasoning)
2M context
-
Grok 4 Fast (Reasoning)
2M context