GPT-oss 20B API pricing

    OpenAI model · OpenAI on AIWiseRank

    Short answer

    GPT-oss 20B by OpenAI costs $0.080 per 1M input tokens and $0.35 per 1M output tokens, with a 128K token context window.

    Prices updated Oct 23, 2026 (APIpulse, CC BY 4.0) · Benchmarks: ARC Prize, Vals.ai · all models

    Input$0.080 / 1M
    Output$0.35 / 1M
    Context128K
    Blended (3:1)$0.15 / 1M

    API cost calculator

    Enter your monthly usage in millions of tokens (1M tokens ≈ 750,000 words).

    GPT-oss 20B$1.50 / month$18 / year

    Standard rates; batch processing and prompt caching can lower the bill.

    Benchmarks

    ARC-AGI-2 (reasoning)—
    SWE-bench Verified (coding)—

    Other OpenAI models

    ModelInput / 1MOutput / 1M
    GPT-6.1 Sol$2$10
    GPT-6 Astra$10$50
    GPT-6 Sol$2$10
    GPT-6 Luna$0.10$0.50
    GPT-5.6 Cyber$12.50$75
    GPT-5.6 Sol$4$20
    GPT-5.6 Terra$2$12
    GPT-5.6 Luna$0.20$1.20

    Frequently asked questions

    How much does the GPT-oss 20B API cost?

    GPT-oss 20B costs $0.080 per 1M input tokens and $0.35 per 1M output tokens. A workload of 10M input and 2M output tokens a month costs $1.50.

    What is the context window of GPT-oss 20B?

    GPT-oss 20B supports a 128K token context window.