- input
- $0.65
- output
- $0.65
- Context
- 8Ktokens
- Released
- 2y ago
- Size
- 27Bparameters
Cost/1M tokens
Gemma 2 27B is an open-weights language model from Google DeepMind and the second generation of the Gemma family of lightweight open models, built with the same research and technology as Gemini. In its launch announcement, Google says Gemma 2 is higher-performing and more efficient at inference than the first generation, and that it delivers performance competitive with models more than twice its size while running on a single GPU or TPU host to reduce deployment costs. The model card describes it as suited to text generation tasks such as question answering, summarization, and reasoning.
- Language model
- Open weights · 27B
- Structured output
How it compares
Score vs. costArena Text
Each model at its best score · Dashed: the best score at each cost
- Google DeepMind
- Moonshot AI
- Thinking Machines Lab
- Z.ai
- OpenAI
- Meta
- Anthropic
- Xiaomi
- IBM
- DeepSeek
Medium27BAn open-weight model of 25 to 100 billion parameters, for a workstation or a single server GPU.
Open models of a similar size from other labs
Add the models you use to see how this one compares.
Sign inAdditional source evidence
- Source model
- google/gemma-2-27b-it
- Source family
- gemma
- Last updated
- 2024-07-13
- Knowledge cutoff
- 2024-06-30
- Model context
- 8K
- Model output limit
- 2K
- Open weights
- Yes
- File attachments
- No
- Reasoning
- No
- Tool calling
- No
- Temperature control
- Yes
Downloadable weights
Complete source record (JSON)
{
"id": "google/gemma-2-27b-it",
"name": "Gemma 2 27B",
"description": "Open Gemma instruction model for efficient chat and self-hosted deployments",
"family": "gemma",
"last_updated": "2024-07-13",
"knowledge": "2024-06-30",
"attachment": false,
"reasoning": false,
"tool_call": false,
"temperature": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 8192,
"output": 2048
},
"release_date": "2024-07-13",
"open_weights": true,
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/google/gemma-2-27b-it"
}
]
}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 explanationFrequently asked questions
Running locally
By our estimate, Gemma 2 27B needs about 18.9 GB at Q4, 33.8 GB at Q8 and 62.6 GB at FP16 of VRAM. That covers the weights plus headroom for a short context, and longer contexts need more.
Yes, by our estimates Gemma 2 27B fits on a 24 GB GPU at Q4 (about 18.9 GB). It does not fit fully on 16 GB, 12 GB and 8 GB GPUs.
Yes, a Mac with at least 32 GB of unified memory should run Gemma 2 27B at Q4, which needs an estimated 18.9 GB. This assumes macOS gives the GPU about 75% of unified memory.
The smallest 4-bit or higher build of Gemma 2 27B is gemma2:2b (Q4_0), a 1.6 GB download that needs an estimated 2.3 GB of VRAM. Lower-bit builds are smaller but are not the ones we suggest.
Run ollama run gemma2:latest to download and start Gemma 2 27B in Ollama (5.4 GB). There are 89 other Ollama builds with different sizes and quantizations.
Vertical Tabs records support for Gemma 2 27B in Ollama. It also has published Ollama builds.
The default Ollama build, gemma2:latest, is a 5.4 GB download. Across 90 builds, sizes range from 1.2 GB to 54 GB.
API and pricing
Gemma 2 27B is listed at $0.65 per 1M input tokens and $0.65 per 1M output tokens.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00715 with Gemma 2 27B at the cheapest provider, NextBit.
1 of 1 tracked Gemma 2 27B endpoints had 99% uptime or better over the last day. The best was NextBit at 100.0%.
Privacy and data
NextBit offers zero data retention for Gemma 2 27B, so prompts are not stored after the request.
Yes, Gemma 2 27B has open weights, so you can run it on your own hardware and keep prompts on your own machines. The quickest start is ollama run gemma2:latest.
Capabilities and specs
Gemma 2 27B has a 8K token context window. It can write up to 2K output tokens per response.
No, Gemma 2 27B takes text input only.
No, Gemma 2 27B is not listed with tool calling support.
Yes, Gemma 2 27B supports structured output, so responses can be constrained to JSON.
No, Gemma 2 27B is not listed with a reasoning mode.
Gemma 2 27B has a knowledge cutoff of 2024-06-30, so it does not know about later events unless you provide them.
Quality and benchmarks
Gemma 2 27B ranks #302 on Arena Text, using Arena's published ranks.
Similar models from other labs include Llama 3.1 70B Instruct (Meta), Qwen2.5 Coder 32B Instruct (Qwen) and Llama 3.1 Euryale 70B v2.2 (Sao10K). They are the closest matches by kind, price and release date.
Llama 3.1 70B InstructGemma 2 27B vs Llama 3.1 70B InstructQwen2.5 Coder 32B InstructGemma 2 27B vs Qwen2.5 Coder 32B InstructLlama 3.1 Euryale 70B v2.2Gemma 2 27B vs Llama 3.1 Euryale 70B v2.2
Versions and lineage
Both have a 8K token context window.
Licensing and access
Gemma 2 27B has open weights, so you can download and run it yourself.
The Gemma 2 27B weights are on Hugging Face at google/gemma-2-27b-it. There are also 90 Ollama builds.
Basics
Gemma 2 27B was made by Google DeepMind. It was released on June 27, 2024.
Yes, Gemma 2 27B has open weights, so you can run it on your own hardware without API fees. Paid API access is listed at $0.65 per 1M input tokens and $0.65 per 1M output tokens.
Generated from Vertical Tabs data, updated November 23, 2026.


Discussion
No comments yet
Be the first to share your thoughts.