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

ChatOpenAI131k tokens$0.0818 / $0.327 · 1M

openai/gpt-oss-safeguard-20b

Context
131k tokens
Completion cap
65,536
Tools
Yes
JSON
Yes
Released
2025-10-29

Call it from Geek Hub

Same OpenAI SDK. Change the base URL and the model id.

curl https://api.geekhub.mx/v1/chat/completions \
  -H "Authorization: Bearer $GEEKHUB_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [{"role": "user", "content": "Hola"}]
  }'
Get an API key

Frequently asked questions

What is 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). gpt-oss-safeguard-20b runs on the Geek Hub API (OpenAI-compatible). Model id: openai/gpt-oss-safeguard-20b.
Is gpt-oss-safeguard-20b free?
No. Input is $0.0818 per 1M tokens and output is $0.327 per 1M tokens on Geek Hub (markup included).
What is the context length of gpt-oss-safeguard-20b?
gpt-oss-safeguard-20b has a 131k tokens context window. It supports up to 65,536 completion tokens.
Does gpt-oss-safeguard-20b support tool calling and structured outputs?
gpt-oss-safeguard-20b accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.
When was gpt-oss-safeguard-20b released?
gpt-oss-safeguard-20b was released on 2025-10-29.

More models from OpenAI