GPT OSS Safeguard 20B

openai/gpt-oss-safeguard-20b

A chat model with a 128K-token context window, at $0.0735 per million input tokens and $0.21 per million output tokens.

Details

Maker
openai
Kind
Chat
Context window
128,000 tokens
Max output
16,000 tokens
Input
$0.0735 per million tokens
Output
$0.21 per million tokens
Capabilities
Reasoning, tool use
Takes
Text
Returns
Text
Zero data retention
Yes, on every provider
No training on requests
Yes, on every provider
Released
2025-10-29

Description

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.

Call it

curl
curl https://phantom.codes/v1/chat/completions \
  -H "Authorization: Bearer $PHANTOM_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-safeguard-20b",
    "messages": [
      {"role": "user", "content": "Hello"}
    ]
  }'

Set PHANTOM_KEY to your key. Any OpenAI client works with the base URL https://phantom.codes/v1.