Requesty

gpt-oss-20b

OpenAI's gpt-oss-20b is a 21-billion parameter, open-weight reasoning model released under the Apache 2.0 license. Designed for local execution on consumer hardware and low-latency workflows, it delivers reasoning capabilities and benchmark performance comparable to the OpenAI o3-mini models.

Tool callingJSON schema

Specifications

Context window131K tokens
Max output33K tokens
API typechat
AddedAug 5, 2025
Model IDgroq/openai/gpt-oss-20b
Data retentionNo
Used for trainingNo
Provider locationπŸ‡ΊπŸ‡Έ US

Benchmarks

Released 2025-08-05
Coding Indexcoding
18.5%

Artificial Analysis Coding Index β€” a composite of coding evaluations including LiveCodeBench, SciCode and Terminal-Bench.

GPQA Diamondreasoning
68.8%

Graduate-level physics, chemistry & biology questions designed to resist Googling.

Intelligence Indexreasoning
24.5%

Artificial Analysis Intelligence Index β€” a composite of multiple evaluations measuring overall model capability.

Scores are sourced from official model cards, Artificial Analysis, and public leaderboards. Benchmarks measure specific skills and do not capture every aspect of model quality β€” always test on your own workload.

Pricing

Input / 1M
$0.10
Output / 1M
$0.50
Cache write
β€”
Cache read
β€”
Estimated cost
100K input + 10K output$0.0150
1M input + 100K output$0.15
10M input + 1M output$1.50

Requesty charges exactly what the upstream provider charges β€” no markup, no per-request fees. Prompt caching and smart routing can reduce effective cost by 30-80%.

Quickstart

Drop-in compatible with the OpenAI SDK. Change the base URL, swap in your Requesty API key, and set the model to groq/openai/gpt-oss-20b.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from openai import OpenAI client = OpenAI( api_key="YOUR_REQUESTY_API_KEY", base_url="https://router.requesty.ai/v1", ) response = client.chat.completions.create( model="groq/openai/gpt-oss-20b", messages=[ {"role": "user", "content": "Explain quantum computing in one paragraph."}, ], ) print(response.choices[0].message.content)

Other Groq Inc. models

Frequently asked questions

How much does gpt-oss-20b cost?
gpt-oss-20b is priced at $0.10 per million input tokens and $0.50 per million output tokens when accessed via Requesty. Requesty charges exactly what the upstream provider charges β€” we don't add markup.
What is the context window of gpt-oss-20b?
gpt-oss-20b has a context window of 131K tokens, with a maximum output of 33K tokens per response. That's roughly 175 words of input you can fit in a single prompt.
How does gpt-oss-20b perform on benchmarks?
gpt-oss-20b scores 89.3% on Math Index, 89.3% on AIME 2025, 77.7% on LiveCodeBench. See the full benchmark chart above for results across MMLU Pro, GPQA Diamond, SWE-Bench Verified, HumanEval, MATH, AIME, MMMU, and LiveBench.
What can gpt-oss-20b do?
gpt-oss-20b supports tool calling, structured outputs (JSON schema). You can call it through any OpenAI-compatible client by pointing base_url to Requesty.
How do I use gpt-oss-20b with the OpenAI SDK?
Install the OpenAI SDK, set base_url to "https://router.requesty.ai/v1", set your API key to your Requesty key, and set the model to "groq/openai/gpt-oss-20b". The Quickstart above shows Python, JavaScript and cURL snippets.

Access gpt-oss-20b through Requesty

One API key, 400+ models, OpenAI-compatible. No markup on provider prices, automatic failover, and smart caching built-in.