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 & safety labeling. Learn more about this model in OpenAI's gpt-oss-safeguard [user guide](https://cookbook.openai.com/articles/gpt-oss-safeguard-guide).
Context window
This model accepts 131K tokens in one request (~98K words of text).
What fits in one request
- FitsShort documentAbout 1,500 words of text
- FitsLong documentAbout 37K words of text
- Won't fitSmall codebaseAbout 150K words of text
- Won't fitFull novelAbout 375K words of text
Specifications
Context size, pricing, and release info in one place.
- Context window
- 131,072 tokens (131K)
- Max output tokens
- 65,536 tokens (66K)
- Speed tier
- balanced
- Provider
- Openai
- Release date
- Oct 2025
- Input cost
- $0.075/M / 1M tokens
- Output cost
- $0.300/M / 1M tokens
- Cached input
- $0.037/M / 1M tokens
Capabilities
See which features this model supports, such as vision, tools, and streaming.
- Tool use
- Can call external tools and APIs
- Supported
- Function calling
- Structured function call interface
- Supported
- Extended thinking
- Shows its chain-of-thought reasoning
- Supported
- Streaming
- Returns tokens as they are generated
- Supported
- Prompt caching
- Reuse repeated prompt prefixes cheaply
- Supported
- Vision
- Accepts image inputs alongside text
- Not supported
- Web search
- Can browse the web during a request
- Not supported
- Batch API
- Process many requests asynchronously
- Not supported
Best for
Jump to a guide or ranking that matches each workload.
Compare gpt-oss-safeguard-20b
Open a side-by-side comparison with one click.
- gpt-oss-safeguard-20b vs Amazon Titan Text Express
gpt-oss-safeguard-20b has 212% larger context window
- gpt-oss-safeguard-20b vs Amazon Titan Text Lite
gpt-oss-safeguard-20b has 212% larger context window
- gpt-oss-safeguard-20b vs Amazon Titan Text Premier
gpt-oss-safeguard-20b has 212% larger context window
- gpt-oss-safeguard-20b vs Claude Instant
gpt-oss-safeguard-20b has 31% larger context window
- gpt-oss-safeguard-20b vs Anthropic Claude
gpt-oss-safeguard-20b has 31% larger context window
- gpt-oss-safeguard-20b vs Codellama 34b Instruct
gpt-oss-safeguard-20b has 3100% larger context window
Frequently asked questions
Short answers about context size and how this model behaves.
More from Openai
Other models by Openai in our catalog.
Powered by Mem0
Use a smaller model.
Get better results.
Mem0 gives your AI long-term memory so you stop re-sending context on every call. That means you can use a smaller, faster, cheaper model — and still get better answers.
Example: a multi-turn chat session
80% less to send — works with any model