Gemma 2 27B
Summary
Gemma 2 27B is an open-weight language model from Google DeepMind, released on 13 Jul 2024. It accepts text and generates text, with a 8K-token context window and up to 2K output tokens per response. As of 18 Nov 2026, the lowest listed API price is $0.65 per million input tokens and $0.65 per million output tokens (OpenRouter), across 1 provider we track.
Open Gemma instruction model for efficient chat and self-hosted deployments
Last verified 18 Nov 2026. Every figure on this page links to its source.
Specifications
| Developer | Google DeepMind |
|---|---|
| Release date | 13 Jul 2024 [models.dev] |
| Status | Generally available [models.dev] |
| Weights | Open weights [Hugging Face] |
| License | gemma [Hugging Face] |
| Parameters | 27.2B [Hugging Face] |
| Context window | 8K (8,192 tokens) [models.dev] |
| Max output | 2K tokens [models.dev] |
| Knowledge cutoff | 30 Jun 2024 [models.dev] |
| Input | Text [models.dev] |
| Output | Text [models.dev] |
| Reasoning mode | No [models.dev] |
| Tool calling | No [models.dev] |
| Structured output | Yes [models.dev] |
| Hugging Face | google/gemma-2-27b-it [Hugging Face] |
Gemma 2 27B API pricing by provider
USD per million tokens. Sorted by input price.
| Provider | Input | Output | Cached input | Context | Source |
|---|---|---|---|---|---|
| OpenRouter google/gemma-2-27b-it | $0.65 | $0.65 | – | 8K | OpenRouter, 18 Nov 2026 |
Running Gemma 2 27B locally
Estimated memory, from the parameter count on Hugging Face. Includes about 0.8 GB of runtime overhead.
| Quantization | Weights | Total, 8K context | Total, 32K context |
|---|---|---|---|
| Q4_K_M (4-bit) | 17 GB | 17 GB | – |
| Q8_0 (8-bit) | 29 GB | 30 GB | – |
| FP16 / BF16 (16-bit) | 54 GB | 55 GB | – |
At 4-bit with an 8K conversation, Gemma 2 27B needs about 17 GB, so it fits on a graphics card with 24 GB or more, such as the NVIDIA GeForce RTX 3090 24 GB. The model's architecture is not public, so the conversation cache is not included. Check your own hardware, or see Best GPU for local LLMs on our sister site AIPCs.
Frequently asked questions
What is the context window of Gemma 2 27B?
Gemma 2 27B has a context window of 8,192 tokens (8K) and can generate up to 2,048 tokens in a single response, according to models.dev.
How much does the Gemma 2 27B API cost?
Gemma 2 27B is listed from $0.65 per million input tokens and $0.65 per million output tokens (OpenRouter). Prices last verified 18 Nov 2026.
Is Gemma 2 27B open source?
Gemma 2 27B is an open-weight model: its weights are published on Hugging Face as google/gemma-2-27b-it under the gemma license. Check the license terms before commercial use.
When was Gemma 2 27B released?
Google DeepMind released Gemma 2 27B on 13 Jul 2024, according to models.dev.
How much VRAM does Gemma 2 27B need?
About 17 GB at 4-bit (Q4_K_M) with an 8K-token conversation, and about 30 GB at 8-bit. The 4-bit model fits on a graphics card with 24 GB or more, such as the NVIDIA GeForce RTX 3090 24 GB. These are estimates from the model's published parameter count.
Similar models from other labs
Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.
| Model | Lab | Released | Context | Input $/1M | Output $/1M | Weights |
|---|---|---|---|---|---|---|
| Hermes 2 Pro Llama 3 8B | Nousresearch | 30 Apr 2024 | 8K | $0.14 | $0.14 | Open |
| BGE Multilingual Gemma2 | Baai | 25 Jul 2024 | 8K | – | – | Open |
| GPT-3.5 Turbo (older v0613) | OpenAI | 25 Jan 2024 | 4K | $1 | $2 | – |
| Llama 3 8B Lunaris | Sao10k | 13 Aug 2024 | 8K | $0.04 | $0.05 | Open |
| WizardLM 2 8x22B | Microsoft | 15 Apr 2024 | 66K | $0.62 | $0.62 | Open |
| ReMM SLERP 13B | Undi95 | 22 Jul 2023 | 6K | $0.30 | $0.50 | Open |
Change history
No changes detected since we started tracking this model. We re-check every source daily.