gemma-4-12B
Runs on your machine
Choose a machine
We then show the largest format that fits, from real file sizes where we have them.
Scores
No independent scores for this model in Epoch AI's data. A score is only shown here when Epoch's name for a model matches this repo with certainty; an uncertain match is left out rather than guessed.
Claimed by the maker Claimed
The model card has no claimed scores in a machine-readable form (the card's model-index), so none are shown. The maker may give scores in the card text: read the card.
Other views, which we link to and do not copy: look this model up on Artificial Analysis and the Arena leaderboard.
Run it yourself
Memory needed = weights + context cache + 0.50 GB for the runtime. Context cache at 8k tokens: 0.44 GB, worked out from the model's config (google/gemma-4-12B), at 16-bit precision. Choose a machine above to see a verdict for each format. Method
weights context cache runtime
GGUF for llama.cpp, Ollama, LM Studio and others
DhruvalLabs/gemma-4-12B-GGUF (converted by DhruvalLabs), 4.3k downloads. Sizes are the real files on the Hub, all parts added up. Showing the common levels.
| Format | Size | Memory needed | Memory | Get it |
|---|---|---|---|---|
| Q4_K_M | 6.9 GBfile size | 7.8 GB6.9 + 0.44 + 0.50 | Commandsllama.cpp llama-server -hf DhruvalLabs/gemma-4-12B-GGUF:Q4_K_MOllama ollama run hf.co/DhruvalLabs/gemma-4-12B-GGUF:Q4_K_MDownload hf download DhruvalLabs/gemma-4-12B-GGUF --include "gemma-4-12B-Q4_K_M.gguf" --local-dir gemma-4-12B-GGUF | |
| Q5_K_M | 8.0 GBfile size | 8.9 GB8.0 + 0.44 + 0.50 | Commandsllama.cpp llama-server -hf DhruvalLabs/gemma-4-12B-GGUF:Q5_K_MOllama ollama run hf.co/DhruvalLabs/gemma-4-12B-GGUF:Q5_K_MDownload hf download DhruvalLabs/gemma-4-12B-GGUF --include "gemma-4-12B-Q5_K_M.gguf" --local-dir gemma-4-12B-GGUF | |
| Q6_K | 9.1 GBfile size | 10.1 GB9.1 + 0.44 + 0.50 | Commandsllama.cpp llama-server -hf DhruvalLabs/gemma-4-12B-GGUF:Q6_KOllama ollama run hf.co/DhruvalLabs/gemma-4-12B-GGUF:Q6_KDownload hf download DhruvalLabs/gemma-4-12B-GGUF --include "gemma-4-12B-Q6_K.gguf" --local-dir gemma-4-12B-GGUF | |
| Q8_0 | 11.8 GBfile size | 12.7 GB11.8 + 0.44 + 0.50 | Commandsllama.cpp llama-server -hf DhruvalLabs/gemma-4-12B-GGUF:Q8_0Ollama ollama run hf.co/DhruvalLabs/gemma-4-12B-GGUF:Q8_0Download hf download DhruvalLabs/gemma-4-12B-GGUF --include "gemma-4-12B-Q8_0.gguf" --local-dir gemma-4-12B-GGUF |
MLX for Apple silicon
| Format | Size | Memory needed | Memory | Repo |
|---|---|---|---|---|
| MLX 4bitmlx-community/gemma-4-12B-4bit | 10.2 GBfile size | 11.2 GB10.2 + 0.44 + 0.50 | Download page | |
| MLX 8bitmlx-community/gemma-4-12B-8bit | 11.8 GBfile size | 12.8 GB11.8 + 0.44 + 0.50 | Download page |
Original weights size from the safetensors header, for vLLM, SGLang, Transformers
| Format | Size | Memory needed | Memory | Repo |
|---|---|---|---|---|
| BF16original weights | 22.3 GBfile size | 23.2 GB22.3 + 0.44 + 0.50 |
hf download google/gemma-4-12B --local-dir gemma-4-12BOther conversions (3; sizes not read)
- Spinf/gemma-4-12b-fp8 FP8, 68 downloads
- LeaderboardModel1/gemma-4-12B-AutoRound-W4A16-RTN Other, w4a16, 21 downloads
- LeaderboardModel1/gemma-4-12B-AutoRound-MXFP4-RTN Other, mxfp4, 19 downloads
The Hub tags 54 quantised repos as conversions of this model; we read the most downloaded and show the maker's own first.
Run it by API
No provider on Hugging Face Inference Providers serves this model (as of 19 Nov 2026, 13:58 UTC). Other hosts may; we only list what the router reports.
Not built yet: one key for every open model, with BlockRun, and our own tested-quality score per provider. Until then, precision and measured speed are the best guide to a provider here.
Fine-tunes of this model
- google/gemma-4-12B-it12.0B1.6MReviewed
- jialinyyzz/humanizer12.0B434kUnreviewed
- unsloth/gemma-4-12b12.0B7.3kUnreviewed
Planned for this page Not built yet
- Try it in private chat
- A link to Solana AI's confidential chat for the models it serves. This model is not listed as served there.
- Fine-tune it
- Fine-tuning a few base models from this page and publishing the result here.
- Creators and earnings
- Pages for people who publish fine-tunes and adapters of this model, and what they earn.
- Fund and bounties
- Bounties for new open models, paid from a public fund. How the fund will work.
- Contribute compute
- How to give compute to open model work, with Akash.
Model data from the Hugging Face Hub 19 Nov 2026, 15:15 UTC. The repo. Found a mistake on this page? Tell us.