Decision models · Alibaba
Qwen3Guard Gen 4B
- Task
- Safety and policy checks
- Returns
- Fixed labels
- Precision tier
- 84 / 100
- Size
- 4.4B
- Max input
- 32K tokens
- License
- apache-2.0
- Released
- 2025-09
What it decides
- Returns
- Safe, Controversial or Unsafe, plus categories and a refusal flag.
- Checks
- Prompts and replies
- Languages
- 119 languages
- Precision
- 84 / 100 · Highest recall (84%) and F1 0.756 of 14 guard models in an independent 2026 comparison (arXiv 2605.28830).
- Clarity
- Fixed labels (12 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
- apache-2.0 (Open (Apache, MIT))
How to run it
Quantized files · GGUF
Works in LM Studio, llama.cpp, Jan and Ollama. No sign-in needed.
huggingface.co/mradermacher/Qwen3Guard-Gen-4B-GGUF (opens in a new tab)
ollama run hf.co/mradermacher/Qwen3Guard-Gen-4B-GGUFOriginal weights · Hugging Face
Full-precision files from Alibaba, for fine-tuning, vLLM, Transformers.
Apps that run Qwen3Guard Gen 4B
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 | GGUF from Hugging Face | 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 | 3.6 GB | 63 ms | 16/s | 79Great quality (A) · 79 of 100: how capable the model is at Q4_K_M, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q5_K_M | 4.0 GB | 68 ms | 15/s | 81Great quality (A) · 81 of 100: how capable the model is at Q5_K_M, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q6_K | 4.5 GB | 73 ms | 14/s | 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
Q8_0 | 5.6 GB | 84 ms | 12/s | 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) |
F16 | 9.7 GB | 133 ms | 7.5/s | 84Great quality (A) · 84 of 100: how capable the model is at F16, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | GGUF (opens in a new tab) Original weights (opens in a new tab) |
Best hardware for Qwen3Guard Gen 4B
The least expensive GPU in our catalog that runs it without offloading is the Intel Arc A380 (launch price $139) at Q6_K.
| Quality | Hardware | Quant | Memory | Time per decision | Runs |
|---|---|---|---|---|---|
| 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 7900 XTX |
Q8_0 | 6.8 GB / 24.0 GB | 85 ms | Runs great |
| 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4090 |
Q8_0 | 6.8 GB / 24.0 GB | 84 ms | Runs great |
| 84Great quality (A) · 84 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5090 |
F16 | 11.3 GB / 32.0 GB | 85 ms | Runs great |
| 84Great quality (A) · 84 of 100: how capable the model is at F16, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA RTX PRO 6000 Blackwell |
F16 | 14.5 GB / 96.0 GB | 80 ms | Runs great |
| 84Great quality (A) · 84 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5080 |
Q8_0 | 6.4 GB / 16.0 GB | 104 ms | Runs great |
| 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 89/100 (quality, fit, speed and memory use) sets the ranking. | AMD Radeon RX 9070 XT |
Q6_K | 5.3 GB / 16.0 GB | 98 ms | Runs great |
| 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4080 SUPER |
Q6_K | 5.3 GB / 16.0 GB | 106 ms | Runs great |
| 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 5070 Ti |
Q6_K | 5.3 GB / 16.0 GB | 110 ms | Runs great |
| 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 88/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 4070 Ti SUPER |
Q6_K | 5.3 GB / 16.0 GB | 121 ms | Runs great |
| 83Great quality (A) · 83 of 100: how capable the model is at Q6_K, whatever it runs on. Match score 87/100 (quality, fit, speed and memory use) sets the ranking. | NVIDIA GeForce RTX 3090 |
Q6_K | 5.7 GB / 24.0 GB | 125 ms | Runs great |
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.









