gpt-oss-20b
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
- 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
- Training
- Pretrained
Cheapest of 9 routes · OpenRouter
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 6 more, with the cheapest tracked route listed at $0.03 input and $0.14 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 9Compare API pricing across 4 providers for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Route |
|---|---|---|---|
| OpenRouter | $0.030 | $0.140 | Serverless |
| Novita AI | $0.040 | $0.150 | Serverless |
| Vercel AI Gateway | $0.050 | $0.200 | Serverless |
| GCP Vertex AI | $0.070 | $0.250 | Serverless |
Available via routers & gateways(14)
AIRouter
RouterCommercial LLM router that analyzes incoming requests and routes to the optimal model for cost/quality/latency via a drop-in OpenAI-compatible API, with a privacy-preserving embedding mode that avoids sending prompt content.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache 2.0 open-source core with a managed hosted tier for logging and analytics.
Kong AI Gateway
GatewayMulti-LLM AI gateway built on Kong Gateway 3.x, adding semantic routing, load balancing, guardrails, and MCP traffic analytics as plugins over Kong's existing API management platform.
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
Martian
RouterAI-powered LLM router that analyzes each prompt in real-time to select the optimal model, targeting 20–97% cost reduction while maintaining quality; San Francisco startup reportedly nearing $1.3B valuation.
Neutrino AI
RouterCommercial LLM router that dynamically routes each query to the best-suited model with load balancing and fallback handling, charging 3% of underlying AI spend.
Capabilities
Benchmark peer barsfor RAG
No task-mapped benchmark peers are available for this model yet.
Benchmark scores(1)
| Benchmark | Score | Version | Source |
|---|---|---|---|
| Google-Proof Q&A | 68.8 | diamond | https://artificialanalysis.ai/leaderboards/models |
Migration checks
No linked migration route is available for this model yet.
Rankings & picks(1)
Comparison and alternatives
Browse all comparisons →Cheapest of 9 routes · OpenRouter