Skip to content
llmmodels
Reasoning LLMOpen weightsReasoningTool callingStructured outputFree tier

GPT OSS 20B

by OpenAI · Aug 5, 2025

GPT OSS 20B is an open-weight reasoning llm from OpenAI, released Aug 5, 2025. It has 21B parameters and a 128K-token context window. API pricing starts at $0.075 per million input tokens and $0.3 per million output tokens. It is available from 44 API providers. It scores 134.9 on the Epoch Capabilities Index.

Provider
OpenAI
Released
Aug 5, 2025
Type
Reasoning LLM
Parameters
21B
Context window
131,072 tokens
Max output
65,536 tokens
Input
text
Output
text
Weights
Open weights
License
apache-2.0
Knowledge cutoff
Jun 2024
Status
Available via API
Training compute
5.5e+23 FLOP
HF downloads (30d)
5.6M

About GPT OSS 20B

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...

GPT OSS 20B benchmarks

All benchmarks →

Scores from the Epoch AI Benchmarking Hub (best reported setting). ECI = Epoch Capabilities Index.

Where to run GPT OSS 20B — API providers & pricing

ProviderInput $/1MOutput $/1MCached inputContext
LMStudioFreeFree—128K
NvidiaFreeFree—128K
Deep Infra$0.03$0.14$0.015128K
CoreWeave$0.03$0.13$0.03128K
Vercel AI Gateway$0.03$0.14—128K
DevPass (LLM Gateway)$0.04$0.19$0.01128K
SiliconFlow$0.04$0.18—131K
Cortecs$0.045$0.167—131K
DigitalOcean$0.05$0.45$0.01125K
OVHcloud AI Endpoints$0.05$0.18—128K
Helicone$0.05$0.2—128K
Ollama Cloud$0.07$0.3$0.035128K
Databricks$0.07$0.3—128K
Amazon Bedrock$0.07$0.3—128K
OCI Generative AI$0.07$0.3—125K
OpenRouter$0.075$0.3$0.037128K
Groq$0.075$0.3$0.037128K
Hugging Face$0.1$0.5—128K
STACKIT$0.18$0.29—128K
Cloudflare Workers AI$0.2$0.3—125K
InferAllFreeFree—128K
QVACFreeFree—128K
Eden AI$0.009$0.045$0.0045128K
SOKKAN Router$0.015$0.075$0.00864K
Kilo Gateway$0.017$0.085$0.0085128K

+ 19 more providers.

Open weights: you can also run GPT OSS 20B locally with Ollama, LM Studio, llama.cpp or vLLM, from Hugging Face.

GPT OSS 20B vs alternatives

Alternatives to GPT OSS 20B
ModelProviderReleasedParamsContextInput $/1MOutput $/1MECI
Qwen3 30B A3BopenAlibaba (Qwen)Apr 202531B (3B act.)40K$0.12$0.5134.2
Qwen3 8BopenAlibaba (Qwen)Apr 20258.2B128K$0.18$0.7132.1
Gemma 3 27B ITopenGoogle DeepMindMar 202527B128K$0.08$0.45127.6
GPT-5 NanoOpenAIAug 2025—400K$0.05$0.4139.1
GPT OSS 120BopenOpenAIAug 2025117B128K$0.09$0.36140.2
Gemma 4 26B A4B ITopenGoogle DeepMindApr 202626B (4B act.)256KFreeFree141.6
Claude Haiku 4.5 (latest)AnthropicOct 2025—200K$1$5142.7
Mistral Small 3.2 24BopenMistral AIJun 202524B250K$0.075$0.2—

More models from OpenAI

All OpenAI models →
ModelReleasedParamsContextInput $/1MOutput $/1M
GPT OSS 120BopenAug 2025117B128K$0.09$0.36
GPT-6 AstraSep 2026—1.1M$10$50
GPT-6.1 SolSep 2026—1.1M$2$10
GPT-5.6 SolJul 2026—1.1M$4$20
GPT-6.2 AstraNov 2026—1.1M$8$40
GPT-6 SolSep 2026—1.1M$2$10
GPT-5.6 TerraJul 2026—1.1M$2$12
GPT-6.1 TerraOct 2026—1.1M$1$5

Frequently asked questions

Who made GPT OSS 20B?

GPT OSS 20B was developed by OpenAI (United States of America). It was released on Aug 5, 2025.

What is the context window of GPT OSS 20B?

GPT OSS 20B supports a context window of 131,072 tokens (128K) and can generate up to 65,536 output tokens per response.

How much does GPT OSS 20B cost?

GPT OSS 20B costs $0.075 per 1M input tokens and $0.3 per 1M output tokens, with cached input at $0.037 per 1M. Prices vary across the 44 providers that serve it.

Is GPT OSS 20B open source?

Yes. GPT OSS 20B's weights are publicly available under the apache-2.0 license on Hugging Face (openai/gpt-oss-20b), so you can download and run it yourself.

How many parameters does GPT OSS 20B have?

GPT OSS 20B has 21B parameters.

How does GPT OSS 20B perform on benchmarks?

GPT OSS 20B scores 60.8% on GPQA Diamond, 65.3% on OTIS Mock AIME and 3.4% on Terminal-Bench.

Where can I use GPT OSS 20B?

GPT OSS 20B is available via 44 API providers, and you can also self-host it with tools like vLLM, Ollama or LM Studio.

Sources: epoch, huggingface, models.dev, openrouter · paper · huggingface · openrouter. Last updated 2026-11-22.