# gpt\-oss\-20b and gpt\-oss\-120b are now supported in Vercel AI Gateway

**Published:** August 5, 2025 | **Authors:** Walter Korman , Harpreet Arora, Jeremy Philemon, Rohan Taneja, Josh Singh, Sam Chitgopekar, Josh Lipman

---

You can now access gpt-oss-20b and gpt-oss-120b by [OpenAI](https://openai.com/), open-weight reasoning models designed to push the open model frontier, using Vercel's [AI Gateway](https://vercel.com/ai-gateway) with no other provider accounts required.

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 v5]( https://v5.ai-sdk.dev/docs/introduction), start by installing the package:

```bash
pnpm i ai
```

Then set the model to either `openai/gpt-oss-20b` or `openai/gpt-oss-120b`:

```tsx
import { streamText } from 'ai'
const result = streamText({
  model: "openai/gpt-oss-120b", // or openai/gpt-oss-20b
  prompt: "Generate an ansi animation of sutro tower" 
})
```

Includes built-in [observability](https://vercel.com/docs/ai-gateway/observability), [Bring Your Own Key support](https://vercel.com/docs/ai-gateway#configuring-your-own-provider-keys-byok), and intelligent [provider routing](https://vercel.com/docs/ai-gateway/provider-options) with automatic retries.

To deliver high performance and reliability to gpt-oss, AI Gateway leverages multiple model providers under the hood, including Groq, Baseten, Cerebras, and Huggingface.

Learn more about [AI Gateway](https://vercel.com/docs/ai-gateway) and view the [new AI Gateway model leaderboard](https://vercel.com/ai-gateway).

> **Note:** Vercel is a launch partner for the release of gpt-oss, and thank OpenAI for their collaboration in ensuring day 1 readiness for AI Gateway and its customers.

**AI Gateway: Track top AI models by usage**
The AI Gateway model leaderboard tracks the most popular models over time, ranking them by the total volume of tokens processed across all Gateway traffic.
[View the leaderboard](https://vercel.com/ai-gateway/leaderboards)

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)