OpenAI logo

GPT OSS 20B Safeguard

GPT OSS 20B Safeguard is OpenAI's language model with a 131K context window and up to 66K output tokens, available from 5 providers, starting at $0.070 / 1M input and $0.200 / 1M output. A safety-focused open-weights language model with 21B total parameters and 3.6B active parameters, trained to interpret custom safety policies, label content, and provide transparent safety reasoning.
Specifications
Canonical IDopenai-gpt-oss-20b-safeguard
TypeLanguage
StatusActive
CreatorOpenAIOpenAI
Providers
Context Window131K tokens
Max Output66K tokens
Input ModalitiesText
Output ModalitiesText
Reasoning Effortsdefault
Parameters20B
HuggingFace Likes212
HuggingFace Downloads (30d)55,275
HuggingFace Downloads (all-time)323,598
Release Date · 7 months ago

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities4/13
Reasoning
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs
Native JSON Schema·
Web Search
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandardBatchFlexPriority
Input
$ / 1M
Output
$ / 1M
Cache Read
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Input
$ / 1M
Output
$ / 1M
Amazon Bedrock logo
Amazon Bedrock
openai.gpt-oss-safeguard-20b
$0.070$0.200N/A$0.030$0.100$0.030$0.100$0.120$0.350
Groq logo
Groq
groq/openai/gpt-oss-safeguard-20b
$0.075$0.300$0.037
OpenRouter logo
OpenRouter
openai/gpt-oss-safeguard-20b
$0.075$0.300$0.037
Vercel AI Gateway logo
Vercel AI Gateway
openai/gpt-oss-safeguard-20b
$0.075$0.300$0.037
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/gpt-oss-safeguard-20b
$0.500$0.500N/A

Cost Calculator

Preset:

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
GPT OSS 120B Safeguard131K$0.150$0.600Available
GPT OSS 20B Safeguard131K$0.070$0.200Current
GPT OSS 120B131K$0.039$0.190Available
GPT OSS 20B131K$0.030$0.140Available

Model IDs