Skip to content
Not available in this workspace
OpenRouterOpenRouter
© 2026 OpenRouter, Inc

Product

  • Chat
  • Rankings
  • Benchmarks
  • Apps
  • Discover
  • Models
  • Collections
  • Providers
  • Pricing
  • Enterprise
  • Labs

Company

  • About
  • Blog
  • Careers
    Hiring
  • Privacy
  • Terms of Service
  • Support
  • Works With OR
  • Data

Developer

  • Documentation
  • API Reference
  • Developer Platform
  • Status

Connect

  • Discord
  • GitHub
  • LinkedIn
  • X
  • YouTube
Favicon for openai

OpenAI: gpt-oss-20b

openai/gpt-oss-20b

Model weights
Compare

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 lower-latency inference and deployability on consumer or single-GPU hardware. The model is trained in OpenAI’s Harmony response format and supports reasoning level configuration, fine-tuning, and agentic capabilities including function calling, tool use, and structured outputs.

Modalities

In / Out Price

$0.03 / $0.13per 1M

Context

131K

Released

Aug 5, 2025

Knowledge Cutoff

Jun 2024

Compare
ProvidersPricingPerformanceUptimeBenchmarksAppsActivityFAQ

Providers

Different companies host the same model. OpenRouter routes your request to one of them based on the routing mode you pick — Balanced (price + speed), Nitro (fastest), or Exacto (highest tool-calling accuracy).

Pricing

The average price customers actually pay for this model, next to the prices providers post. Caching and discounts mean the price actually paid is often well below the listed one.

Performance

Throughput is how fast the model writes (tokens per second — higher is better). Latency is total round-trip time (lower is better). TTFT is time-to-first-token — how long before you see anything appear (lower is better).

Uptime

Uptime is the percentage of the past 3 days that at least one provider was responding to requests. Availability is the percentage of time that inference was successfully served. OpenRouter continuously monitors and uses the next-best provider when one returns an error.

Benchmarks

Scores on standardized evaluations. Higher percentages are better — and rank percentile shows where this model lands among all models on OpenRouter.

Apps

Public apps that send the most traffic to this model. Good signal for what real production workloads look like — and a hint at which use cases this model is best suited for.

Activity

Token volume and request traffic to this model over time.

Quick Start

Drop-in code to call this model. OpenRouter's API is OpenAI-compatible — most SDKs work by just swapping the base URL. The only thing that changes between models is the model slug below.

About OpenAI: gpt-oss-20b

OpenRouter makes OpenAI: gpt-oss-20b available through a unified, OpenAI-compatible API using the model ID openai/gpt-oss-20b. Requests can be routed across 11 providers, including CoreWeave, DeepInfra, Parasail, NovitaAI, Phala, SiliconFlow, Together, Amazon Bedrock and 3 more, with automatic failover when an endpoint is unavailable.

OpenAI: gpt-oss-20b accepts text and returns text. It has a 131,072-token context window and a maximum output of 131,072 tokens.

On OpenRouter, OpenAI: gpt-oss-20b costs $0.03/M input tokens and $0.13/M output tokens, with separate rates for Cache Read at $0.03/M tokens. Effective pricing can be lower when prompt caching applies. It was released on August 5, 2025; its knowledge cutoff is June 30, 2024.

More models from OpenAI

  • GPT Transcribe
  • GPT-5.6 Luna Pro
  • GPT-5.6 Luna

Frequently asked questions

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 lower-latency inference and deployability on consumer or single-GPU hardware.

gpt-oss-20b costs $0.03/M input tokens and $0.13/M output tokens, with separate rates for Cache Read at $0.03/M tokens.

gpt-oss-20b has a 131,072 token context window. It supports up to 131,072 completion tokens.

Yes. gpt-oss-20b accepts tools and tool_choice for function calling. It also supports structured outputs via a JSON schema in response_format.

gpt-oss-20b is served by 11 providers on OpenRouter: CoreWeave, DeepInfra, Parasail, NovitaAI, Phala, SiliconFlow, Together, Amazon Bedrock and 3 more. Requests are routed to the best available provider, with automatic failover to the others, and you can pin or exclude providers with provider routing.

gpt-oss-20b was released on August 5, 2025. Its knowledge cutoff is June 30, 2024.

$0.03$0.13$0.030.28s82 tps
99.18%
$0.03$0.14--0.27s83 tps
98.08%
$0.03$0.15$0.020.51s70 tps
98.27%
$0.04$0.15--0.53s116 tps
99.74%
$0.04$0.18--1.18s34 tps
98.08%
$0.05$0.20--0.28s89 tps
84.73%
$0.07$0.15------
--
$0.07$0.15--0.34s298 tps
99.87%
$0.07$0.30$0.0350.34s176 tps
98.49%
$0.075$0.30$0.03750.67s217 tps
97.67%
$0.04$0.15--0.41s53 tps
92.24%
$0.07$0.25--3.68s30 tps
84.59%

Throughput

298tok/s

P50, best across providers

Latency

0.27s

P50, best provider

AutoExacto Benchmarks
GPQA DiamondTAU-Bench
Phala
67.7%--
SiliconFlow
63.1%--
WandB
66.7%52.7%
NovitaAI
59.3%--
DeepInfra
66.3%50.6%
+7 more providers
Uptime (3d)

100.00%

Availability (3d)

99.55%

Availability over the last 3 days

Last 72 hours
Availability 99.55%
3 Days Ago2 Days AgoYesterdayNow

Availability over the last 24 hours

OpenRouter Availability
99.67%
Without Routing
88.39%

When an error occurs in an upstream provider, we can recover by routing to another healthy provider, if your request filters allow it. You can access per-provider uptime data programmatically through the Endpoints API. Learn more about our load balancing and customization options.

1.
Favicon for https://jobleads.com/
JobLeads LLM
Use AI to find jobs for you
78.6Btokens
2.
Favicon for https://heyditto.ai/
HeyDitto
new
64Btokens
3.
Favicon for https://centralcommand.io/
Central Command OpenClaw
new
25.8Btokens
4.
Favicon for https://fvchat.app/
FVChat
new
19.5Btokens
5.
Favicon for https://craftrpgs.com/?utm_source=openrouter
Craft
Build and play AI RPGs
17.2Btokens