Google DeepMind

Gemma 2 27B

Generally availableOpen weights8K context

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

DeveloperGoogle DeepMind
Release date13 Jul 2024 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [Hugging Face]
Licensegemma [Hugging Face]
Parameters27.2B [Hugging Face]
Context window8K (8,192 tokens) [models.dev]
Max output2K tokens [models.dev]
Knowledge cutoff30 Jun 2024 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeNo [models.dev]
Tool callingNo [models.dev]
Structured outputYes [models.dev]
Hugging Facegoogle/gemma-2-27b-it [Hugging Face]

Gemma 2 27B API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
OpenRouter
google/gemma-2-27b-it
$0.65$0.65–8KOpenRouter, 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.

QuantizationWeightsTotal, 8K contextTotal, 32K context
Q4_K_M (4-bit)17 GB17 GB–
Q8_0 (8-bit)29 GB30 GB–
FP16 / BF16 (16-bit)54 GB55 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.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Hermes 2 Pro Llama 3 8BNousresearch30 Apr 20248K$0.14$0.14Open
BGE Multilingual Gemma2Baai25 Jul 20248K––Open
GPT-3.5 Turbo (older v0613)OpenAI25 Jan 20244K$1$2–
Llama 3 8B LunarisSao10k13 Aug 20248K$0.04$0.05Open
WizardLM 2 8x22BMicrosoft15 Apr 202466K$0.62$0.62Open
ReMM SLERP 13BUndi9522 Jul 20236K$0.30$0.50Open

Change history

No changes detected since we started tracking this model. We re-check every source daily.

Sources