Back to Models

GPT OSS Safeguard 20B

openaiopenai/gpt-oss-safeguard-20b

OpenAI's safety classification model (20B). Policy reasoning, content filtering, risk analysis, and justification generation.

Context Length
128K
Max Output
16K
Input Price
$0.120/ 1M tokens
Output Price
$0.240/ 1M tokens

Modalities

texttext

Pricing Breakdown

TypeRate
Input$0.120 / 1M tokens
Output$0.240 / 1M tokens

Supported Parameters

temperaturemax_tokenstop_presponse_formatstop

API Usage Examples

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'