Gemma 3 12B IT
- In Input modalities: TextImage Out Output modalities: Text
- Tool use
- Open weights
Prices
1 offering · prices as listed@cf/google/gemma-3-12b-it| Conditions/ 1M tokens | Input | Output |
|---|---|---|
| Standard | $0.345 | $0.556 |
Prices from Cloudflare Workers AI pricing (opens in a new tab) (checked Nov 1, 2026)
Standard: the price a request with no conditions pays (the headline price elsewhere on the site).
Details
- Reasoning
- —
- Knowledge cutoff
- Aug 2024
- Licence
- gemma
- Family
- gemma
- Model ID
Not stated on Google’s pages: max input, reasoning efforts, reasoning can be off, max thinking budget, structured output, built-in tools, aliases.
Run locally
Weights: google/gemma-3-12b-it- Parameters 12.2B
- Dense
- Native precision BF16
- Layers 48
- KV cache per token 360 KB
- API context 128K (maker’s API)
- Needs
- ≈ 15.5 GB (weights 12.1 + KV cache 2.8 + overhead 0.6)
- Usable
- 21.6 GB (90% of its memory)
- Generation speed
- 32–47 tok/s
- Longest context
- 25K (longer doesn’t fit)
- First token
- about 0.39–0.59 s for a 2K prompt
| Precision | Weights | Needs at 8K | On your hardware | Longest context |
|---|---|---|---|---|
| BF16 (native)maker’s file | 22.7 GB | ≈ 26.6 | ○Needs system memory 6–9 tok/s | — |
| Q8_0 | 12.1 GB | ≈ 15.5 | ●Runs well 32–47 tok/s | 25K |
| FP8 | 11.4 GB | ≈ 14.7 | ●Runs well 33–50 tok/s | 27K |
| Q6_K | 9.3 GB | ≈ 12.6 | ●Runs well 39–58 tok/s | 33K |
| Q5_K_M | 8.1 GB | ≈ 11.4 | ●Runs well 43–65 tok/s | 37K |
| Q5_0 | 7.8 GB | ≈ 11.1 | ●Runs well 44–66 tok/s | 38K |
| Q4_K_M | 6.9 GB | ≈ 10.2 | ●Runs well 48–73 tok/s | 40K |
| Q4_0 | 6.4 GB | ≈ 9.7 | ●Runs well 51–77 tok/s | 42K |
| IQ4_XS | 6.0 GB | ≈ 9.3 | ●Runs well 53–80 tok/s | 43K |
| Q3_K_Mquality drops | 5.5 GB | ≈ 8.9 | ●Runs well 56–84 tok/s | 44K |
| IQ3_XXSquality drops | 4.3 GB | ≈ 7.7 | ●Runs well 66–98 tok/s | 48K |
| Q2_Kquality drops | 4.3 GB | ≈ 7.6 | ●Runs well 66–100 tok/s | 48K |
| IQ2_XXSquality drops | 2.9 GB | ≈ 6.2 | ●Runs well 82–123 tok/s | 52K |
Click a row to choose a precision. “Maker’s file” sizes are the maker’s own files; others are parameters × bits per weight.
Compared with other hardware
Each at the highest precision it runs. Click one for details.
Smallest that runs it (Q4_K_M, 8K): GPU GeForce RTX 5070; unified memory Apple M5 · 16 GB.
Run commands
The maker publishes no files at this precision. Choose its native precision or one of its own builds, or quantise it yourself with llama.cpp.
Memory to fine-tune
Batch 1, 2,048-token sequences, gradient checkpointing; LoRA and QLoRA train rank-16 adapters on the attention projections.
Estimates; facts from the maker’s Hugging Face repositories, as of 2026-11-06. How it’s estimated
Cited scores
From third-party leaderboards, not measured by us- LMArena Text 1,342
#131 of 163 listed models · CI 1,332–1,351 · 3,829 votes
- Epoch AI · GPQA Diamond 39.5%
#147 of 168 listed models · ±2.53
- Epoch AI · OTIS Mock AIME 2024–2025 16.7%
#126 of 159 listed models · ±4.24
- EQ-Bench Creative Writing v3 1,131
#80 of 93 listed models
- LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · License · as of Oct 28, 2026
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · License · as of Nov 4, 2026
- EQ-Bench by Samuel J. Paech (eqbench.com; EQ-bench/EQ-bench-site on GitHub), MIT License. · License · as of Oct 28, 2026
- changes we made
Changes
All changes →- Now priced on Cloudflare Workers AI Input $0.345 · Output $0.556
Sources
- google/gemma-3-12b-it model card (opens in a new tab) huggingface.co · checked Oct 30, 2026
- Cloudflare Workers AI pricing (opens in a new tab) developers.cloudflare.com · checked Nov 1, 2026
- models.dev: google/gemma-3-12b-it (community data, MIT) (opens in a new tab) github.com · checked Oct 11, 2026
- google/gemma-3-12b-it model card (opens in a new tab) huggingface.co · checked Nov 4, 2026
- google/gemma-3-12b-it files (opens in a new tab) huggingface.co · checked Nov 3, 2026
- google/gemma-3-12b-it config.json (opens in a new tab) huggingface.co · checked Oct 30, 2026
Google’s official policies: data use, privacy, terms →
Some values on this page are still waiting to be checked against official pages: a filled dot is verified, a hollow one is not yet (with or without a source on file). How we verify data
Google · United States · ai.google.dev
Related models
Snapshots, the same family and other models from this provider