Safety reasoning models for policy-based text classification and foundational safety tasks.
10K+
GGUF version by Unsloth

gpt-oss-safeguard-120b and gpt-oss-safeguard-20b are safety reasoning models built-upon gpt-oss. With these models, you can classify text content based on safety policies that you provide and perform a suite of foundational safety tasks. These models are intended for safety use cases. For other applications, we recommend using gpt-oss models.
This model gpt-oss-safeguard-20b (21B parameters with 3.6B active parameters) fits into GPUs with 16GB of VRAM. Check out gpt-oss-safeguard-120b (117B parameters with 5.1B active parameters) for the larger model.
Both models were trained on our harmony response format and should only be used with the harmony format as it will not work correctly otherwise.
You can use gpt-oss-safeguard-120b and gpt-oss-safeguard-20b similar to gpt-oss-120b and gpt-oss-20b as described in our respective cookbooks. We’ve also provided a detailed prompting guide that provides guidelines for how to craft your policy and use it with the models.
| Model variant | Parameters | Quantization | Context window | VRAM¹ | Size |
|---|---|---|---|---|---|
ai/gpt-oss-safeguard:20Bai/gpt-oss-safeguard:20B-UD-Q4_K_XLai/gpt-oss-safeguard:latest | 20B | MOSTLY_Q4_K_M | 131K tokens | 11.96 GiB | 11.04 GB |
ai/gpt-oss-safeguard:120B-UD-Q4_K_XL | 120B | MOSTLY_Q4_K_M | 131K tokens | 47.44 GiB | 46.42 GB |
ai/gpt-oss-safeguard:20B-F16 | 20B | MOSTLY_F16 | 131K tokens | 13.25 GiB | 12.83 GB |
ai/gpt-oss-safeguard:20B-MXFP4 | 20B | MOSTLY_MXFP4 | 131K tokens | 12.19 GiB | 11.27 GB |
ai/gpt-oss-safeguard:20B-UD-Q8_K_XL | 20B | MOSTLY_Q8_0 | 131K tokens | 12.69 GiB | 12.28 GB |
¹: VRAM estimated based on model characteristics.
latest→20B
Run the model:
docker model run ai/gpt-oss-safeguard
gpt-oss-safeguard is a model partner of the Robust Open Online Safety Tools (ROOST) Model Community. The ROOST Model Community (RMC) is a group of safety practitioners exploring open source AI models to protect online spaces. As an RMC model partner, OpenAI is committed to incorporating user feedback and jointly iterating on future releases in pursuit of open safety. Visit the RMC GitHub repo to learn more about this partnership and how to get involved.
Content type
Model
Digest
sha256:0918156f5…
Size
58.7 GB
Last updated
9 months ago
docker model pull ai/gpt-oss-safeguard:120B-UD-Q4_K_XLPulls:
177
Last week