# openai/gpt-oss-safeguard-20b

An open-weight safety classifier from OpenAI, tuned from gpt-oss-20b, that labels content against a policy you write. Licensed Apache 2.0, it shows its reasoning and is meant for trust and safety filtering and labeling.

- **Model id:** `opencheap/gpt-oss-safeguard-20b`
- **Price per 1M tokens:** $0.0001 input / $0.0003 output
- **Cached input:** $0.000075 per 1M tokens
- **Context:** 131K tokens, 65K max output

## Providers

7 providers. Prices are per 1M tokens. As of 2026-12-04 12:04 UTC.

| Provider | Input price | Cache price | Output price | Latency | Speed | Uptime | Context | Max output |
| --- | --- | --- | --- | --- | --- | --- | --- | --- |
| Qubax · quantization unknown | $0.0001 | $0.000075 | $0.0003 | 1.20 s | 366 tok/s | 100 % (success rate) | 128K | 16K |
| Surplus · quantization unknown | $0.0012 | $0.00063 | $0.003 | 0.79 s | 416 tok/s | 100 % (success rate) | 128K | 16K |
| Hugging Face · amazon-bedrock · quantization unknown | $0.07 | $0.07* | $0.20 | 0.38 s | — | 100 % (success rate) | 131K | — |
| Amazon Bedrock · quantization unknown | $0.073 | $0.073* | $0.21 | 0.38 s | 207 tok/s | 99.7 % | 131K | 117K |
| NanoGPT · quantization unknown | $0.075 | $0.075* | $0.30 | — | — | 0 % (success rate) | 131K | 65K |
| Groq · quantization unknown | $0.18 | $0.095 | $0.38 | 0.20 s | 540 tok/s | 100 % | 131K | 65K |

\* No cache discount from this provider: cached tokens cost the input price.

1 more provider through partner hosts · from $0.074 in · $0.21 out

A request picks by price (`:floor`) or by speed (`provider.sort`, `:nitro`), or sets a floor on tokens per second. [How routing works](https://docs.opencheap.si/speed)

### Supported parameters

The parameters each provider supports on this model, from its published list and our own tests of whether answers show the parameter taking effect. A test is a snapshot, not a guarantee; `provider.require_parameters` sends a request only to providers that support every parameter it sets. [Required parameters](https://docs.opencheap.si/speed#require-parameters)

- **Qubax:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Surplus:** `temperature`, `top_p`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`
- **Hugging Face · amazon-bedrock:** `temperature`, `top_p`, `top_k`, `seed`, `logit_bias`, `frequency_penalty`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`
- **Amazon Bedrock:** `temperature`, `top_p`, `top_k`, `stop`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **NanoGPT:** `temperature`, `top_p`, `seed`, `logit_bias`, `presence_penalty`, `stop`, `response_format`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`
- **Groq:** `temperature`, `top_p`, `seed`, `stop`, `response_format`, `structured_outputs`, `tools`, `tool_choice`, `reasoning`, `include_reasoning`

## Price history

Each provider's price over the last 24 hours, 7 days and 30 days is charted on [the page](https://opencheap.si/models/gpt-oss-safeguard-20b#price-history).

## API

Point the OpenAI SDK at OpenCheap and pass the model id `opencheap/gpt-oss-safeguard-20b`; the rest of your code stays the same.

```bash
curl https://api.opencheap.si/v1/chat/completions \
  -H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
  -d '{ "model": "opencheap/gpt-oss-safeguard-20b", "messages": [{ "role": "user", "content": "Hi" }] }'
```

```python
import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/gpt-oss-safeguard-20b",
    messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)
```

```javascript
import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);
```

## About openai/gpt-oss-safeguard-20b

openai/gpt-oss-safeguard-20b costs from $0.0001 per 1M input tokens and $0.0003 per 1M output tokens on OpenCheap, with cached input at $0.000075 per 1M tokens. Its list price is $0.17 per 1M input tokens and $0.36 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 100 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0000013, and 1,000 such requests about $0.0013. Prices as of 2026-12-04 12:01 UTC.

7 providers serve openai/gpt-oss-safeguard-20b on OpenCheap. Each request goes to the cheapest healthy provider of the model, and every answer reports what it cost in `usage.cost`. Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.

openai/gpt-oss-safeguard-20b is one of [113 OpenAI models](https://opencheap.si/models/lab/openai) on OpenCheap. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, `https://api.opencheap.si/v1`.

## Pricing questions

### How much does the openai/gpt-oss-safeguard-20b API cost per 1M tokens?

openai/gpt-oss-safeguard-20b costs from $0.0001 per 1M input tokens and $0.0003 per 1M output tokens on OpenCheap, with cached input at $0.000075 per 1M tokens. Prices as of 2026-12-04 12:01 UTC.

### What does one openai/gpt-oss-safeguard-20b request cost?

A request with 10,000 input tokens and 1,000 output tokens costs about $0.0000013, and 1,000 such requests about $0.0013. Every answer reports its own cost in usage.cost.

### Is openai/gpt-oss-safeguard-20b cheaper on OpenCheap than its list price?

Its list price is $0.17 per 1M input tokens and $0.36 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 100 % less here.

### Which providers serve openai/gpt-oss-safeguard-20b?

7 providers serve openai/gpt-oss-safeguard-20b on OpenCheap. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.

### What is the context window of openai/gpt-oss-safeguard-20b?

Its context window is 131K tokens (131,072), room for roughly 98,000 words of English in one request.

### How do I call the openai/gpt-oss-safeguard-20b API?

Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/gpt-oss-safeguard-20b. One OpenCheap key works for every model; the rest of your code stays the same.

## More from OpenAI

- [gpt-oss-120b](https://opencheap.si/models/gpt-oss-120b) (`gpt-oss-120b`): $0.0049 / $0.021 per 1M · 131K context
- [gpt-oss-20b](https://opencheap.si/models/gpt-oss-20b) (`gpt-oss-20b`): $0.0003 / $0.0015 per 1M · 131K context
- [GPT 5.5](https://opencheap.si/models/gpt-5.5) (`gpt-5.5`): $2.00 / $12.00 per 1M · 1M context
- [chat-latest](https://opencheap.si/models/chat-latest) (`chat-latest`): $5.25 / $31.48 per 1M · 272K context
- [Codex Mini](https://opencheap.si/models/codex-mini-latest) (`codex-mini-latest`): $1.50 / $6.00 per 1M
- [gpt-3.5-turbo](https://opencheap.si/models/gpt-3.5-turbo) (`gpt-3.5-turbo`): $0.52 / $1.57 per 1M · 4K context
- [GPT-3.5 Turbo (older v0613)](https://opencheap.si/models/gpt-3.5-turbo-0613) (`gpt-3.5-turbo-0613`): $1.05 / $2.10 per 1M · 4K context
- [GPT-3.5 Turbo 16k](https://opencheap.si/models/gpt-3.5-turbo-16k) (`gpt-3.5-turbo-16k`): $3.15 / $4.20 per 1M · 16K context

[All 113 OpenAI models](https://opencheap.si/models/lab/openai)

## Similar models

- [google/gemma-3-4b-it](https://opencheap.si/models/gemma-3-4b): Google · 131K context · $0.0008 / $0.0015 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-gemma-3-4b)
- [google/gemma-3-12b-it](https://opencheap.si/models/gemma-3-12b): Google · 131K context · $0.00063 / $0.0019 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-gemma-3-12b)
- [NVIDIA Nemotron Nano 12B v2 VL BF16](https://opencheap.si/models/nemotron-nano-12b-v2): NVIDIA · 128K context · $0.002 / $0.006 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-nemotron-nano-12b-v2)
- [ministral-3-3b](https://opencheap.si/models/ministral-3-3b): Mistral · 128K context · $0.008 / $0.008 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-ministral-3-3b)
- [Qwen3 235B A22B Instruct 2507](https://opencheap.si/models/qwen3-235b-a22b-2507): Qwen · 262K context · $0.0014 / $0.0075 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-qwen3-235b-a22b-2507)
- [GLM 5.3 Flash](https://opencheap.si/models/glm-5.3-flash): Zhipu · 1M context · $0.0064 / $0.022 per 1M · [Compare with openai/gpt-oss-safeguard-20b](https://opencheap.si/compare/gpt-oss-safeguard-20b-vs-glm-5.3-flash)

[Compare openai/gpt-oss-safeguard-20b with any model](https://opencheap.si/compare)

---

Source: https://opencheap.si/models/gpt-oss-safeguard-20b · All models: https://opencheap.si/models · Prices as JSON: https://api.opencheap.si/v1/prices · Index for agents: https://opencheap.si/llms.txt
