GPQA Diamond
Graduate-level scientific reasoning
49.7%
OTIS Mock AIME
Competition mathematics
65.2%
gpt-oss-20b Open GPT reasoning model for self-hosted agents and controllable deployments
Quick facts
Explore GPT-OSS 20b pricing per million input, output, and cached tokens, along with its context window and maximum output limits.
Context window
131K tokens
Max output
131K tokens
Input
Output
How GPT-OSS 20b scores on independent benchmarks tracked by Epoch AI.
Epoch Capabilities Index
134.9
ECI rank
#144 of 258
Benchmark data: Epoch AI, ‘Capabilities & benchmarking’, licensed under CC BY 4.0.
Start using GPT-OSS 20b
gpt-oss-20b https://api.nexos.ai/v1 from openai import OpenAI
# Get your API key from the nexos.ai dashboard
client = OpenAI(
base_url="https://api.nexos.ai/v1",
api_key="YOUR_NEXOS_API_KEY",
)
response = client.chat.completions.create(
model="gpt-oss-20b",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content) import OpenAI from 'openai';
// Get your API key from the nexos.ai dashboard
const client = new OpenAI({
baseURL: 'https://api.nexos.ai/v1',
apiKey: 'YOUR_NEXOS_API_KEY',
});
const response = await client.chat.completions.create({
model: 'gpt-oss-20b',
messages: [{ role: 'user', content: 'Hello!' }],
});
console.log(response.choices[0].message.content); curl https://api.nexos.ai/v1/chat/completions \
-H "Authorization: Bearer YOUR_NEXOS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-oss-20b",
"messages": [{"role": "user", "content": "Hello!"}]
}' Models from OpenAI with comparable capabilities and pricing.
Access GPT-OSS 20b and 200+ other AI models through nexos.ai.
Common questions about GPT-OSS 20b, its availability and usage.
GPT-OSS 20b pricing starts at $0.07 per 1 million input tokens and $0.30 per million output tokens. Prices may vary depending on the provider, region, and caching options. See the pricing table above for a full comparison.
GPT-OSS 20b supports a context window of 131,072 tokens, with a maximum output of 131,072 tokens. The context window determines how much information the model can process in a single request.
GPT-OSS 20b supports reasoning, web search, and structured JSON output. These features can be used individually or together, depending on the model and your application’s requirements.
GPT-OSS 20b is available through Groq, with deployment options in the Global region. Availability may vary by provider. See the provider comparison table above for details.
Zero data retention (ZDR) is available for GPT-OSS 20b through Groq. With ZDR, supported providers do not retain request and response content after processing, subject to their applicable policies.
To use GPT-OSS 20b through nexos.ai, you’ll need an Enterprise plan. Once your account is set up, create an API key, set your base URL to https://api.nexos.ai/v1, and specify gpt-oss-20b in your API request. nexos.ai is OpenAI-compatible, so you can use your existing SDK integration by updating the API key, base URL, and model ID.