Claude 3 Haiku is Anthropic's fastest and most compact model for near-instant responsiveness. Quick and accurate targeted performance. See the launch announcement and benchmark results [here](https://www.anthropic.com/news/claude-3-haiku) …
Model details →Anthropic: Claude 3 Haiku vs Google: Gemma 4 31B
Google: Gemma 4 31B wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
Model details →Side-by-side comparison
| Capability | Anthropic: Claude 3 Haiku | Google: Gemma 4 31B | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 200K | 262K | 🏆 Google: Gemma 4 31B |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.25 | $0.09 | 🏆 Google: Gemma 4 31B |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.25 | $0.34 | 🏆 Google: Gemma 4 31B |
| 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 | 🏆 Google: Gemma 4 31B |
Frequently asked questions
Is Anthropic: Claude 3 Haiku better than Google: Gemma 4 31B?
Google: Gemma 4 31B wins on 4 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between Anthropic: Claude 3 Haiku and Google: Gemma 4 31B?
Input: $0.25 vs $0.09 per 1M tokens. Output: $1.25 vs $0.34 per 1M tokens.
What context windows do Anthropic: Claude 3 Haiku and Google: Gemma 4 31B support?
Anthropic: Claude 3 Haiku supports up to 200K tokens. Google: Gemma 4 31B supports up to 262K tokens.
Do both Anthropic: Claude 3 Haiku and Google: Gemma 4 31B support tool calling?
Anthropic: Claude 3 Haiku: yes. Google: Gemma 4 31B: yes.