GPT OSS 20B Pricing

    OSS

    As of August 21, 2026, GPT OSS 20B API pricing is $0.05 per million input tokens and $0.20 per million output tokens. A typical 100K-in / 20K-out request costs $0.009. Source: https://developers.openai.com/api/docs/pricing

    Source: OpenAI API pricing (https://developers.openai.com/api/docs/pricing)

    Updated August 21, 2026131.1K context$0.25 blended / 1M

    Input $/M

    $0.05

    Output $/M

    $0.20

    Blended / 1M

    $0.25

    100K / 20K request

    $0.009

    GPT OSS 20B specs

    Context Window131.1K
    Max Output32.8K tokens
    Release Date2025-08-05
    Knowledge CutoffN/A
    LicenseOpen Source
    Throughput1000 tok/s

    GPT OSS 20B benchmarks

    HLE10.9%
    GPQA71.5%
    GPQA Diamond68.9%
    LiveCodeBench80.4%
    Terminal-Bench3.4%
    tau-bench Retail54.8%
    AIME 202586.0%
    MATH 50094.2%
    MMLU85.3%
    Codeforces74.3%
    CorpFin v253.1%
    HealthBench42.5%
    HealthBench Hard10.8%
    MedQA82.9%
    MGSM89.0%
    MMLU-Pro71.6%
    Tax Eval v263.7%

    Compare GPT OSS 20B

    Same search as the hub. Pick any model, or jump into a priced matchup.

    GPT OSS 20B FAQ

    How much does GPT OSS 20B cost per million tokens?

    As of August 21, 2026, GPT OSS 20B OpenAI API pricing is $0.05 per million input tokens and $0.20 per million output tokens. Input tokens are the prompt you send; output tokens are the completion. Long answers therefore cost more than short ones even when the prompt stays the same. Source: https://developers.openai.com/api/docs/pricing

    What is the blended API cost for GPT OSS 20B?

    On this page the blended GPT OSS 20B API cost is $0.25 for 1 million input tokens plus 1 million output tokens. That 1:1 mix is the comparison scale used across the LLM pricing table. A 3:1 mix (three million input tokens per one million output tokens), which some calculators use, would be about $0.35.

    How much does a typical GPT OSS 20B request cost?

    A typical GPT OSS 20B API request with 100K input tokens and 20K output tokens costs about $0.009 at current rates as of August 21, 2026. Multiply that by daily or monthly volume to estimate spend. Caching, batch APIs, and volume discounts from OpenAI can bring the real invoice lower than the public list rate at https://developers.openai.com/api/docs/pricing.

    What is the context window for GPT OSS 20B?

    GPT OSS 20B supports a 131K token context window and can generate up to 33K output tokens per request. The context window is the total prompt plus conversation history the model can see in one call. Larger windows cost more when you fill them, because every input token is billed per million tokens.

    Is GPT OSS 20B open source?

    Yes. GPT OSS 20B is an open-weight model by OpenAI. You can download the weights and self-host, or pay OpenAI's hosted API and skip GPU ops. Hosted API pricing on this page is the public per-million-token rate, not the electricity cost of running the weights yourself.

    What benchmarks does GPT OSS 20B perform well on?

    GPT OSS 20B currently reports HLE 10.9%, GPQA 71.5%, GPQA Diamond 68.9%. See the performance table for the full eval set. Use those scores with the token prices above when you are choosing between a cheaper LLM and a frontier model. GPQA, SWE-bench, and HLE are the evals people usually compare first.

    Is GPT OSS 20B good for coding?

    GPT OSS 20B scores 80.4% on LiveCodeBench. Pair that score with OpenAI API pricing on this page: a slightly worse SWE-bench model can still win if it is much cheaper per million tokens. Open the SWE-bench or coding leaderboard from the sidebar for the full ranking, then jump into an LLM comparison against a coding specialist.

    How do I compare GPT OSS 20B with another LLM?

    Use the Compare picker on this page to start an LLM comparison. Search by model or provider, pick a second model, and AnotherWrapper opens a dedicated GPT OSS 20B vs page with per-million-token prices, blended 1M-in / 1M-out cost, context window, throughput, and benchmarks. You can also open any model from the sidebar, or go back to the LLM pricing table to sort the full index.

    What are the cheapest alternatives to GPT OSS 20B?

    The cheapest LLM alternative depends on whether you optimize for blended token cost, coding evals, or context window. Start with the popular matchups on this page, then sort the LLM pricing table by blended cost to see which hosted APIs undercut GPT OSS 20B. Open-weight models can be cheaper still if you self-host, but that is not the same as OpenAI API pricing on this page.

    How do I use GPT OSS 20B in my application?

    GPT OSS 20B is called through OpenAI's API with an API key. Bill against input and output tokens separately; cache or shorten prompts if spend is high. If you are shipping a full product, AnotherWrapper includes pre-built API routes and templates for OpenAI and 5+ other providers with auth, payments, and deployment already configured.

    How accurate is this GPT OSS 20B pricing data?

    This GPT OSS 20B page tracks the latest published OpenAI API pricing from OpenAI, quoted per million tokens. List rates can differ from invoices because of prompt caching, batch discounts, committed-use tiers, and private contracts. Official rate sheet: https://developers.openai.com/api/docs/pricing. Benchmark scores come from official publications and independent evals, not from a private lab run by AnotherWrapper.

    How fast is GPT OSS 20B?

    GPT OSS 20B has a measured throughput of about 1000 tokens per second (tok/s). Throughput is how fast completions stream once the model starts generating; time-to-first-token can still lag under load. Faster APIs matter when you are building chat or agents, even if the per-million-token price is the same.

    About GPT OSS 20B API pricing

    GPT OSS 20B is a open-source model from OpenAI. Current API pricing is $0.05 per million input tokens and $0.20 per million output tokens, with a 131.1K token context window. A blended 1M-in / 1M-out workload costs $0.25.

    Rank it on the LLM leaderboard, SWE-bench, and Humanity's Last Exam.

    The index

    All Large Language Models

    281 models across 33 providers. Search or jump to a lab — every model page stays linked here.

    Baidu

    1 models

    Inception

    1 models

    inclusionAI

    1 models

    LG AI Research

    1 models

    Nous Research

    1 models

    Sakana AI

    1 models

    StepFun

    1 models

    Tencent

    1 models

    Thinking Machines

    1 models

    Unisound

    1 models

    Upstage

    1 models

    Next step

    You found the model. Now ship the product.

    Auth, billing, and the API layer are already decided. Fork 8 finished AI apps, or have us build the first version with you.