Skip to main content
Microsoft Foundry
gpt-oss-safeguard-20b

gpt-oss-safeguard-20b

Push the open safety model frontier with gpt-oss-safeguard models, released under the permissive Apache 2.0 license, allowing anyone to use, modify, and deploy them freely.
OpenAI
Version: 2

About this model

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 gpt-oss-safeguard-20b model is ideal for lower latency (21B parameters with 3.6B active parameters). 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.

Key model capabilities

  • Trained to reason about safety : Trained and tuned for safety reasoning to accommodate use cases like LLM input-output filtering, online content labeling and offline labeling for Trust and Safety use cases.
  • Bring your own policy: Interprets your written policy, so it generalizes across products and use cases with minimal engineering.
  • Reasoned decisions, not just scores: Gain complete access to the model's reasoning process, facilitating easier debugging and increased trust in policy decisions. Keep in mind Raw CoT is meant for developers and safety practitioners. It's not intended for exposure to general users or use cases outside of safety contexts.
  • Configurable reasoning effort: Easily adjust the reasoning effort (low, medium, high) based on your specific use case and latency needs.
  • Permissive Apache 2.0 license: Build freely without copyleft restrictions or patent risk-ideal for experimentation, customization, and commercial deployment.

See Responsible AI for additional considerations for responsible use.

Key use cases

The provider has not supplied this information.

Out of scope use cases

The provider has not supplied this information.

Quick facts

PublisherOpenAI
TypeChat completion
LifecyclePreview
Input typetext
Output typetext
Context window131.072k
Token limits131.072k output