Gemma 2 27B

- Context
- 8K
- Released
- 2y ago
- Parameters
- 27B
- Input / 1M tokens
- $0.65
- Output / 1M tokens
- $0.65
Sources:OpenRouter
Benchmarks
DeepSWE is the primary coding benchmark where an exact model evaluation exists. Other sourced evaluations appear below; missing scores are not zero.
Not evaluated in DeepSWE 1.1 as of 2026-09-22. Results are only shown for exact model versions in the official dataset. Official leaderboard.
Other published benchmarks
| Evaluation | Reported score and source |
|---|---|
| GPQA diamond | |
| OTIS Mock AIME 2024-2025 |
Benchmark compilation: Epoch AI, Capabilities & benchmarking (CC BY attribution). Scores are converted to percentages and model names matched to the Vertical Tabs catalog. Individual evaluations are credited to their original sources. External results may carry separate licences and evaluation configurations; do not interpret scores from different harnesses as directly comparable.
Specifications
- Developer
- Google DeepMind
- Model family
- Gemma
- Type
- Language model
- Predecessor
- —
- Successor
- —
- Released
- June 27, 2024
- Model ID
google/gemma-2-27b-it- Openness
- Open weights
- License
- —
- Parameters
- 27B
- Input modalities
- text
- Output modalities
- text
- Modality
- text->text
- Native context
- 8K
- Tokenizer
- Gemini
- Max output tokens
- 2K
- Knowledge cutoff
- 2024-06-30
- Hugging Face
- google/gemma-2-27b-it
- Source freshness
- Endpoints synced Oct 15, 2026, 1:41 PM UTC
Open-weight builds
Ollama variants
Every published Ollama tag matched to this model, including parameter editions, instruction/base variants, and quantized builds.
| Variant | Parameters | Type | Quantization | Size | Context | Input |
|---|---|---|---|---|---|---|
| gemma2:2b-instruct-fp16 | 2B | instruct | FP16 | 5.2 GB | 8K | text |
| gemma2:2b-instruct-q2_K | 2B | instruct | Q2_K | 1.2 GB | 8K | text |
| gemma2:2b-instruct-q3_K_L | 2B | instruct | Q3_K_L | 1.6 GB | 8K | text |
| gemma2:2b-instruct-q3_K_M | 2B | instruct | Q3_K_M | 1.5 GB | 8K | text |
| gemma2:2b-instruct-q3_K_S | 2B | instruct | Q3_K_S | 1.4 GB | 8K | text |
| gemma2:2b | 2B | instruct | Q4_0 | 1.6 GB | 8K | text |
| gemma2:2b-instruct-q4_1 | 2B | instruct | Q4_1 | 1.8 GB | 8K | text |
| gemma2:2b-instruct-q4_K_M | 2B | instruct | Q4_K_M | 1.7 GB | 8K | text |
| gemma2:2b-instruct-q4_K_S | 2B | instruct | Q4_K_S | 1.6 GB | 8K | text |
| gemma2:2b-instruct-q5_0 | 2B | instruct | Q5_0 | 1.9 GB | 8K | text |
| gemma2:2b-instruct-q5_1 | 2B | instruct | Q5_1 | 2 GB | 8K | text |
| gemma2:2b-instruct-q5_K_M | 2B | instruct | Q5_K_M | 1.9 GB | 8K | text |
| gemma2:2b-instruct-q5_K_S | 2B | instruct | Q5_K_S | 1.9 GB | 8K | text |
| gemma2:2b-instruct-q6_K | 2B | instruct | Q6_K | 2.2 GB | 8K | text |
| gemma2:2b-instruct-q8_0 | 2B | instruct | Q8_0 | 2.8 GB | 8K | text |
| gemma2:2b-text-fp16 | 2B | text | FP16 | 5.2 GB | 8K | text |
| gemma2:2b-text-q2_K | 2B | text | Q2_K | 1.2 GB | 8K | text |
| gemma2:2b-text-q3_K_L | 2B | text | Q3_K_L | 1.6 GB | 8K | text |
| gemma2:2b-text-q3_K_M | 2B | text | Q3_K_M | 1.5 GB | 8K | text |
| gemma2:2b-text-q3_K_S | 2B | text | Q3_K_S | 1.4 GB | 8K | text |
| gemma2:2b-text-q4_0 | 2B | text | Q4_0 | 1.6 GB | 8K | text |
| gemma2:2b-text-q4_1 | 2B | text | Q4_1 | 1.8 GB | 8K | text |
| gemma2:2b-text-q4_K_M | 2B | text | Q4_K_M | 1.7 GB | 8K | text |
| gemma2:2b-text-q4_K_S | 2B | text | Q4_K_S | 1.6 GB | 8K | text |
| gemma2:2b-text-q5_0 | 2B | text | Q5_0 | 1.9 GB | 8K | text |
| gemma2:2b-text-q5_1 | 2B | text | Q5_1 | 2 GB | 8K | text |
| gemma2:2b-text-q5_K_M | 2B | text | Q5_K_M | 1.9 GB | 8K | text |
| gemma2:2b-text-q5_K_S | 2B | text | Q5_K_S | 1.9 GB | 8K | text |
| gemma2:2b-text-q6_K | 2B | text | Q6_K | 2.2 GB | 8K | text |
| gemma2:2b-text-q8_0 | 2B | text | Q8_0 | 2.8 GB | 8K | text |
| gemma2:9b-instruct-fp16 | 9B | instruct | FP16 | 18 GB | 8K | text |
| gemma2:9b-instruct-q2_K | 9B | instruct | Q2_K | 3.8 GB | 8K | text |
| gemma2:9b-instruct-q3_K_L | 9B | instruct | Q3_K_L | 5.1 GB | 8K | text |
| gemma2:9b-instruct-q3_K_M | 9B | instruct | Q3_K_M | 4.8 GB | 8K | text |
| gemma2:9b-instruct-q3_K_S | 9B | instruct | Q3_K_S | 4.3 GB | 8K | text |
| gemma2:latest | 9B | instruct | Q4_0 | 5.4 GB | 8K | text |
| gemma2:9b-instruct-q4_1 | 9B | instruct | Q4_1 | 6 GB | 8K | text |
| gemma2:9b-instruct-q4_K_M | 9B | instruct | Q4_K_M | 5.8 GB | 8K | text |
| gemma2:9b-instruct-q4_K_S | 9B | instruct | Q4_K_S | 5.5 GB | 8K | text |
| gemma2:9b-instruct-q5_0 | 9B | instruct | Q5_0 | 6.5 GB | 8K | text |
| gemma2:9b-instruct-q5_1 | 9B | instruct | Q5_1 | 7 GB | 8K | text |
| gemma2:9b-instruct-q5_K_M | 9B | instruct | Q5_K_M | 6.6 GB | 8K | text |
| gemma2:9b-instruct-q5_K_S | 9B | instruct | Q5_K_S | 6.5 GB | 8K | text |
| gemma2:9b-instruct-q6_K | 9B | instruct | Q6_K | 7.6 GB | 8K | text |
| gemma2:9b-instruct-q8_0 | 9B | instruct | Q8_0 | 9.8 GB | 8K | text |
| gemma2:9b-text-fp16 | 9B | text | FP16 | 18 GB | 8K | text |
| gemma2:9b-text-q2_K | 9B | text | Q2_K | 3.8 GB | 8K | text |
| gemma2:9b-text-q3_K_L | 9B | text | Q3_K_L | 5.1 GB | 8K | text |
| gemma2:9b-text-q3_K_M | 9B | text | Q3_K_M | 4.8 GB | 8K | text |
| gemma2:9b-text-q3_K_S | 9B | text | Q3_K_S | 4.3 GB | 8K | text |
| gemma2:9b-text-q4_0 | 9B | text | Q4_0 | 5.4 GB | 8K | text |
| gemma2:9b-text-q4_1 | 9B | text | Q4_1 | 6 GB | 8K | text |
| gemma2:9b-text-q4_K_M | 9B | text | Q4_K_M | 5.8 GB | 8K | text |
| gemma2:9b-text-q4_K_S | 9B | text | Q4_K_S | 5.5 GB | 8K | text |
| gemma2:9b-text-q5_0 | 9B | text | Q5_0 | 6.5 GB | 8K | text |
| gemma2:9b-text-q5_1 | 9B | text | Q5_1 | 7 GB | 8K | text |
| gemma2:9b-text-q5_K_M | 9B | text | Q5_K_M | 6.6 GB | 8K | text |
| gemma2:9b-text-q5_K_S | 9B | text | Q5_K_S | 6.5 GB | 8K | text |
| gemma2:9b-text-q6_K | 9B | text | Q6_K | 7.6 GB | 8K | text |
| gemma2:9b-text-q8_0 | 9B | text | Q8_0 | 9.8 GB | 8K | text |
| gemma2:27b-instruct-fp16 | 27B | instruct | FP16 | 54 GB | 8K | text |
| gemma2:27b-instruct-q2_K | 27B | instruct | Q2_K | 10 GB | 8K | text |
| gemma2:27b-instruct-q3_K_L | 27B | instruct | Q3_K_L | 15 GB | 8K | text |
| gemma2:27b-instruct-q3_K_M | 27B | instruct | Q3_K_M | 13 GB | 8K | text |
| gemma2:27b-instruct-q3_K_S | 27B | instruct | Q3_K_S | 12 GB | 8K | text |
| gemma2:27b | 27B | instruct | Q4_0 | 16 GB | 8K | text |
| gemma2:27b-instruct-q4_1 | 27B | instruct | Q4_1 | 17 GB | 8K | text |
| gemma2:27b-instruct-q4_K_M | 27B | instruct | Q4_K_M | 17 GB | 8K | text |
| gemma2:27b-instruct-q4_K_S | 27B | instruct | Q4_K_S | 16 GB | 8K | text |
| gemma2:27b-instruct-q5_0 | 27B | instruct | Q5_0 | 19 GB | 8K | text |
| gemma2:27b-instruct-q5_1 | 27B | instruct | Q5_1 | 21 GB | 8K | text |
| gemma2:27b-instruct-q5_K_M | 27B | instruct | Q5_K_M | 19 GB | 8K | text |
| gemma2:27b-instruct-q5_K_S | 27B | instruct | Q5_K_S | 19 GB | 8K | text |
| gemma2:27b-instruct-q6_K | 27B | instruct | Q6_K | 22 GB | 8K | text |
| gemma2:27b-instruct-q8_0 | 27B | instruct | Q8_0 | 29 GB | 8K | text |
| gemma2:27b-text-fp16 | 27B | text | FP16 | 54 GB | 8K | text |
| gemma2:27b-text-q2_K | 27B | text | Q2_K | 10 GB | 8K | text |
| gemma2:27b-text-q3_K_L | 27B | text | Q3_K_L | 15 GB | 8K | text |
| gemma2:27b-text-q3_K_M | 27B | text | Q3_K_M | 13 GB | 8K | text |
| gemma2:27b-text-q3_K_S | 27B | text | Q3_K_S | 12 GB | 8K | text |
| gemma2:27b-text-q4_0 | 27B | text | Q4_0 | 16 GB | 8K | text |
| gemma2:27b-text-q4_1 | 27B | text | Q4_1 | 17 GB | 8K | text |
| gemma2:27b-text-q4_K_M | 27B | text | Q4_K_M | 17 GB | 8K | text |
| gemma2:27b-text-q4_K_S | 27B | text | Q4_K_S | 16 GB | 8K | text |
| gemma2:27b-text-q5_0 | 27B | text | Q5_0 | 19 GB | 8K | text |
| gemma2:27b-text-q5_1 | 27B | text | Q5_1 | 21 GB | 8K | text |
| gemma2:27b-text-q5_K_M | 27B | text | Q5_K_M | 19 GB | 8K | text |
| gemma2:27b-text-q5_K_S | 27B | text | Q5_K_S | 19 GB | 8K | text |
| gemma2:27b-text-q6_K | 27B | text | Q6_K | 22 GB | 8K | text |
| gemma2:27b-text-q8_0 | 27B | text | Q8_0 | 29 GB | 8K | text |
Infrastructure
Provider availability
| Provider | Endpoint | Context | Input /M tokens | Output /M tokens | Cached input /M tokens | Cache write /M tokens | Uptime 1d | Data handling |
|---|---|---|---|---|---|---|---|---|
| nextbit/int4 | 8K | $0.65 | $0.65 | — | — | 100.00% | ZDR: YesTraining: Unknown Prompt logging: Unknown Retention: Unknown Checked 2026-10-15 |
Provider data:OpenRouter
Text provenance
Gemini app/webGoogle SynthID text watermarking
Google DeepMind says text generated in the Gemini app and web experience is watermarked with SynthID by adjusting token probabilities.
Official explanationDeployment graph
Can I run this?
Vertical Tabs only shows compatibility when it has structured evidence tying this exact model to hardware, runtime, quantization, memory use, and observed performance.