PriceIndex
OpenAI logo

gpt-oss-20b Pricing & API Specs

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... Built by OpenAI.

Prices updated

Input price

$0.17

per 1M tokens · Standard

Output price

$0.36

per 1M tokens · Standard

Input limit

131K

tokens

Output limit

66K

tokens

Input formats

TextImageVideoAudioPDF

Output formats

TextImageVideoAudioPDF
Compare

gpt-oss-20b price history

74 price records since 9/25/2026 · 72 changes

gpt-oss-20b cost calculator

Input20M tokens
Output5M tokens

$5.20/month

Standard pricing

    Overview

    What is gpt-oss-20b?

    gpt-oss-20b is a text & reasoning model from OpenAI priced at $0.17 input and $0.36 output per 1M tokens, with a 131K context window. Its low input price suits high-volume work and it scores 9 on AA Intelligence.

    Price: gpt-oss-safeguard-20b (+$0.000)Price: Qwen3 30B A3B (−$0.003)Price: LFM2.5-24B-A2B (−$0.005)Score: Mistral Medium 3 (AA +0)Score: Mistral Medium 3.1 (AA +0)Score: Qwen3 Coder Next (AA +0)

    Benchmarks

    gpt-oss-20b benchmarks & speed

    How gpt-oss-20b scores on standardized evaluations, and where it lands among every model we track.

    9.0

    Intelligence Index

    Better than 21% of 153 models

    207tok/s

    Output speed

    Better than 91% of 119 models

    Reasoning

    GPQA Diamond

    68.8%

    Graduate-level scientific reasoning · top 70%

    HLE

    11.0%

    Humanity's Last Exam · top 64%

    Coding

    SciCode

    38.9%

    Python for scientific computing · top 83%

    Latency & design

    Time to first token
    0.85s

    Independent scores from Artificial Analysis and DesignArena · updated 10/5/2026. Higher is better; ranks compare against every model we track with that score.

    Rates

    gpt-oss-20b pricing

    Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.

    Input · Standard

    $0.17

    Per 1M tokens

    Cached input · Standard

    $0.0085

    Per 1M tokens

    Capabilities

    gpt-oss-20b Tools

    Tools available when using gpt-oss-20b through supported provider APIs.

    Where to run it

    gpt-oss-20b API providers

    11 providers serve gpt-oss-20b. Prices are per 1M tokens; uptime is the last 24 hours.

    Darkbloomfp4
    Input
    $0.02
    Output
    $0.09
    Cached
    $0.0085
    Context
    131K
    Uptime
    100%
    AkashMLfp4
    Input
    $0.02
    Output
    $0.09
    Cached
    $0.0090
    Context
    131K
    Uptime
    100%
    DeepInfrabf16
    Input
    $0.02
    Output
    $0.11
    Cached
    $0.01
    Context
    131K
    Uptime
    96%
    CoreWeavefp4
    Input
    $0.03
    Output
    $0.13
    Cached
    $0.03
    Context
    131K
    Uptime
    100%
    DeepInfrabf16
    Input
    $0.03
    Output
    $0.14
    Cached
    $0.01
    Context
    131K
    Uptime
    99.86%
    Parasailfp4
    Input
    $0.03
    Output
    $0.15
    Cached
    $0.02
    Context
    131K
    Uptime
    100%
    SiliconFlowfp8
    Input
    $0.04
    Output
    $0.18
    Cached
    —
    Context
    131K
    Uptime
    98.16%
    Amazon Bedrock
    Input
    $0.07
    Output
    $0.15
    Cached
    —
    Context
    131K
    Uptime
    100%
    Amazon Bedrock
    Input
    $0.07
    Output
    $0.15
    Cached
    —
    Context
    131K
    Uptime
    100%
    Groq
    Input
    $0.17
    Output
    $0.36
    Cached
    $0.09
    Context
    131K
    Uptime
    100%
    PrimeIntellectfp4
    Input
    $0.20
    Output
    $0.30
    Cached
    $0.18
    Context
    131K
    Uptime
    99.82%

    Strengths and limitations

    Strengths

    • Price rank 72 of 330 tracked models (1 = cheapest, by blended price).
    • Blended price at 3 input : 1 output is $0.22 per 1M tokens.
    • 1M input + 250K output tokens costs about $0.26.
    • Context window 131K vs a median of 262K (2.0× smaller).

    Limitations

    • Real-world cost still depends on prompt length, response length and provider-specific billing rules.
    • The 131K context window is smaller than several long-context alternatives.
    • Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.

    Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.

    Same provider

    More models from OpenAI

    View provider →
    16K

    $0.50 in · $1.50 out

    View model

    $1.00 in · $2.00 out

    View model

    $3.00 in · $4.00 out

    View model

    $1.50 in · $2.00 out

    View model

    Frequently asked questions about gpt-oss-20b

    gpt-oss-20b is a text & reasoning model from OpenAI. 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 costs $0.17 per million input tokens and $0.36 per million output tokens on standard pricing. A workload of 20M input and 5M output tokens a month is about $5.20.

    gpt-oss-20b accepts up to 131,072 tokens (131K) of input and can return up to 65,536 tokens in one response.

    Yes, gpt-oss-20b supports function/tool calling and structured (JSON) outputs. Supported tools: Function calling, Structured outputs, JSON mode, Reasoning, Log probabilities, Deterministic seed, Prompt caching.

    gpt-oss-20b accepts Text as input and produces Text as output.

    gpt-oss-20b is available from 11 API providers: Darkbloom, AkashML, DeepInfra, CoreWeave, DeepInfra, Parasail, SiliconFlow, Amazon Bedrock and more. Prices can differ by provider.

    gpt-oss-20b was released by OpenAI in 2025-08-05.