Back to Models

gpt-oss-20B (high)

OpenAI
24/ 57

Intelligence Score

Intelligence

24

#76 of 210 (top 36%)

Speed

285 tok/s

#7 of 148

Price

$0.09

per M tokens

#5 cheapest of 144

Context Window

131K

tokens

Latency: 1ms (#14)

Score Breakdown

Quality Score42%
Speed Score45%
Cost Score99%

Use This Model

Claude Code

claude --model gpt-oss-20b

API (cURL)

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

Vercel AI SDK

import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

const { text } = await generateText({
  model: openai("gpt-oss-20b"),
  prompt: "Hello",
});
Back to Models