OpenAI

GPT OSS 20b API Pricing 2026

Compare pricing, benchmarks, and providers for GPT OSS 20b. Find the best value for your use case.

8 Ways to Use Fewer Tokens
Last updated: November 21, 2026 at 08:43 AM

Overview

GPT OSS 20b was released on August 5, 2025. Pricing starts at $0.017 per million input tokens and $0.085 per million output tokens. The model supports a context window of up to 131K tokens. API access is available through OpenAI.

Context Window
131K
tokens
Pricing
Input$0.017
Output$0.085
Cached$0.0027
per 1M tokens
Speed
Output-
TTFT-
median latency
Capabilities
VisionReasoningToolsCaching

GPT OSS 20b is priced at $0.017 per million input tokens and $0.085 per million output tokens. It has a context window of 131,072 tokens. It is available from 13 providers, with Darkbloom the cheapest at $0.017 per million input tokens (input prices range from $0.017 to $0.100). Over the past ~90 days its cheapest input price has fallen 43.3%, from $0.030 to $0.017 per million tokens.

Pricing Comparison

Compare GPT OSS 20b with 10 similar models by price.

Current Pricing (per 1M tokens)

11 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.017
$0.085
—
—
—
131,072
Try
$0.000
$0.000
—
—
—
256,000
Try
$0.007
$0.950
—
—
—
1,048,576
Try
$0.010
$0.020
—
—
—
32,768
Try
$0.010
$0.020
—
—
—
32,768
Try
$0.010
$0.030
—
—
—
262,144
Try
$0.010
$0.000
—
—
—
-
Try
$0.014
$0.029
—
—
—
1,048,576
Try
$0.014
$0.028
—
—
—
163,840
Try
$0.017
$0.022
—
26.4
8.7
131,072
Try
IB
IBM
$0.017
$0.110
—
—
—
131,000
Try

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

GPT OSS 20b is available from multiple providers with different pricing and availability.

13
Providers
$0.017
Cheapest Input/M
$0.085
Cheapest Output/M
Darkbloom
Best Price

Provider Pricing

13 models

Sponsored The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Input $/M
Output $/M
Cache Read $/M
Cache Write $/M
Uptime
D
Darkbloom
Best Price
$0.017
$0.085
$0.009
-
100.0%
OpenRouter
OpenRouter
Best Price
$0.017
$0.085
$0.009
-
-
A
AkashML
$0.018
$0.090
$0.009
-
100.0%
$0.018
$0.090
$0.003
-
-
D
DekaLLM
$0.029
$0.140
$0.029
-
-
$0.030
$0.150
$0.020
-
-
$0.030
$0.140
$0.015
-
100.0%
C
CoreWeave
$0.030
$0.130
$0.030
-
100.0%
$0.040
$0.180
-
-
100.0%
$0.050
$0.200
-
-
-
$0.070
$0.150
-
-
100.0%
$0.075
$0.300
$0.037
-
100.0%
$0.100
$0.100
$0.450
-
-
Provider pricing data sourced from OpenRouter and Helicone

Community Rankings

How does GPT OSS 20b perform? Vote based on your experience.

Cost vs. Quality

Compare GPT OSS 20b's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Other models

Try GPT OSS 20b

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test GPT OSS 20b directly in your browser.

Open Playground

Frequently Asked Questions

GPT OSS 20b costs $0.000017 per 1,000 input tokens and $0.000085 per 1,000 output tokens.
GPT OSS 20b is available from 13 providers. Darkbloom offers the best price.
Darkbloom offers GPT OSS 20b at $0.017 per million input tokens, the lowest of 13 providers (input prices range from $0.017 to $0.100 per million tokens).
Yes. Over the past ~90 days, the cheapest input price for GPT OSS 20b has dropped 43.3%, from $0.030 to $0.017 per million tokens.
We compare GPT OSS 20b with 10 similarly-priced models. See the benchmark scatter plot above to compare quality vs cost.

All OpenAI Models

See pricing for all OpenAI models.

View all OpenAI models →