Openai model page

OpenAI: gpt-oss-safeguard-20b

openai/gpt-oss-safeguard-20b

gpt-oss-safeguard-20b is a safety reasoning model from OpenAI built upon gpt-oss-20b. This open-weight, 21B-parameter Mixture-of-Experts (MoE) model offers lower latency for safety tasks like content classification, LLM filtering, and trust...

TextStructured outputTool callingReasoningLong context
Input / 1M
$0.10
Output / 1M
$0.39
Context
131K
Markup
30%

Use this model through UAI

A dedicated public landing page for this synced catalog row.

Provider
Openai

Synced from the active catalog

Context window
131K tokens

Validated for gateway requests

UAI input
$0.10

Charged from your UAI balance

UAI output
$0.39

Same API key and billing flow

This page exists for direct linking, onboarding, and SEO. The same model row powers /v1/models, the public catalog, the app pricing screen, and request validation for /v1/chat/completions.

Why use this model through UAI

The same model route, but with one account, one balance, and one API shape.

Reasoning workloads

Use OpenAI: gpt-oss-safeguard-20b for multi-step prompts, planning, and deeper analysis while keeping the same OpenAI-compatible UAI endpoint.

Long-context inputs

OpenAI: gpt-oss-safeguard-20b exposes 131K tokens, which makes it a good fit for large documents, transcripts, and retrieval-heavy chat flows.

Agent integrations

Tool and function-style parameters stay available through the same UAI request surface, so agent stacks do not need a separate provider integration.

Pricing and access

Current synced numbers for this exact model row.

UAI input / 1M tokens
$0.10
UAI output / 1M tokens
$0.39
Openai input / 1M
$0.07
Openai output / 1M
$0.30
Context window
131,072
Current markup
30%

Need another option? Browse the full models catalog or compare rows in the signed-in pricing table.

Quickstart

Use this model with your UAI key over the standard OpenAI-compatible route.

Create a key in API Keys, then send requests to https://uai.sh/v1/chat/completions.

curl
curl https://uai.sh/v1/chat/completions \
  -H "Authorization: Bearer uai-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [{"role": "user", "content": "Say hi in one short sentence."}],
    "stream": false
  }'
Python (OpenAI SDK)
from openai import OpenAI

client = OpenAI(base_url="https://uai.sh/v1", api_key="uai-YOUR_API_KEY")
response = client.chat.completions.create(
    model="openai/gpt-oss-safeguard-20b",
    messages=[{"role": "user", "content": "Say hi in one short sentence."}],
    stream=False
)
print(response.choices[0].message.content)
Node.js (OpenAI SDK)
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://uai.sh/v1",
  apiKey: "uai-YOUR_API_KEY"
});

const response = await client.chat.completions.create({
  model: "openai/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Say hi in one short sentence." }],
  stream: false
});

console.log(response.choices[0].message.content);

Related models

Other active rows to compare without leaving the public catalog.

openai
OpenAI: GPT-4o-mini (batch)
openai/gpt-4o-mini:batch
Input / 1M$0.10
Context128K tokens
openai
OpenAI: GPT-4.1 Nano (batch)
openai/gpt-4.1-nano:batch
Input / 1M$0.07
Context1.0M tokens
openai
OpenAI: GPT-5 Nano
openai/gpt-5-nano
Input / 1M$0.07
Context400K tokens