AiCostCompare

gpt-oss-20b

by OpenAI · openai/gpt-oss-20b · #12 cheapest of 325 paid models

Prices updated Jul 22, 2026, 1:40 AM UTC · refreshed hourly

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...

Compare vs:Claude Sonnet 5Claude Opus 4.6Claude Haiku 4.5Gemini 3.6 Flash

Pricing

Input

$0.03

per 1M tokens

Output

$0.13

per 1M tokens

Blended (3:1)

$0.055

3 input : 1 output

Cache read

$0.03

per 1M cached tokens

Cache write

per 1M tokens

Cache & batch economics

Effective prices for gpt-oss-20b with prompt caching.

Cache hit rateEffective blended $/1MExample request*vs no cache
0%$0.055$0.00319
50%$0.055$0.00319−0%
90%$0.055$0.00319−0%

*Example: 100K sticky context + 2K new input + 1K output. Batch discount is an approximate 50% off list rates for this provider’s batch API. Confirm on the vendor’s pricing page.

What a request costs

WorkloadInput tokensOutput tokensCost / requestCost / 1K requests
Short chat message500300$5.40e-5$0.054
Document summary8,0001,000$0.00037$0.37
Codebase question (RAG)30,0002,000$0.00116$1.16
Long-context analysis150,0005,000$0.00515$5.15

Performance

Intelligence Index

14.9

AA composite quality

Coding Index

20.7

Math Index

89.3

Agentic Index

3.1

Output speed

253 tok/s

median

Time to first token

0.39s

median

Time to first answer

8.29s

after reasoning tokens

Artificial Analysis benchmarks

BenchmarkScore
MMLU-Pro74.8%
GPQA Diamond68.8%
Humanity's Last Exam9.8%
LiveCodeBench77.7%
SciCode34.4%
AIME 202589.3%
IFBench65.1%
AA-LCR (Long Context Reasoning)30.7%
Terminal-Bench Hard10.6%
Terminal-Bench 2.113.9%
τ²-Bench (Telecom)60.2%
τ³-Bench Banking7.0%

Design Arena Elo

CategoryElo
Website880
Data viz971

Specs

Context window

131K

tokens

Max output

131K

tokens

Input modalities

text

Tokenizer

GPT