Skip to content
llmmodels
Chat LLMOpen weightsStructured output

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.

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 →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

Where to run Gemma 2 27B — API providers & pricing

ProviderInput $/1MOutput $/1MCached inputContext
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

Alternatives to Gemma 2 27B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen2.5-Coder-32B-InstructopenAlibaba (Qwen)Nov 202433B32K$0.66$1118.7
Llama 3-70BopenMetaApr 202471B———121.3
Qwen2-72BopenAlibaba (Qwen)Jun 202473B———122.3
Mixtral 8x22B InstructopenMistral AIApr 2024141B64K$2$6118.7
Llama-3.1-70B-InstructopenMetaJul 202471B128K$0.72$0.72124.7
Anthropic: Claude 3.5 HaikuAnthropicOct 2024—200K$0.68$3.40124.8
Mistral Large 3openMistral AINov 2024675B256K$0.5$1.50120.0
Gemma 2 9BopenGoogle DeepMindJun 20249.2B———112.4

More models from Google DeepMind

All Google DeepMind models →
ModelReleasedParamsContextInput $/1MOutput $/1M
Gemma 4 31B ITopenApr 202631B256KFreeFree
Gemma 4 26B A4B ITopenApr 202626B (4B act.)256KFreeFree
Gemini 4 ArgonOct 2026—1M$2$10
Gemini 4 CarbonNov 2026—1M$2$10
Gemini 3.8 FlashSep 2026—1M$0.75$3.75
Gemini 4 HydrogenNov 2026—1M$1.50$7.50
Gemini Pro LatestFeb 2026—1M$2$12
Gemini 3.7 FlashAug 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.