openai logo
openai

OpenAI: gpt-oss-safeguard-20b

Source description (English)

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...

Overview

Model specifications

Context
131,072 tokens
Maximum output
65,536 tokens
Architecture
text->text
Tokenizer
GPT
Knowledge cutoff
Not provided
Moderated
No
OPENROUTER

Complete pricing

Synchronized OpenRouter rates. Token prices are shown per one million tokens.

Input
$0.075
per 1M tokens
Output
$0.3
per 1M tokens
Cache read
$0.0375
per 1M tokens
API

Model configuration

Reasoning

Reasoning required
Yes
Default parameters
No
API

Quick start

Set OPENROUTER_API_KEY locally. Python requires requests; JavaScript runs in Node.js. Keep the key on the server.

API documentation

curl --fail-with-body https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"openai/gpt-oss-safeguard-20b","messages":[{"role":"user","content":"Hello!"}]}'
Capabilities

Input → Output

Input
text
Output
text
Reasoning

No

API

Supported API parameters

include_reasoningmax_tokensreasoningresponse_formatseedstopstructured_outputstemperaturetool_choicetoolstop_p
Available providers

1 Provider

Checked: September 7, 2026

Live providers on OpenRouter

Provider availability, latency, throughput and routing can change continuously. Open the source page for current operational data.

OpenRouter

Groq

Not provided
Context
131K
Maximum output
66K
Input
$0.075
Output
$0.3
Cache read
$0.0375
Cache write
Not provided
openai

4 models

All models