Compute Comparison
OpenAI/GPT-OSSBudgetOpen Weights

gpt-oss-20b

costspeed
gpt-oss-20b Pricing per 1M tokens
Input$0.040
Output$0.150
View OpenAI
Context Window
131K
tokens
gpt-oss-20b Max Output
16K
tokens
gpt-oss-20b Throughput
250
tokens/sec
gpt-oss-20b Latency P50
200ms
time to first token
gpt-oss-20b Parameters
20B
Parameters
About gpt-oss-20b

gpt-oss-20b is a budget-tier language model from OpenAI with 20B parameters. gpt-oss-20b is an open-weights model, meaning the weights are publicly available for self-hosting, fine-tuning, and deployment on your own infrastructure — not just through OpenAI's API. The GPT-OSS family is OpenAI's model series for this capability tier.

gpt-oss-20b is priced at $0.04/1M input tokens and $0.15/1M output tokens. Output tokens are 3.8× more expensive than input tokens — this ratio reflects the sequential nature of autoregressive generation, which requires a separate forward pass per output token versus parallel processing of all input tokens simultaneously. At a typical usage pattern of 1,000 input tokens and 500 output tokens per call, gpt-oss-20b costs approximately $0.12 per 1,000 API calls. OpenAI does not publish a prompt caching rate for this model, so repeated long contexts are billed at the standard $0.04/1M input rate.

Its 131K-token context window handles most long-document tasks — roughly 75,000 words or a full novel — without requiring chunking or retrieval augmentation. Median latency (P50 time-to-first-token) is approximately 200ms — fast enough for real-time interactive applications. Throughput is approximately 250 tokens/second — fast enough to stream responses at reading speed with headroom for concurrent requests. Maximum output length is 16K tokens — sufficient for long-form content generation, detailed code files, and extended reports.

gpt-oss-20b is best suited to cost, speed. Supported capabilities include function calling / tool use for agentic workflows, streaming token output for real-time UIs. Function calling support makes it suitable for building AI agents, structured data extraction pipelines, and any workflow requiring the model to invoke external APIs or return typed JSON. When evaluating this model for a specific workload, the most important factors are: context window (does your input fit?), output price (how long are your generations?), and latency (is this interactive or batch?). The pricing table above shows how gpt-oss-20b compares to similar models across these dimensions.

gpt-oss-20b sits in the budget tier — the most cost-efficient models, best for high-volume simple tasks, classification, extraction, and applications where cost per call is the primary constraint. As an open-weights model, gpt-oss-20b can be self-hosted on GPU compute (see the GPU rental comparison on this site) to eliminate per-token API costs entirely — the break-even point versus API pricing depends on your volume and the GPU hourly rate. When comparing gpt-oss-20b to alternatives, use the similar models section on this page to find models at comparable price points with different capability tradeoffs. The intelligence score (62/100) reflects aggregate benchmark performance — a useful proxy for general capability, though real-world performance varies significantly by task type. Always test with your specific prompts and use case before committing to a model for production.

gpt-oss-20b Intelligence Score
62/100
62

Composite quality score based on reasoning, coding, and instruction-following benchmarks.

gpt-oss-20b Pricing vs Budget Tier
CheapestThis modelMost expensive
$0.020$0.040$0.500

Input price vs 119 budget models tracked. Avg: $0.110/1M.

gpt-oss-20b Capabilities
Vision / Images✗
Function Calling✓
Streaming✓
Prompt Caching✗
Reasoning / CoT✗
Open Weights✓
Computer Use✗
Web Search✗
gpt-oss-20b Full Specifications
Model IDgpt-oss-20b
ProviderOpenAI
Model FamilyGPT-OSS
TierBudget
Context Window131,072 tokens (131K)
Max Output Tokens16,384 tokens
Input Price$0.04 / 1M tokens
Output Price$0.15 / 1M tokens
Cached Input PriceNot available
Throughput250 tokens/sec
Latency (P50)200ms
Intelligence Score62/100
LiveBench Score—
Cost per Task (LiveBench)—
Data Confidence—
HLE Score—
GPQA Diamond—
SWE-bench Score—
OSWorld Score—
BrowseComp Score—
Terminal-Bench Score—
AutoBench Score—
Parameters20B
Vision SupportNo
Function CallingYes
StreamingYes
Reasoning ModelNo
Open WeightsYes
Data SourceStatic (verified)
Last Updated2026-07-01

Similar Models by Intelligence Score

gpt-oss-20b Frequently Asked Questions