Llemma 7B is a language model for mathematics. It was initialized with Code Llama 7B weights, and trained on the Proof-Pile-2 for 200B tokens. Llemma models are particularly strong at chain-of-thought mathematical reasoning and using comput…
Model details →EleutherAI: Llemma 7b vs Google: Gemma 2 27B
Google: Gemma 2 27B wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
Gemma 2 27B by Google is an open model built from the same research and technology used to create the [Gemini models](/models?q=gemini). Gemma models are well-suited for a variety of text generation tasks, including question answering, sum…
Model details →Side-by-side comparison
| Capability | EleutherAI: Llemma 7b | Google: Gemma 2 27B | Winner |
|---|---|---|---|
| Context window Maximum number of input tokens the model can attend to in a single request. | 4K | 8K | 🏆 Google: Gemma 2 27B |
| Input price (per 1M) Cost per million input tokens billed by the provider. | $0.80 | $0.65 | 🏆 Google: Gemma 2 27B |
| Output price (per 1M) Cost per million output tokens billed by the provider. | $1.20 | $0.65 | 🏆 Google: Gemma 2 27B |
| Tool / function calling First-class support for emitting structured tool calls. | — | — | Tie |
| Vision input Accepts image inputs alongside text. | — | — | Tie |
| Reasoning mode Internal chain-of-thought / extended-thinking support. | — | — | Tie |
Frequently asked questions
Is EleutherAI: Llemma 7b better than Google: Gemma 2 27B?
Google: Gemma 2 27B wins on 3 of 6 axes — pricing and capability skew in its favour for most workloads.
What's the price difference between EleutherAI: Llemma 7b and Google: Gemma 2 27B?
Input: $0.80 vs $0.65 per 1M tokens. Output: $1.20 vs $0.65 per 1M tokens.
What context windows do EleutherAI: Llemma 7b and Google: Gemma 2 27B support?
EleutherAI: Llemma 7b supports up to 4K tokens. Google: Gemma 2 27B supports up to 8K tokens.
Do both EleutherAI: Llemma 7b and Google: Gemma 2 27B support tool calling?
EleutherAI: Llemma 7b: not advertised. Google: Gemma 2 27B: not advertised.