GPT OSS 120B

Model details

GPT OSS 120B

Model
openai/gpt-oss-20b
Provider
vercel-ai-gateway
API
anthropic-messages
Base URL
https://ai-gateway.vercel.sh
Input
text
Reasoning
Yes
Context window
131,072
Max tokens
8,192
Cost / million input
$0.05
Cost / million output
$0.2
Cost / million cache read
$0
Cost / million cache write
$0
Model config JSON
{
  "providers": {
    "vercel-ai-gateway": {
      "apiKey": "YOUR_API_KEY",
      "models": [
        {
          "id": "openai/gpt-oss-20b",
          "name": "GPT OSS 120B",
          "reasoning": true,
          "input": [
            "text"
          ],
          "contextWindow": 131072,
          "maxTokens": 8192,
          "cost": {
            "input": 0.049999999999999996,
            "output": 0.19999999999999998,
            "cacheRead": 0,
            "cacheWrite": 0
          }
        }
      ],
      "api": "anthropic-messages",
      "baseUrl": "https://ai-gateway.vercel.sh"
    }
  }
}