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 ef…
Model details →xAI: Grok 4 vs Anthropic Claude Haiku Latest
Anthropic Claude Haiku Latest wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
This model always redirects to the latest model in the Anthropic Claude Haiku family.
Model details →Side-by-side comparison
| Capability | xAI: Grok 4 | Anthropic Claude Haiku Latest | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 256K | 200K | 🏆 xAI: Grok 4 |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $3.00 | $1.00 | 🏆 Anthropic Claude Haiku Latest |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $15.00 | $5.00 | 🏆 Anthropic Claude Haiku Latest |
| Tool / function calling First-class support for emitting structured tool calls. | Yes | Yes | Tie |
| Vision input Accepts image inputs alongside text. | Yes | Yes | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | Yes | Yes | Tie |
Frequently asked questions
Is xAI: Grok 4 better than Anthropic Claude Haiku Latest?
Anthropic Claude Haiku Latest wins on 2 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between xAI: Grok 4 and Anthropic Claude Haiku Latest?
Input: $3.00 vs $1.00 per 1M tokens. Output: $15.00 vs $5.00 per 1M tokens.
What context windows do xAI: Grok 4 and Anthropic Claude Haiku Latest support?
xAI: Grok 4 supports up to 256K tokens. Anthropic Claude Haiku Latest supports up to 200K tokens.
Do both xAI: Grok 4 and Anthropic Claude Haiku Latest support tool calling?
xAI: Grok 4: yes. Anthropic Claude Haiku Latest: yes.
Compare xAI: Grok 4 with other models
vs Anthropic Claude Haiku Latestvs Anthropic Claude Sonnet Latestvs Anthropic: Claude Fable Latestvs Anthropic: Claude Opus Latest