Anthropic: Claude 3.5 Haiku vs Gemma 2 27B
Anthropic: Claude 3.5 Haiku wins 5 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (124.8 vs 118.6). Gemma 2 27B is about 2.1× cheaper on a blended (3:1 input:output) token price. Anthropic: Claude 3.5 Haiku has the larger context window (200K vs 8K). Gemma 2 27B has open weights, so you can self-host and fine-tune it; Anthropic: Claude 3.5 Haiku is API-only.
| Spec | Anthropic: Claude 3.5 Haiku | Gemma 2 27B |
|---|---|---|
| Provider | Anthropic | Google DeepMind |
| Released | Oct 22, 2024 (better) | Jul 13, 2024 |
| Type | Chat LLM | Chat LLM |
| Parameters | — | 27B |
| Context window | 200K (better) | 8K |
| Max output | 8K (better) | 2K |
| Input price / 1M | $0.68 | $0.65 (better) |
| Output price / 1M | $3.40 | $0.65 (better) |
| Input modalities | text, image (better) | text |
| Open weights | No | Yes |
| License | Proprietary | gemma |
| Reasoning mode | No | No |
| Tool calling | Yes | No |
| API providers | 4 | 4 |
| Epoch Capabilities Index | 124.8 (better) | 118.6 |
| GPQA Diamond | 38.1% (better) | 36.5% |
| Aider Polyglot | 28.0% | — |
| OTIS Mock AIME | 4.3% (better) | 1.4% |
| MATH Level 5 | 46.4% (better) | 27.9% |
| LiveBench | 43.5% (better) | 38.2% |
| MMLU | 74.3% | 75.7% (better) |
Cost example
For a workload of 10M input + 2M output tokens per month: Anthropic: Claude 3.5 Haiku costs $13.60 and Gemma 2 27B costs $7.80 at list price (poe / openrouter pricing).
About Anthropic: Claude 3.5 Haiku
Anthropic: Claude 3.5 Haiku is a proprietary chat llm from Anthropic, released Oct 22, 2024. It has a 200K-token context window and accepts text, image input. API pricing starts at $0.68 per million input tokens and $3.40 per million output tokens. It is available from 4 API providers. It scores 124.8 on the Epoch Capabilities Index. Full Anthropic: Claude 3.5 Haiku specs →
About Gemma 2 27B
Gemma 2 27B is an open-weight chat llm from Google DeepMind, released Jul 13, 2024. It has 27B parameters and a 8K-token context window. API pricing starts at $0.65 per million input tokens and $0.65 per million output tokens. It is available from 4 API providers. It scores 118.6 on the Epoch Capabilities Index. Full Gemma 2 27B specs →
Compare other models
- Anthropic: Claude 3.5 Haiku vs Llama-3.1-70B-Instruct
- Anthropic: Claude 3.5 Haiku vs Llama-3.3-70B-Instruct
- Anthropic: Claude 3.5 Haiku vs Qwen2-72B
- Anthropic: Claude 3.5 Haiku vs Qwen Max
- Gemma 2 27B vs Qwen2.5-Coder-32B-Instruct
- Gemma 2 27B vs Llama 3-70B
- Gemma 2 27B vs Qwen2-72B
- Gemma 2 27B vs Mixtral 8x22B Instruct
FAQ
Which is better, Anthropic: Claude 3.5 Haiku or Gemma 2 27B?
Anthropic: Claude 3.5 Haiku wins 5 of 6 benchmarks both models report and has a higher Epoch Capabilities Index (124.8 vs 118.6). Gemma 2 27B is about 2.1× cheaper on a blended (3:1 input:output) token price. Anthropic: Claude 3.5 Haiku has the larger context window (200K vs 8K). Gemma 2 27B has open weights, so you can self-host and fine-tune it; Anthropic: Claude 3.5 Haiku is API-only.
Is Anthropic: Claude 3.5 Haiku cheaper than Gemma 2 27B?
Anthropic: Claude 3.5 Haiku costs $0.68 input / $3.40 output per 1M tokens; Gemma 2 27B costs $0.65 / $0.65. Gemma 2 27B is cheaper overall.
Which has a bigger context window?
Anthropic: Claude 3.5 Haiku: 200,000 tokens. Gemma 2 27B: 8,192 tokens.
Are Anthropic: Claude 3.5 Haiku and Gemma 2 27B open source?
Anthropic: Claude 3.5 Haiku is proprietary; Gemma 2 27B is open-weight.