Textby OpenAI

gpt-oss-20b

gpt-oss-20b is an open-weight 21B parameter model released by OpenAI under the Apache 2.0 license. It uses a Mixture-of-Experts (MoE) architecture with 3.6B active parameters per forward pass, optimized for...

  • By price it is among the cheapest of the 343 text models GenMagic runs (12th cheapest).
  • It scores 9 on the Artificial Analysis Intelligence Index, 96th of the 119 text models with a score.
  • Among the models GenMagic runs, it places in the top 10 on 1 of its 26 benchmarks: 7th of 23 on Omni-MATH.
  • It was listed on Aug 5, 2025.

Data last changed Nov 10, 2026 · tracked since Oct 29, 2026 · Every model change

Try gpt-oss-20b

Generate with gpt-oss-20b right here. Verify your email to start with free credits.

Try

Specifications

Context window

131K tokens

Max output

118K tokens

Knowledge cutoff

2024-06-30

Input price

$0.045 / 1M tokens

Output price

$0.20 / 1M tokens

Cached input

$0.045 / 1M tokens

Benchmarks

How gpt-oss-20b scores on public benchmarks. Each card links to the benchmark explainer and to the original source.

1.2

source date 2026-11-10
Source: openrouter

20.7

source date 2026-11-10
Source: openrouter

9

source date 2026-09-18
Source: openrouter
AIMEMathematics

50.8%± 6.7

highsource date 2026-08-27
Source: epoch
Chess PuzzlesReasoning & Knowledge

0%± 0.0

highsource date 2026-08-27
Source: epoch
DTBenchReasoning & Knowledge

68%

high
Source: epoch
GPQA DiamondReasoning & Knowledge

65.1%± 2.4

source date 2026-10-31
Source: openrouter
GPQA MainReasoning & Knowledge

59.4%

source date 2026-06-10
Source: helm
IFEvalInstruction & Preference

73.2%

source date 2026-06-10
Source: helm
LMArena (Coding)Instruction & Preference

1306 Elo

source date 2026-11-09
Source: lmarena
LMArena: Creative WritingInstruction & Preference

1202 Elo

source date 2026-11-09
Source: lmarena
LMArena: Hard PromptsInstruction & Preference

1274 Elo

source date 2026-11-09
Source: lmarena

1251 Elo

source date 2026-11-09
Source: lmarena
LMArena: MathMathematics

1306 Elo

source date 2026-11-09
Source: lmarena
LMArena: Multi-TurnInstruction & Preference

1268 Elo

source date 2026-11-09
Source: lmarena
LMArena (Overall)Instruction & Preference

1288 Elo

source date 2026-11-09
Source: lmarena
LMCAReasoning & Knowledge

14.5

high
Source: epoch
MMLU-ProReasoning & Knowledge

74%

source date 2026-06-10
Source: helm
Omni-MATHMathematics

56.5%

source date 2026-06-10
Source: helm
SciCodeCoding

38.9%

high
Source: epoch
tau-bench (Airline)Agentic & Tool Use

53.5%± 1.8

source date 2026-10-31
Source: openrouter
WeirdMLCoding

40.9%± 0.0

high
Source: epoch
WildBenchInstruction & Preference

7.6

source date 2026-06-10
Source: helm

Compare against every model in the full benchmark matrix.

Capabilities

Reasoning

Works through multi-step problems before answering, for harder tasks.

Tool use

Can call functions and tools, enabling agentic and structured workflows.

Structured output

Returns validated JSON that conforms to a schema you define.

Use gpt-oss-20b through the API

The model id is openai/gpt-oss-20b. Requests bill your GenMagic balance at the price above, and each response reports what it cost.

curl
curl https://genmagic.co/api/v1/chat/completions \
  -H "Authorization: Bearer $GENMAGIC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-oss-20b",
    "messages": [{ "role": "user", "content": "Explain vector databases in two sentences." }]
  }'
Python (openai SDK)
from openai import OpenAI

client = OpenAI(base_url="https://genmagic.co/api/v1", api_key="YOUR_GENMAGIC_API_KEY")

resp = client.chat.completions.create(
    model="openai/gpt-oss-20b",
    messages=[{"role": "user", "content": "Explain vector databases in two sentences."}],
)
print(resp.choices[0].message.content)

From an AI agent, call generate_text with "model": "openai/gpt-oss-20b" on the GenMagic MCP server. Keys, limits and every endpoint are in the API documentation.

Use gpt-oss-20b in n8n

  1. In n8n, open the nodes panel, search for GenMagic and install it (a verified community node), then add it to your workflow.
  2. Set Resource to Text and Operation to Generate.
  3. In Model Name or ID, pick OpenAI: gpt-oss-20b, or enter openai/gpt-oss-20b as an expression.
  4. Connect your GenMagic API key (get one free). Each run is billed at the price above, and the node returns what it cost.

Ready-to-import workflows that already use the node are on GenMagic for n8n.

Similar-priced text models from other providers

Other text models GenMagic runs at a comparable price, on the same balance and API key.

ModelProviderPriceContext
OpenAI: gpt-oss-20b (this model)OpenAI$0.045 in / $0.20 out per 1M tokens131K
Qwen: Qwen3.7 FlashQwen$0.045 in / $0.20 out per 1M tokens1M
Google: Gemma 3 4BGoogle$0.075 in / $0.15 out per 1M tokens131K
Amazon: Nova Micro 1.0Amazon$0.052 in / $0.21 out per 1M tokens128K
inclusionAI: Ling 3.1 FlashinclusionAI$0.068 in / $0.20 out per 1M tokens1M
Inference.net: Schematron V2 TurboInference Net$0.045 in / $0.23 out per 1M tokens128K

Compare gpt-oss-20b

More from OpenAI

All 70 OpenAI models

Price and listing history

Every change GenMagic has recorded for gpt-oss-20b since it began tracking the model on Oct 29, 2026. Prices are GenMagic's, the same the studio and the API charge.

DateChangeBeforeAfter
Nov 10, 2026Price up 67%$0.027 in / $0.14 out per 1M tokens$0.045 in / $0.20 out per 1M tokens
Nov 10, 2026Updated: max output--
Nov 9, 2026Price down 40%$0.045 in / $0.20 out per 1M tokens$0.027 in / $0.14 out per 1M tokens
Nov 9, 2026Updated: max output--
Nov 1, 2026Price up 127%$0.02 in / $0.099 out per 1M tokens$0.045 in / $0.20 out per 1M tokens
Nov 1, 2026Updated: max output--

Where these figures come from

  • Price: GenMagic's own price, what the studio and the API charge, recomputed from the provider's price list every few minutes and recorded daily. How pricing works.
  • Specs and description: as OpenAI publishes them (model card on Hugging Face), checked daily.
  • Benchmarks: 26 scores from Artificial Analysis and OpenRouter, Epoch AI, Design Arena, Stanford HELM, LMArena, re-read daily. Each score above links to its source.
  • Changes: the data on this page last changed on Nov 10, 2026, tracked since Oct 29, 2026. Every model's new listings, price changes and retirements are in the model changes log, and how every figure on GenMagic is sourced is on our sources page.

Generate with gpt-oss-20b today

One GenMagic plan unlocks gpt-oss-20b and every other model across text, image, audio, and video.