LLM Reference

gpt-oss-20b

Released
2025-08-05
Last refreshed
2026-06-30
Status
Researched 104d ago
Open sourceCommercial use: permittedRAGAgentsLong contextClassificationJSON / Tool use

gpt-oss-20b is worth evaluating for rag, agents, and long context when its provider route and context window match the workload.

Use it for

  • Teams evaluating rag, agents, and long context
  • Workloads that can use a 131k context window
  • Buyers comparing 4 tracked provider routes

Do not use it for

  • Vision or document-understanding workloads
Specifications
Family
GPT-OSS
Released
2025-08-05
Context
131k
Parameters
20B
Architecture
Decoder Only
Knowledge cutoff
2025-08
Specialization
general
Openness
Open source
License
Apache 2.0OSI-approvedCommercial use: permitted
Weights
Unknown
Code
Unknown
Training
Pretrained
Created by

Cutting-edge research and development.

San Francisco, California, United States
Founded 2015
Website
Pricing
Output / 1M
Free
Input / 1M
Free

Cheapest of 10 routes · Open Inference

About

OpenAI open-weight model with 20 billion parameters. Lightweight, efficient text-only model with reasoning and function calling. Free for self-hosting. Released August 5, 2025.

gpt-oss-20b is an open-source model in the GPT-OSS family. The structured metadata tracks a 131k-token context window, function calling, tool use, and structured outputs. This page tracks provider routes through Cloudflare Workers AI, OpenRouter, Fireworks AI, and 7 more, with the cheapest tracked route listed at free input and free output per 1M tokens. Headline tracked benchmarks include Google-Proof Q&A 68.8.

Top use-case fit: coding, agents, and build tasks

RAG

Included by capability and metadata signals in the decision map.

Agents

Included by capability and metadata signals in the decision map.

Long context

Included by capability and metadata signals in the decision map.

Provider price ladder

Compare all 10

Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.

ProviderInput / 1MOutput / 1MRoute
Open InferenceFreeFree
Serverless
OpenRouter$0.030$0.140
Serverless
Novita AI$0.040$0.150
Serverless
Vercel AI Gateway$0.050$0.200
Serverless

Available via routers & gateways(14)

Capabilities

Function CallingTool UseStructured Outputs

Benchmark peer barsfor RAG

No task-mapped benchmark peers are available for this model yet.

Benchmark scores(1)

Scores are benchmark-specific and are direction-aware: the same numeric gap can mean very different outcomes across suites. Use the leaderboard context and this model's provider route to decide whether the winning margin is meaningful for your workload.
BenchmarkScoreVersionEvaluationSource
Google-Proof Q&A68.8diamondObserved 2026-04-18Source

Migration checks

No linked migration route is available for this model yet.

Compare gpt-oss-20b with other models

Frequently asked questions

What is the context window of gpt-oss-20b?

gpt-oss-20b has a context window of 131k tokens.

How much does gpt-oss-20b cost?

gpt-oss-20b pricing ranges from $0/1M to $0.200/1M input tokens depending on the provider.

When was gpt-oss-20b released?

gpt-oss-20b was released on 2025-08-05.

Which providers offer gpt-oss-20b?

gpt-oss-20b is available from 10 providers: Cloudflare Workers AI, OpenRouter, Fireworks AI, GCP Vertex AI, NVIDIA NIM, GroqCloud, Replicate API, Vercel AI Gateway, Novita AI, Open Inference.

What benchmarks has gpt-oss-20b been tested on?

gpt-oss-20b has been evaluated on 1 benchmark, including Google-Proof Q&A.