Google: Gemma 2 27B
Gemma 2 27B is a language model from Google released on Jul 13, 2024. It reads text and writes text, with a 8K token context window and up to 2K tokens per reply.
Show moreShow less
It costs $0.65 per million input tokens and $0.65 per million output tokens.
It supports structured JSON output, and its weights are open, so you can host it yourself.
3 providers serve it, including Hugging Face, Kilo Gateway and AI/ML API.
- Modalities
- In / out price
- $0.65 / $0.65 per 1M
- Context
- 8K
- Max output
- 2K
- Released
- Jul 13, 2024
- Knowledge cutoff
- Jun 2024
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Gemma 2 27B pricing
USD, as listed on Nov 29, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.65 / 1M tokens | |
|---|---|---|
| Output | $0.65 / 1M tokens |
Gemma 2 27B providers
3 providers serve it, including Hugging Face, Kilo Gateway and AI/ML API. Each host sets its own price and limits, so the cheapest one is not always the one with the longest context.
| Provider | Input /M | Output /M | Cache read /M | Context | Max output |
|---|---|---|---|---|---|
| Hugging Face | $0.65 | $0.65 | n/a | 8K | 2K |
| Kilo Gateway | $0.65 | $0.65 | n/a | 8K | 2K |
| AI/ML API | $0.6877 | $0.6877 | n/a | 8K | 2K |
What Gemma 2 27B costs per month
Pick a workload close to yours or type your own volumes.
Supported request parameters
What you can set when you call Gemma 2 27B through an OpenAI compatible API.
- Structured outputs
structured_outputs - Temperature
temperature
Alternatives to Gemma 2 27B
Models that take the same inputs, closest in price, cheaper ones first.
- Index 13.1
Reads text and images. Tool calling, structured output, reasoning. Served by 3 providers.
by cohereMay 20, 2026192K context$0.30/M input tokens$1.50/M output tokens3 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 26 providers.
by googleMar 3, 2026$0.25/M input tokens$1.50/M output tokens26 providers
- Index 46.3
Reads text, images, audio and video. Tool calling, structured output, reasoning. Served by 27 providers.
by xiaomiSep 22, 20261.05M context$0.435/M input tokens$0.87/M output tokens27 providers
- Index 39.5
Reads text and images. Tool calling, structured output, reasoning. Served by 92 providers.
by deepseekSep 10, 20261.05M context$0.30/M input tokens$1.20/M output tokens92 providers
- Index 17.5
Reads text and images. Tool calling, structured output, reasoning. Served by 15 providers.
by metaAug 10, 2026131K context$0.30/M input tokens$1.20/M output tokens15 providers
- Index 29.2
Reads text, images and video. Tool calling, structured output, reasoning. Served by 51 providers.
by minimaxJun 1, 20261M context$0.30/M input tokens$1.20/M output tokens51 providers
More from Google
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 19 providers.
by googleNov 18, 2026$3/M input tokens$15/M output tokens19 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 20 providers.
by googleNov 12, 2026$1.50/M input tokens$7.50/M output tokens20 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 20 providers.
by googleNov 10, 2026$2/M input tokens$10/M output tokens20 providers
- 131K context
Generates video from text, images, files and video. Served by 2 providers.
by googleNov 5, 2026$1.50/M input tokens$9/M output tokens2 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 32 providers.
by googleOct 13, 2026$2/M input tokens$10/M output tokens32 providers
Nano Banana 2.1
Image66K contextGenerates images from text and images. Served by 4 providers.
by googleOct 6, 2026$1.50/M input tokens$7.50/M output tokens4 providers
Gemma 2 27B questions
How much does the Gemma 2 27B API cost?
$0.65 per million input tokens and $0.65 per million output tokens. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Gemma 2 27B?
8,192 tokens of input, and it can write up to 2,048 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve Gemma 2 27B?
3 providers serve it, including Hugging Face, Kilo Gateway and AI/ML API. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does Gemma 2 27B support tool calling?
Not through the standard tools parameter. For an agent that calls your APIs, pick a model from the alternatives below that does.
Is Gemma 2 27B open source?
Its weights are published, so you can run it on your own hardware or a cloud of your choice. Read the license before commercial use.
When was Gemma 2 27B released?
Jul 13, 2024, with training data up to Jun 2024.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Nov 29, 2026. The summary is written from these facts.