Google: Gemma 4 12B Instruct
Gemma 4 12B Instruct is a language model from Google released on May 31, 2026. It reads text and images and writes text, with a 131K token context window and up to 33K tokens per reply.
Show moreShow less
It costs $0.05 per million input tokens and $0.25 per million output tokens. Cached input bills at $0.025, 50% less than fresh input.
It supports tool calling, structured JSON output and prompt caching, and its weights are open, so you can host it yourself.
3 providers serve it, including SiliconFlow, NanoGPT and Pioneer.
- Modalities
- In / out price
- $0.05 / $0.25 per 1M
- Context
- 131K
- Max output
- 33K
- Released
- May 31, 2026
- Knowledge cutoff
- n/a
- Tool calling
- Structured output
- Reasoning
- Prompt caching
- Open weights
- Free to use
Gemma 4 12B Instruct pricing
USD, as listed on Oct 15, 2026. Most bills are input heavy, so the cached input rate matters as much as the headline price.
| Input | $0.05 / 1M tokens | |
|---|---|---|
| Output | $0.25 / 1M tokens | |
| Cached input (read) | $0.025 / 1M tokens | 50% off input |
Gemma 4 12B Instruct providers
3 providers serve it, including SiliconFlow, NanoGPT and Pioneer. 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 |
|---|---|---|---|---|---|
| SiliconFlow | $0.10 | $0.30 | – | 262K | 262K |
| NanoGPT | $0.05 | $0.25 | $0.025 | 131K | 33K |
| Pioneer | $0.25 | $0.25 | $0.25 | 33K | 33K |
What Gemma 4 12B Instruct 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 4 12B Instruct through an OpenAI compatible API.
- Tools
tools - Structured outputs
structured_outputs - Temperature
temperature
Alternatives to Gemma 4 12B Instruct
Models that take the same inputs and call tools, closest in price, cheaper ones first.
- Index 4.8
Reads text and images. Tool calling, structured output. Served by 9 providers.
by mistralaiDec 2, 2025131K context$0.10/M input tokens$0.10/M output tokens9 providers
- 33K context
Reads text, images and audio. Tool calling, structured output, reasoning. Served by 2 providers.
by googleApr 2, 2026$0.10/M input tokens$0.10/M output tokens2 providers
- 131K context
Reads text and images. Tool calling, structured output. Served by 15 providers.
by googleMar 12, 2025$0.08/M input tokens$0.16/M output tokens15 providers
- 262K context
Reads text and images. Tool calling. Served by 2 providers.
by mistralaiOct 1, 2024$0.10/M input tokens$0.10/M output tokens2 providers
- 990K context
Reads text, images, audio and video. Tool calling. Served by 3 providers.
by googleFeb 5, 2025$0.052/M input tokens$0.21/M output tokens3 providers
- 262K context
Reads text, images and video. Tool calling, structured output, reasoning. Served by 5 providers.
by inclusionaiSep 8, 2026$0.06/M input tokens$0.18/M output tokens5 providers
More from Google
Nano Banana 2.1
Image66K contextGenerates images from text, images and files. Served by 4 providers.
by googleOct 6, 2026$1.50/M input tokens$7.50/M output tokens4 providers
- 1.05M context
Reads text, images, files, audio and video. Tool calling, structured output, reasoning. Served by 13 providers.
by googleSep 30, 2026$2/M input tokens$10/M output tokens13 providers
Turns text into spoken audio.
by googleSep 23, 2026$0.50/M input tokens$6/M output tokens
Gemini 3.8 Flash TTS
SpeechTurns text into spoken audio.
by googleSep 23, 2026$0.50/M input tokens$9/M output tokens
- 262K context
Reads text. Reasoning.
by googleSep 19, 2026$0.05/M input tokens$0.15/M output tokens
- 262K context
Reads text and images. Tool calling, reasoning.
by googleSep 19, 2026$0.1056/M input tokens$0.3344/M output tokens
Gemma 4 12B Instruct questions
How much does the Gemma 4 12B Instruct API cost?
$0.05 per million input tokens and $0.25 per million output tokens, with cached input at $0.025. The estimator on this page turns that into a monthly bill for your own workload.
What is the context window of Gemma 4 12B Instruct?
131,072 tokens of input, and it can write up to 32,768 tokens in one reply. As a rough guide, a million tokens is around 750,000 English words.
Which providers serve Gemma 4 12B Instruct?
3 providers serve it, including SiliconFlow, NanoGPT and Pioneer. Prices differ by host, so the Providers table on this page lists each one with its input and output price.
Does Gemma 4 12B Instruct support tool calling?
Yes. It accepts tool definitions and can return JSON that matches a schema, which is what an agent needs to call your APIs.
Is Gemma 4 12B Instruct 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 4 12B Instruct released?
May 31, 2026.
Catalog data from models.dev (MIT licensed), refreshed daily, last on Oct 15, 2026. The summary is written from these facts.
Building on Gemma 4 12B Instruct?
I test your real tasks on it and the two closest alternatives, then ship the agent on whichever wins on cost and accuracy.
Book Meeting