Description
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 & safety labeling. Learn more about this model in OpenAI's gpt-oss-safeguard [user guide](https://cookbook.openai.com/articles/gpt-oss-safeguard-guide).
API Usage Examples
OpenAI Compatible Endpoint
Use this endpoint with any OpenAI-compatible library. Model: OpenAI: gpt-oss-safeguard-20b (openai/gpt-oss-safeguard-20b)
curl https://api.ridvay.com/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer YOUR_API_KEY" -d '{
"model": "openai/gpt-oss-safeguard-20b",
"messages": [
{
"role": "user",
"content": "Explain the capabilities of the OpenAI: gpt-oss-safeguard-20b model"
}
],
"temperature": 0.7,
"max_tokens": 1024
}'Supported Modalities
- Text
API Pricing
- Input: 0.075$ / 1M tokens
- Output: 0.3$ / 1M tokens
Token Limits
- Max Output: 65,536 tokens
- Max Context: 131,072 tokens
Subscription Tiers
- free
- pro
- ultimate