You can now access OpenAI's latest open source model, GPT-OSS-Safeguard-20B using Vercel's AI Gateway with no other provider accounts required.
GPT-OSS-Safeguard-20B is a fine-tuned version of its general-purpose GPT-OSS model, designed for developers to implement custom, policy-driven content moderation.
AI Gateway lets you call the model with a consistent unified API and just a single string update, track usage and cost, and configure performance optimizations, retries, and failover for higher than provider-average uptime.
To use it with the AI SDK , set the model to openai/gpt-oss-safeguard-20b :
import { streamText } from 'ai'
const result = streamText ( {
model : "openai/gpt-oss-safeguard-20b" ,
prompt : "Why are safety classification models important?"
} )
Includes built-in observability , Bring Your Own Key support , and intelligent provider routing with automatic retries.
Learn more about AI Gateway , view the AI Gateway model leaderboard or try it in our model playground .
AI Gateway:…