OpenAICertifiedReleased 10/29/2025

GPT OSS Safeguard 20B

OpenAI's first open weight reasoning model specifically trained for safety classification tasks. Fine-tuned from GPT-OSS, this model helps classify text content based on customizable policies, enabling bring-your-own-policy Trust & Safety AI where your own taxonomy, definitions, and thresholds guide classification decisions.

View API reference ↓
Input / output priceFrom$0.070 / $0.20per 1M
24h uptime99.99%
import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "openai/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

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

Providers

Dispatch routes requests across these providers and fails over between them without changing the model. Restrict or order providers with team Directives. Prices are gateway list prices before the platform fee.

ProviderContextMax outputLatencyThroughputInputOutputCacheCapabilitiesZDRNo trainingRegionsStatus
Amazon Bedrock128K16K0.4 s265 tps$0.070$0.20Read —Write —4 featuresYesYesGlobalCertified
Groq131K66K0.2 s998 tps$0.075$0.30Read $0.038Write —5 featuresYesYesGlobalCertified

Uptime

24 hours

Request success rate per provider.

Amazon Bedrock99.98%
Groq100.00%

Throughput

last hour

P50 output tokens per second.

Groq998 tps
Amazon Bedrock265 tps

Latency

last hour

P50 time to first token.

Groq0.2 s
Amazon Bedrock0.4 s

Getting started

Create a key on the API Keys page and set it as IB_API_KEY. See the quickstart.

import OpenAI from "openai";

const client = new OpenAI({
  baseURL: "https://api.inferencebureau.com/v1",
  apiKey: process.env.IB_API_KEY,
});

const res = await client.chat.completions.create({
  model: "openai/gpt-oss-safeguard-20b",
  messages: [{ role: "user", content: "Why is the sky blue?" }],
});

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

Top-level parameters

Standard Chat Completions parameters work as documented. These have model-specific behavior.

ParameterTypeRequiredDescription
modelstringYesModel ID in the form creator/model, e.g. openai/gpt-oss-safeguard-20b. Must be allowed by your team's Directives.
max_tokensnumberNoHard cap on generated tokens, and the basis for the balance reserved per request. GPT OSS Safeguard 20B supports up to 16,000 output tokens.
reasoning{ effort: 'low' | 'medium' | 'high' }NoReasoning effort, mapped to the provider's native configuration. Reasoning tokens count toward output usage.
toolsTool[]NoFunction definitions the model can call. Tool calls are returned in choices[].message.tool_calls.
Supportedmax_tokenstemperaturestoptoolstool_choicereasoninginclude_reasoningresponse_formatstructured_outputs

Input limits

InputSourcesLimits
Text—Prompt and response share the 128K-token context window

More models by OpenAI

ModelContextInputOutputCacheRelease
openai/gpt-6.1-terra1.05M$1.00$5.00Read $0.050Write $1.2510/26/2026
openai/gpt-6.1-terra-fast1.05M$2.00$10.00Read $0.100Write $2.5010/26/2026
openai/gpt-6.1-sol1.05M$2.00$10.00Read $0.100Write $2.5009/29/2026
openai/gpt-6.1-sol-batch1.05M$1.00$5.00Read $0.050Write $1.2509/29/2026
openai/gpt-6.1-sol-fast1.05M$4.00$20.00Read $0.20Write $5.0009/29/2026
openai/gpt-6-luna1.05M$0.100$0.50Read $0.010Write $0.1309/22/2026
openai/gpt-6-luna-batch1.05M$0.050$0.25Read $0.0050Write $0.06309/22/2026
openai/gpt-6-luna-fast1.05M$0.20$1.00Read $0.020Write $0.2509/22/2026
openai/gpt-6-sol1.05M$2.00$10.00Read $0.20Write $2.5009/22/2026
openai/gpt-6-sol-batch1.05M$1.00$5.00Read $0.100Write $1.2509/22/2026