GPT OSS Safeguard 20B

OpenAIMCP Tool CallReasoning
openai/gpt-oss-safeguard-20bOpen Weights

Safety model for policy screening, moderation, and risk-aware routing workflows

Benchmark Pricing$0.07 / 1M in$0.30 / 1M out
Context: 131,072 tokens•Max Output: 131,072 tokens•Released: 2025-10-29

TECHNICAL SPECIFICATIONS

Context Window131,072131.1K tokens
Max Output131,072131.1K tokens
LicenseOpen SourceSelf-hostable
Input Modalities
Text
Function / Tool CallingSupported (MCP Ready)
Structured OutputsGuaranteed Schema

MODEL CONTEXT PROTOCOL (MCP) READINESS

✓ GPT OSS Safeguard 20B natively supports OpenAI / Anthropic format tool calling and is fully compatible with MCP servers and agent loops.

MCP Context Window Recommendations

With a context capacity of 131,072 tokens, this model can handle moderately large MCP tool definitions and multi-turn conversation logs comfortably.

API CALL INVOCATION EXAMPLE

// Example: Calling GPT OSS Safeguard 20B via OpenAI SDK
import OpenAI from "openai";

const client = new OpenAI({
  apiKey: process.env.OPENAI_API_KEY,
});

const response = await client.chat.completions.create({
  model: "openai/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Hello! Can you inspect MCP tools?" }],
});

console.log(response.choices[0].message.content);

PRICING BY PROVIDER

10 providers
NanoGPTopenai/gpt-oss-safeguard-20b
$0.07 / $0.30
AI/ML APIopenai/gpt-oss-safeguard-20b
$0.10 / $0.41$0.05 cache
Vercel AI Gatewayopenai/gpt-oss-safeguard-20b
$0.07 / $0.20
Eden AIamazon/openai.gpt-oss-safeguard-20b
$0.07 / $0.20
Merge Gatewayopenai/gpt-oss-safeguard-20b
$0.07 / $0.20$0.00 cache
LowRouterauto/openai/gpt-oss-safeguard-20b
$0.08 / $0.24
Amazon Bedrockopenai.gpt-oss-safeguard-20b
$0.07 / $0.20
Kilo Gatewayopenai/gpt-oss-safeguard-20b
$0.07 / $0.30$0.04 cache
Groqopenai/gpt-oss-safeguard-20b
$0.07 / $0.30$0.04 cache
OpenRouteropenai/gpt-oss-safeguard-20b
$0.07 / $0.30$0.04 cache

Rates in USD per 1M tokens. Rates synchronized from models.dev public catalog.