OpenAI: gpt-oss-safeguard-20b · openrouter
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...
Eingabe, $/1M $0.075
Ausgabe, $/1M $0.30
Cache-Lesen $0.0375
Cache-Schreiben —
Limits
- Kostenlos: 50 Anfragen pro Tag
- Kostenlos: 1 000 Anfragen pro Tag (wenn credits>=10)
- Kostenlos: 20 Anfragen pro Minute
Zuletzt geprüft 04.11.2026 12:08:11 UTC Quelle
Kontext 131 072
Max. Ausgabe 65 536
Akzeptiert Text
Zuletzt geprüft 04.11.2026 12:00:14 UTC
Quelle Seite des Anbieters
Preisalarme
API
OpenAI-kompatible API: Die offiziellen OpenAI-SDKs funktionieren mit dieser Basis-URL. Ersetzen Sie YOUR_API_KEY durch Ihren Schlüssel vom Anbieter.
| API-Basis-URL | |
|---|---|
| Endpunkt | |
| Modell-ID | |
curl
curl https://openrouter.ai/api/v1/moderations \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "openai/gpt-oss-safeguard-20b", "input": "text to check"}'Python
import requests
r = requests.post(
"https://openrouter.ai/api/v1/moderations",
headers={"Authorization": "Bearer YOUR_API_KEY"},
json={
"model": "openai/gpt-oss-safeguard-20b",
"input": "text to check"
},
)
print(r.json())JavaScript
const r = await fetch("https://openrouter.ai/api/v1/moderations", {
method: "POST",
headers: {Authorization: "Bearer YOUR_API_KEY", "Content-Type": "application/json"},
body: JSON.stringify({
"model": "openai/gpt-oss-safeguard-20b",
"input": "text to check"
}),
});
console.log(await r.json());Anfrage (JSON)
{
"model": "openai/gpt-oss-safeguard-20b",
"input": "text to check"
}Antwort (JSON)
{
"id": "modr-...",
"model": "openai/gpt-oss-safeguard-20b",
"results": [
{
"flagged": false,
"categories": {
"harassment": false,
"violence": false
},
"category_scores": {
"harassment": 0.0001,
"violence": 0.0002
}
}
]
}Die Adresse stammt aus der Modellliste des Anbieters; bitte mit seiner Dokumentation abgleichen.
Source: AI Rate Card, https://airatecard.com/de/c/offer%3Aopenrouter%7Copenai/gpt-oss-safeguard-20b, prices checked 2026-11-04; seller's page: https://openrouter.ai/openai/gpt-oss-safeguard-20b
Technische Details
ID: offer:openrouter|openai/gpt-oss-safeguard-20b