Gemma 2 27B
by Google DeepMind · Jul 13, 2024
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.
- Provider
- Google DeepMind
- Released
- Jul 13, 2024
- Type
- Chat LLM
- Parameters
- 27B
- Context window
- 8,192 tokens
- Max output
- 2,048 tokens
- Input
- text
- Output
- text
- Weights
- Open weights
- License
- gemma
- Knowledge cutoff
- Jun 30, 2024
- Status
- Available via API
- Training compute
- 2.1e+24 FLOP
- Training data
- 13000B tokens/words
- HF downloads (30d)
- 21.8K
About Gemma 2 27B
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...
Gemma 2 27B benchmarks
All benchmarks →- Epoch Capabilities Index118.6
- GPQA Diamond36.5%
- OTIS Mock AIME1.4%
- MATH Level 527.9%
- LiveBench38.2%
- MMLU75.7%
Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.
Where to run Gemma 2 27B — API providers & pricing
| Provider | Input $/1M | Output $/1M | Cached input | Context |
|---|---|---|---|---|
| OpenRouter | $0.65 | $0.65 | — | 8K |
| Hugging Face | $0.65 | $0.65 | — | 8K |
| Kilo Gateway | $0.65 | $0.65 | — | 8K |
| AI/ML API | $0.688 | $0.688 | — | 8K |
Open weights: you can also run Gemma 2 27B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.
Gemma 2 27B vs alternatives
- 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
- Gemma 2 27B vs Llama-3.1-70B-Instruct
- Gemma 2 27B vs Anthropic: Claude 3.5 Haiku
| Model | Provider | Released | Params | Context | Input $/1M | Output $/1M | ECI |
|---|---|---|---|---|---|---|---|
| Qwen2.5-Coder-32B-Instructopen | Alibaba (Qwen) | Nov 2024 | 33B | 32K | $0.66 | $1 | 118.7 |
| Llama 3-70Bopen | Meta | Apr 2024 | 71B | — | — | — | 121.3 |
| Qwen2-72Bopen | Alibaba (Qwen) | Jun 2024 | 73B | — | — | — | 122.3 |
| Mixtral 8x22B Instructopen | Mistral AI | Apr 2024 | 141B | 64K | $2 | $6 | 118.7 |
| Llama-3.1-70B-Instructopen | Meta | Jul 2024 | 71B | 128K | $0.72 | $0.72 | 124.7 |
| Anthropic: Claude 3.5 Haiku | Anthropic | Oct 2024 | — | 200K | $0.68 | $3.40 | 124.8 |
| Mistral Large 3open | Mistral AI | Nov 2024 | 675B | 256K | $0.5 | $1.50 | 120.0 |
| Gemma 2 9Bopen | Google DeepMind | Jun 2024 | 9.2B | — | — | — | 112.4 |
More models from Google DeepMind
All Google DeepMind models →| Model | Released | Params | Context | Input $/1M | Output $/1M |
|---|---|---|---|---|---|
| Gemma 4 31B ITopen | Apr 2026 | 31B | 256K | Free | Free |
| Gemma 4 26B A4B ITopen | Apr 2026 | 26B (4B act.) | 256K | Free | Free |
| Gemini 4 Argon | Oct 2026 | — | 1M | $2 | $10 |
| Gemini 4 Carbon | Nov 2026 | — | 1M | $2 | $10 |
| Gemini 3.8 Flash | Sep 2026 | — | 1M | $0.75 | $3.75 |
| Gemini 4 Hydrogen | Nov 2026 | — | 1M | $1.50 | $7.50 |
| Gemini Pro Latest | Feb 2026 | — | 1M | $2 | $12 |
| Gemini 3.7 Flash | Aug 2026 | — | 1M | $0.75 | $3.75 |
Frequently asked questions
Who made Gemma 2 27B?
Gemma 2 27B was developed by Google DeepMind (United States of America). It was released on Jul 13, 2024.
What is the context window of Gemma 2 27B?
Gemma 2 27B supports a context window of 8,192 tokens (8K) and can generate up to 2,048 output tokens per response.
How much does Gemma 2 27B cost?
Gemma 2 27B costs $0.65 per 1M input tokens and $0.65 per 1M output tokens. Prices vary across the 4 providers that serve it.
Is Gemma 2 27B open source?
Yes. Gemma 2 27B's weights are publicly available under the gemma license on Hugging Face (google/gemma-2-27b-it), so you can download and run it yourself.
How many parameters does Gemma 2 27B have?
Gemma 2 27B has 27B parameters.
How does Gemma 2 27B perform on benchmarks?
Gemma 2 27B scores 36.5% on GPQA Diamond, 27.9% on MATH Level 5, 1.4% on OTIS Mock AIME and 38.2% on LiveBench.
Where can I use Gemma 2 27B?
Gemma 2 27B is available via 4 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.
Sources: epoch, huggingface, models.dev, openrouter · paper · huggingface · openrouter. Last updated 2026-11-22.