Best Content Moderation Model 2026: Qwen3Guard, Llama Guard 4, ShieldGemma or gpt-oss-safeguard?
The right guard model depends on your languages, your media types and how often your policy changes. This guide matches the main open models to each situation and prices them at 100,000 items a day.
For most self-hosted text moderation in 2026, Qwen3Guard is the strongest first candidate, with Nemotron Safety Guard 8B v3 as the second. In the largest independent comparison of 14 open guard models, Qwen3Guard caught the most harmful prompts and Nemotron had the best F1. Teams whose policy changes often should test gpt-oss-safeguard or Shieldstral with a carefully written policy, and teams without ML staff can start with OpenAI's free omni-moderation-latest. Every choice should be confirmed on a labelled sample of your own content before launch.
Qwen3Guard and Nemotron led the largest independent test on recall and F1
Researchers at Domyn published the broadest head-to-head test on April 10, 2026. They ran 14 open guard models on 79,331 English prompts and ranked them by recall, the share of harmful items caught. Qwen3Guard-Gen-4B caught 84%, with an F1 of 0.756. Nemotron Safety Guard 8B v3 caught 77%, with the best F1 at 0.761. Granite Guardian 3.3 8B caught 69%.
The models from Google, Meta and OpenAI flagged items accurately but missed most harmful content in that test. ShieldGemma 2B caught 45%, Llama Guard 4 12B caught 33%, and gpt-oss-safeguard 20B caught 25%. Those results come with two conditions that a buyer needs to understand.
Qwen3Guard's lead depends on how its middle label is counted. The model labels content as safe, controversial or unsafe. The authors counted "controversial" as unsafe. Counted as safe, Qwen3Guard's recall fell to 47%, and it would have ranked 10th.
gpt-oss-safeguard's result depends on the policy that it receives. The model ships without a default policy, so the authors wrote their own from NIST categories. In Mistral's own F1 table for its Shieldstral launch, the same model scored 87.3 on WildGuardTest prompts, close to the top. That table used different data as well, so the gap cannot be assigned to the policy alone.
Your languages, media types and rate of policy change should set the shortlist
A study of 53 models, accepted to EMNLP 2026, found that models that lead in one kind of harm fall behind smaller specialized models in another. A shortlist should therefore follow your harms and your constraints, not a single overall score.
| Your situation | Models to test first | Why they fit |
|---|---|---|
| Many languages | Qwen3Guard, Nemotron Safety Guard | 119 languages and dialects for Qwen3Guard, nine for Nemotron |
| Strict recall on standard harms | Qwen3Guard, Nemotron Safety Guard | Highest recall and F1 in the 14-model test |
| Policy that changes often | gpt-oss-safeguard, Shieldstral | Both take a written policy as input at inference |
| Images as well as text | Llama Guard 4, Shieldstral, ShieldGemma 2 | All three accept images |
| No ML staff | OpenAI omni-moderation-latest |
Free hosted API for text and images |
The licences differ in ways that matter for some buyers. Qwen3Guard, gpt-oss-safeguard, Shieldstral and Granite Guardian use Apache 2.0. Llama Guard 4 uses the Llama 4 Community License, which requires a separate licence above 700 million monthly users. Nemotron Safety Guard uses NVIDIA's Open Model License alongside the Llama 3.1 licence, and ShieldGemma uses Google's Gemma terms.
Multilingual platforms should start with Qwen3Guard
Qwen3Guard covers 119 languages and dialects, according to its model card, and it comes in 0.6B, 4B and 8B sizes. It moderates replies as well as prompts and adds a field that shows whether a reply was a refusal. Nemotron Safety Guard 8B v3 supports nine languages, including Hindi, Japanese, Arabic and Thai. Llama Guard 4 is a weaker fit here, because Meta's own model card shows recall falling from 69% in English to 43% in other languages. Granite Guardian and ShieldGemma are trained for English.
Teams with a fast-changing policy should test the policy-driven models
gpt-oss-safeguard and Shieldstral both take your written policy as input with each item, so a rule change needs no retraining. The result then depends mostly on the quality of the written policy. OpenAI's cookbook recommends four sections, for instructions, definitions, criteria and examples, and a length of 400 to 600 tokens. It also reports "small but meaningful" accuracy drops when several policies share one prompt.
Shieldstral is smaller, at 3B parameters, and returns a probability from a single pass. gpt-oss-safeguard 20B reasons before it answers, which adds output tokens and time. OpenAI's announcement says that it can be time- and compute-intensive. OpenAI's own advice is to filter with a small, high-recall classifier first and to send only uncertain items to gpt-oss-safeguard.
Image moderation narrows the open choices to Llama Guard 4, Shieldstral and ShieldGemma 2
Llama Guard 4 is a 12B model that accepts text and several images in one request. Meta's own single-image figures show a recall of 41% and a false-positive rate of 9%. Shieldstral accepts images with optional text. ShieldGemma 2 is a separate 4B image classifier from Google for sexually explicit, dangerous and violent content. OpenAI's free endpoint scores images for self-harm, sexual and violent categories, while its harassment, hate and illicit categories apply to text only.
Moderating replies as well as prompts can change the ranking
The Domyn test scored prompts only. The EMNLP study found that almost every model did better when it could see the reply as well as the prompt, and that specialized guard models gained the most. If you moderate a chatbot's replies, include replies in your test set. In Mistral's own table, Shieldstral, gpt-oss-safeguard 20B, Qwen3Guard-8B and Nemotron 3.5 Content Safety 4B scored within about 3 F1 points of each other on WildGuardTest replies. Llama Guard 4 scored 66.8 on the same test.
A worked example prices each option at 100,000 items a day
The example assumes 100,000 items a day and a 30-day month. Each item carries a 600-token policy, 200 tokens of content and 150 tokens of model output. List prices come from each provider's own page.
| Option | How it is billed | Cost per month |
|---|---|---|
OpenAI omni-moderation-latest |
Free | $0 |
| gpt-oss-safeguard-20b on Groq | $0.075 input, $0.30 output per million tokens | About $315, or $246 with the policy cached |
| Self-hosted model on one Together H100 | $5.49 per GPU-hour | About $3,953 |
| Parsec TOD | $0.30 per 1,000 decisions | About $900 |
The Groq figure works out as follows. For 1,000 items, input is 800,000 tokens at $0.075 per million, or $0.06. Output is 150,000 tokens at $0.30 per million, or $0.045. That totals $0.105 per 1,000 items, or $10.50 a day. If the 600-token policy is billed at Groq's $0.037 cached rate, the total falls to $0.082 per 1,000 items. Groq lists the model as a preview that may be discontinued at short notice, and it shut down its hosted Llama Guard 4 on March 5, 2026.
The self-hosted figure is 720 hours at Together's on-demand rate for a dedicated H100. That buys full control and no per-token charges. Whether one GPU carries this load for each model has not been measured, although 100,000 items a day averages only about 1.2 items a second.
Parsec, a small language model lab, sells TOD as a decision model that ranks the next action from a list of allowed actions, using text, images and a written policy. Its listed price is flat regardless of context length, and Parsec also tunes decision models on a customer's own past decisions for an unpublished price. Parsec has not published a moderation benchmark for TOD, and its public JevBench result was slightly below the untrained base model.
None of these options has a published latency figure on a shared moderation workload.
A short test on your own content settles the choice between two or three candidates
Published scores narrow the list, but they were produced with other policies and other data. Calibration and the share of items each model can decide alone at a 1% or 5% error rate have not been measured across these models. A local test should therefore cover these steps:
- Label a sample of real prompts and replies against your written policy, with each harm category marked.
- Give the same policy text to every policy-driven model, and map your categories onto the fixed lists of the others.
- Score Qwen3Guard's "controversial" label both as safe and as unsafe.
- Record recall and false-positive rate for each harm category, because overall F1 hides weak categories such as threats.
- For models that return a score, such as ShieldGemma, Shieldstral and
omni-moderation-latest, sweep the threshold and record how many items fall into an uncertain band for human review. - Add safe but sensitive items, such as those in XSTest, to measure over-blocking, as the EMNLP authors recommend.
Sources
- Raj, Sarmah and Pasquali (Domyn), Benchmarking Open-Source Safety Guard Models: https://arxiv.org/html/2605.28830v1
- Orojlooyjadid and Patel, No One Model Catches Every Harm (arXiv): https://arxiv.org/html/2608.21775v1
- No One Model Catches Every Harm (EMNLP 2026, ACL Anthology): https://aclanthology.org/2026.emnlp-main.1748.pdf
- Hugging Face, Qwen/Qwen3Guard-Gen-8B: https://huggingface.co/Qwen/Qwen3Guard-Gen-8B
- Hugging Face, nvidia/Llama-3.1-Nemotron-Safety-Guard-8B-v3: https://huggingface.co/nvidia/Llama-3.1-Nemotron-Safety-Guard-8B-v3
- Hugging Face, meta-llama/Llama-Guard-4-12B: https://huggingface.co/meta-llama/Llama-Guard-4-12B
- Hugging Face, google/shieldgemma-2b: https://huggingface.co/google/shieldgemma-2b
- Hugging Face, google/shieldgemma-2-4b-it: https://huggingface.co/google/shieldgemma-2-4b-it
- Hugging Face, ibm-granite/granite-guardian-4.1-8b: https://huggingface.co/ibm-granite/granite-guardian-4.1-8b
- Hugging Face, openai/gpt-oss-safeguard-20b: https://huggingface.co/openai/gpt-oss-safeguard-20b
- OpenAI, Introducing gpt-oss-safeguard: https://openai.com/index/introducing-gpt-oss-safeguard/
- OpenAI Cookbook, gpt-oss-safeguard guide: https://developers.openai.com/cookbook/articles/gpt-oss-safeguard-guide
- OpenAI, Moderation guide: https://developers.openai.com/api/docs/guides/moderation
- Mistral, Shieldstral: https://mistral.ai/news/shieldstral/
- Hugging Face, mistralai/Shieldstral-1.0: https://huggingface.co/mistralai/Shieldstral-1.0
- Groq, gpt-oss-safeguard-20b: https://console.groq.com/docs/model/openai/gpt-oss-safeguard-20b
- Groq, Deprecations: https://console.groq.com/docs/deprecations
- Together, Pricing: https://www.together.ai/pricing
- Parsec, TOD: https://parseclab.ai/tod/