Hormouz AIHormouzSign in

OpenAI: gpt-oss-safeguard-20b: AI model

gpt-oss-safeguard-20b is an OpenAI model. A safety-reasoning model built on gpt-oss-20b for content classification and moderation, with up to 131K-token context. Reachable from inside Iran through Hormouz.

Context window:
131,072 tokens
Input:
$0.07/1M tokens
Output:
$0.3/1M tokens
Type:
text
  • Tools
  • Streaming
  • Long context

Thinking levels: Always thinks

gpt-oss-safeguard-20b is a safety-reasoning model built on gpt-oss-20b for content classification and moderation. gpt-oss-safeguard-20b is a safety-reasoning model from OpenAI built on gpt-oss-20b. This open-weight, 21B-parameter Mixture-of-Experts model is tuned for lower latency on safety tasks such as content classification, LLM output filtering and trust-and-safety labeling. It supports a context window of up to 131K tokens.

gpt-oss-safeguard-20b is served through Hormouz behind an OpenAI-compatible API. It supports tool calling and step-by-step reasoning. Point your base URL at Hormouz and drop in a Hormouz key, and existing OpenAI SDK code runs unchanged.

Pricing is usage-based: $0.075 per million input tokens and $0.3 per million output tokens. Hormouz provides stable access to the model from inside Iran, with no foreign credit card or circumvention tooling required.

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

Quickstart

curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Specs

VendorOpenAI
TypeText
Context window131,072 tokens
Pricing$0.07/M in · $0.30/M out
APIChat Completions
CapabilitiesStreaming · Tools

Code example

cURL
curl https://api.hormouz.net/v1/chat/completions \
  -H "Authorization: Bearer ng-YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'
Python
from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
    model="openai/gpt-oss-safeguard-20b",
    messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)
JavaScript
import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
  model: "openai/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);

Buy the OpenAI: gpt-oss-safeguard-20b API, paid in rial

  • Buy credit with an Iranian bank card; no foreign card or account needed.
  • One Hormouz key reaches OpenAI: gpt-oss-safeguard-20b and 600+ other models, and you pay only for what you use.
  • No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Create an accountBuy ChatGPT (OpenAI) API access, paid in rial

Use via Hormouz

Connect to this model and 600+ others with one API key, then see usage down to each request.

Request company access

FAQ

How much does gpt-oss-safeguard-20b cost?
Billing is usage-based: $0.075 per million input tokens and $0.3 per million output tokens. There is no fixed monthly fee. You pay only for what you use, and current rates are shown in the Hormouz dashboard.
How do I access gpt-oss-safeguard-20b from inside Iran?
Create an account on Hormouz and generate an API key. Hormouz provides a stable path to gpt-oss-safeguard-20b from inside Iran, with no foreign credit card or circumvention tooling required.
Is gpt-oss-safeguard-20b compatible with OpenAI code?
Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing SDKs and chat-completions code run without a rewrite.
What context window and capabilities does gpt-oss-safeguard-20b have?
gpt-oss-safeguard-20b supports a context window of up to 131K tokens. It also supports tool calling and step-by-step reasoning. That makes it a good fit for content classification, output filtering, trust-and-safety labeling and other policy-enforcement pipelines.
What is gpt-oss-safeguard-20b good for?
gpt-oss-safeguard-20b works well for content classification, output filtering, trust-and-safety labeling and other policy-enforcement pipelines.
Does gpt-oss-safeguard-20b support streaming?
Yes. Responses can be streamed token by token over the OpenAI-compatible API, which is ideal for chat UIs and low-latency apps. You call it the same way as any other chat model on Hormouz.

Updated 2026-10-13