Google · Open weights
Gemma 4 12B Instruct
Google's Gemma 4 12B Instruct is an open-weight multimodal model for text and image understanding, with tool calling and structured output support.
- Tools
- Vision
- Structured output
- Input
- Text, Images
- Output
- Text
- Discovery tier
- Open weights
Pricing
USD per 1M tokens- Input
- $0.05
- Output
- $0.25
- Cache read
- $0.025
Reference prices as published by the model provider. API example
Specifications
- Context window
- 131.1K
- Max output
- 32.8K
- Average output (7 days)
- 162 tokens
- Longer than 16% of 468 models
Side by side
Gemma 4 12B Instruct compared
Specifications, prices, speed and benchmark scores next to each other. Benchmarks below show every compared model too.
| Gemma 4 12B InstructGoogleThis model | Qwen3 Coder FlashQwenRemove | |
|---|---|---|
| Provider | Qwen | |
| Discovery tier | Open weights | Efficient |
| Added | Aug 1, 2026 | Sep 17, 2025 |
| Limits | ||
| Context window | 131.07KBest | 128K |
| Max output | 32.77K | 65.54KBest |
| Average output | 162 tokens | — |
| Pricing, USD per 1M tokens | ||
| Input | $0.05Best | $0.30 |
| Output | $0.25Best | $1.50 |
| Cache read | $0.025 | — |
| Performance | ||
| Throughput | 23.5 tok/s | — |
| Time to first token | 2.5 s | — |
| Request success (24h) | 98.6% | — |
| Benchmark indexes | ||
| Intelligence Index | 9.4 | 9.6Best |
| Math Index | — | 29.0 |
| Capabilities | ||
| Tools | Yes | No |
| Vision | Yes | No |
| Structured output | Yes | No |
| Reasoning effort | — | — |
Public evaluations
Benchmarks
Independent evaluation results, with how each score ranks among the models in the Noumen catalog.
- Gemma 4 12B Instruct
- Qwen3 Coder Flash
Intelligence Index
- Gemma 4 12B Instruct9.4
- Qwen3 Coder Flash9.6
Gemma 4 12B Instruct: Better than 19% of 326 scored models
Indexes
Math Index
Composite of the math evaluations
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 29.0
Document reasoning
AA-LCRv1.1
Reasoning across long documents
- Gemma 4 12B Instruct: 35.0%Top
- Qwen3 Coder Flash: 32.7%
Reasoning and knowledge
Humanity’s Last Exam
Expert-level questions across academic fields
- Gemma 4 12B Instruct: 6.3%Top
- Qwen3 Coder Flash: 3.8%
GPQA Diamond
Graduate-level science questions
- Gemma 4 12B Instruct: 66.1%Top
- Qwen3 Coder Flash: 51.6%
MMLU-Pro
Multi-subject knowledge and reasoning
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 70.6%
IFBench
Following precise output instructions
- Gemma 4 12B Instruct: 45.2%Top
- Qwen3 Coder Flash: 32.7%
Coding
LiveCodeBench
Recent competitive programming problems
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 40.3%
Math
AIME 2025
Competition mathematics, 2025 problems
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 29.0%
AIME
Competition mathematics
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 29.7%
MATH-500
Competition math problems
- Gemma 4 12B Instruct: —
- Qwen3 Coder Flash: 89.3%
Legacy evaluations
Terminal-Bench Hard
Earlier terminal task suite
- Gemma 4 12B Instruct: 11.4%
- Qwen3 Coder Flash: 15.2%Top
τ²-Bench Telecom
Tool use in a customer-support simulation
- Gemma 4 12B Instruct: 31.9%
- Qwen3 Coder Flash: 34.5%Top
AA-LCR (unversioned)
Long-context reasoning, earlier grading
- Gemma 4 12B Instruct: 35.0%Top
- Qwen3 Coder Flash: 32.7%
Scores from Artificial Analysis, updated Oct 26, 2026. Artificial Analysis
Live routing data
Performance and reliability
Recent averages across requests routed for this model. Your own speed depends on prompt length, reasoning effort and load.
- Throughput
- 23.5 tok/s
- Faster than 15% of 253 models
- Time to first token
- 2.5 s
- Quicker than 67% of 253 models
- Prompt cache hits
- 30.2%
- About $0.0425 per 1M input tokens with caching
- Request success (24h)
- 98.3%
- Reliable
Cache hits are the share of input tokens recently served from a prompt cache across all requests. They are not a forecast of your own hit rate.
- Healthy (98% or more)
- Degraded (90–98%)
- Down (under 90%)
- No requests
Developers
Use it through the API
Noumen’s API is OpenAI-compatible: any Chat Completions client works with a base URL and a key.
curl https://www.noumen.xyz/api/v1/chat/completions \
-H "Authorization: Bearer $NOUMEN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gemma-4-12b-it",
"messages": [{ "role": "user", "content": "Explain this stack trace." }]
}'import os
from openai import OpenAI
client = OpenAI(base_url="https://www.noumen.xyz/api/v1", api_key=os.environ["NOUMEN_API_KEY"])
reply = client.chat.completions.create(
model="gemma-4-12b-it",
messages=[{"role": "user", "content": "Explain this stack trace."}],
)
print(reply.choices[0].message.content)Related models
Other Google models, starting with the same family.