Decision models · Google
ShieldGemma 9B
- Task
- Safety and policy checks
- Returns
- Probability or score
- Precision tier
- 64 / 100
- Size
- 9.2B
- Max input
- 8K tokens
- License
- gemma
- Released
- 2024-07
What it decides
- Returns
- A Yes/No probability that the text breaks one named policy.
- Checks
- Prompts and replies, one policy per call
- Languages
- English
- Precision
- 64 / 100 · Middle ShieldGemma size.
- Clarity
- Probability or score (15 of 15 clarity points)
- How it runs
- Writes a short answer · a small language model, so it runs in the same apps as LLMs.
- License
- gemma (Custom (read the terms))
How to run it
Quickest · Ollama
One command downloads a ready-to-run version and starts a chat.
ollama run shieldgemma:9bQuantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/QuantFactory/shieldgemma-9b-GGUF (opens in a new tab)
ollama run hf.co/QuantFactory/shieldgemma-9b-GGUFOriginal weights · Hugging Face
Full-precision files from Google, for fine-tuning, vLLM, Transformers.
Apps that run ShieldGemma 9B
Our pick for each kind of computer, assuming the model fits in its memory. Pick your own GPU or Mac in the Model Finder for an exact answer.
Mac (Apple silicon)
Windows PC, NVIDIA GPU
Windows PC, AMD Radeon
Linux, NVIDIA GPU
Linux server, 80 GB+ GPUs
| App | Type | Opens it as | Systems | Engine | Start |
|---|---|---|---|---|---|
| LM Studio | Desktop app | GGUF | macOSWindowsLinux | Open in LM Studio | |
| Ollama | CLI + API | Ollama library | macOSWindowsLinux |
|
|
| llama.cpp | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Jan | Desktop app | GGUF | macOSWindowsLinux | Open in Jan | |
| vLLM | Server | Original weights | WSLWindowsLinux |
|
|
| SGLang | Server | Original weights | WSLWindowsLinux |
|
|
| Docker Model Runner | CLI + API | GGUF | macOSWindowsLinux |
|
|
| Lemonade | Desktop app | GGUF | macOSWindowsLinux |
|
|
| Unsloth Desktop | Desktop app | GGUF | macOSWindowsLinux | Open in Unsloth Desktop | |
| Atomic Chat | Desktop app | GGUF | macOSWindowsLinux | Open in Atomic Chat | |
| LocalAI | Server | GGUF | macOSWSLWindowsLinux | Get LocalAI | |
| Sentence Transformers | Library | Original weights | macOSWindowsLinux | Get Sentence Transformers |
Memory and speed
Each quantization on an NVIDIA GeForce RTX 4090, for one decision on a 512-token input. The best hardware table below covers other GPUs and Macs.
| Format | Memory needed | Time per decision | Decisions per second | Quality | Download |
|---|---|---|---|---|---|
Q4_K_M | 6.9 GB | 91 ms | 11/s | 60Good quality (B) · 60 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 7.9 GB | 93 ms | 11/s | 62Good quality (B) · 62 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 82/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 8.9 GB | 94 ms | 11/s | 63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 11.1 GB | 98 ms | 10/s | 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 19.8 GB | 115 ms | 8.7/s | 64Good quality (B) · 64 of 100: how capable the model is at F16, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | Original weights (opens in a new tab) |
Best hardware for ShieldGemma 9B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A580 (launch price $179) at Q4_K_M.
| Quality | Hardware | Quant | Memory | Time per decision | Runs |
|---|---|---|---|---|---|
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
Q8_0 | 12.3 GB / 24.0 GB | 84 ms | Runs great |
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4090 |
Q8_0 | 12.3 GB / 24.0 GB | 98 ms | Runs great |
| 64Good quality (B) · 64 of 100: how capable the model is at F16, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5090 |
F16 | 21.4 GB / 32.0 GB | 85 ms | Runs great |
| 64Good quality (B) · 64 of 100: how capable the model is at F16, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX PRO 6000 Blackwell |
F16 | 24.6 GB / 96.0 GB | 74 ms | Runs great |
| 63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 83/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
Q6_K | 9.7 GB / 16.0 GB | 102 ms | Runs great |
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5080 |
Q8_0 | 11.9 GB / 16.0 GB | 136 ms | Runs well |
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 81/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4080 SUPER |
Q8_0 | 11.9 GB / 16.0 GB | 150 ms | Runs well |
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5070 Ti |
Q8_0 | 11.9 GB / 16.0 GB | 170 ms | Runs well |
| 64Good quality (B) · 64 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 80/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4070 Ti SUPER |
Q8_0 | 11.9 GB / 16.0 GB | 175 ms | Runs well |
| 63Good quality (B) · 63 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 79/100 (quality, fit, speed and memory use) sets the ranking. | AMD Ryzen AI Max+ 395 (128 GB) |
Q6_K | 16.6 GB / 96.0 GB | 182 ms | Runs well |
Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.









