openai logo 50%

GPT OSS 20B API

OpenAI·Text

GPT OSS 20B

128K Context 32.8K out 27 req/24h $0.00 24h volume
Input
Text
Output
Text

Pricing

Cheapest live price, per 1 million tokens.

Input / 1M tokens

$0.01950%

OpenRouter $0.013

Output / 1M tokens

$0.07150%

OpenRouter $0.048

Capabilities · 2

Reasoning Streaming

Specifications

Context window
128K
Max output
33K
Type
Text
Creator
OpenAI
Live sellers
3
Requests / 24h
27

Price history · 60 days

Sep 5 — Nov 4▼ 0.00% vs last week
Compare all top models

Estimated monthly cost

30 days at the cheapest live price.

AI Chatbot
1,000 req/day · 2K in · 0.5K out
$2.20/mo
Coding Copilot
500 req/day · 8K in · 2K out
$4.40/mo
AI Agent
100 req/day · 50K in · 5K out
$3.89/mo

Quick start

OpenAI-compatible — change the base URL and key. Get a key from the dashboard.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.qubax.ai/v1",
    api_key="YOUR_QUBAX_API_KEY",
)

response = client.chat.completions.create(
    model="e2ee-gpt-oss-20b-p",
    messages=[{"role": "user", "content": "Hello!"}],
)

print(response.choices[0].message.content)

About GPT OSS 20B

GPT OSS 20B is a language model developed by OpenAI. It's particularly well-suited for tackling complex, multi-step reasoning problems and handling large contexts of up to 128K tokens. Its 128K-token context window means you can pass in entire documents, codebases, or conversation histories without losing context. It can write up to 33K tokens in a single response.

As of Nov 4, 2026, GPT OSS 20B costs $0.019 per 1M input tokens and $0.071 per 1M output tokens on Qubax. A typical 1,000 chat requests (2K tokens in, 500 out) come to about $0.07. 3 independent compute providers currently serve it, so requests fail over automatically. Pay with USDC, USDT, BTC, ETH or 350+ other coins — no credit card required.

Complex Reasoning
Multi-step problem solving, math, and logical analysis
Long Documents
Process entire codebases, books, or lengthy conversations
Chat & Conversation
Build AI chatbots and conversational assistants
Content Generation
Write articles, code, emails, and more

Similar-priced alternatives

Frequently asked questions

How much does the GPT OSS 20B API cost?

On Qubax, GPT OSS 20B costs $0.019 per 1M input tokens and $0.071 per 1M output tokens.

Is the GPT OSS 20B API compatible with OpenAI?

Yes. Qubax provides an OpenAI-compatible API. You can use GPT OSS 20B as a drop-in replacement by changing your base URL to https://api.qubax.ai/v1 and using your Qubax API key. It works with Cline, Cursor, OpenCode, Hermes Agent, and any tool that supports OpenAI APIs.

How do I pay for GPT OSS 20B API usage?

Qubax uses prepaid crypto credits. Top up with USDC, USDT, BTC, ETH, SOL or 350+ other coins and your balance is deducted as you use the API. No credit card or KYC required.

What is the context window of GPT OSS 20B?

GPT OSS 20B supports a context window of 128K tokens, allowing you to process large documents, codebases, or long conversations in a single request.

What can I build with GPT OSS 20B?

You can use GPT OSS 20B to tackle complex multi-step reasoning tasks and process long documents and entire codebases. Because it's served through Qubax's OpenAI-compatible API, integration into existing apps, agents, or workflows takes just a few lines of code.

How fast and reliable is GPT OSS 20B on Qubax?

Responses stream token by token. 3 sellers serve it, so if one is slow or down the request moves to the next.

GPT OSS 20B vs DeepSeek V4 Flash: which should I choose?

GPT OSS 20B by OpenAI and DeepSeek V4 Flash by DeepSeek are both strong models in a similar price tier. GPT OSS 20B excels at complex reasoning. DeepSeek V4 Flash comes from a different lab and may have different strengths depending on your workload. On Qubax, GPT OSS 20B starts at $0.019/1M input tokens versus DeepSeek V4 Flash's $0.021/1M — making GPT OSS 20B the more cost-effective option for high-volume workloads. Both are available on Qubax with crypto payments and OpenAI-compatible APIs, so you can try each and switch freely.

Can I use GPT OSS 20B for commercial projects?

Yes. GPT OSS 20B on Qubax can be used for commercial purposes. You own the outputs you generate. Qubax provides the API infrastructure — you bring your use case.

Why use GPT OSS 20B on Qubax?

Live market prices

Providers compete on price — you get the cheapest healthy seller.

Pay with crypto

350+ coins (BTC, ETH, SOL, USDT, USDC). No card, no KYC.

OpenAI & Anthropic compatible

Drop-in base URL. Works with Cline, Cursor, Claude Code, OpenAI and Anthropic SDKs.

Get started free →

More from OpenAI

Browse 380+ other AI models

GPT, Claude, Gemini, Llama, DeepSeek & more.

See all models →

GPT OSS 20B

$0.019 in · $0.071 out

Get API key