gpt-oss-20b vs Qwen3.7-Max

gpt-oss-20b (OpenAI, August 2025) and Qwen3.7-Max (Alibaba, May 2026), compared on price, context window, access and specs. gpt-oss-20b is the cheaper API at $0.018 in and $0.09 out per million tokens, about 61× less than Qwen3.7-Max on a typical 3:1 input-to-output mix. Qwen3.7-Max reads more at once: a 1M-token context window against 131K. gpt-oss-20b has open weights, so you can also run it on your own hardware.

Updated 5 December 2026 · read each row across; the best value in a row is marked

At a glance

Released
5 August 2025
19 May 2026
Access
Open weights (unrestricted)
API access
Country
United States of America
China

Price and API

Input, per 1M tokens
$0.018on Hugging FaceLowest
$1.48on OpenRouter
Output, per 1M tokens
$0.09on Hugging FaceLowest
$4.42on OpenRouter
Official API id
Not listed
alibaba/qwen3.7-max
Context window
131K tokens
1M tokensLargest
Max output
131K tokens
131K tokens
Takes
Text
Text
Returns
Text
Text
Knowledge cutoff
June 2024
Not listed
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured output

Scale and training

Parameters
21B20,910,000,000
Not listed
Training compute
5.5 × 10²³ FLOP
Not listed
Training hardware
NVIDIA H100 SXM5 80GB
Not listed
Confidence
Confident
Confident

Notes

Parameters
Total parameters: 20.91B
Not listed
Training compute
"The training run for gpt-oss-120b required 2.1 million H100-hours to complete, with gpt-oss-20b needing almost 10x fewer" assuming "almost 10x fewer" means ~9x fewer: 4.94e24/9 = 5.49e23
Not listed
Dataset size
(pretraining FLOPs)/(6*3.6B active parameters)
Not listed

Which should you pick?

High-volume or budget workloads
gpt-oss-20b · Lowest list price: $0.018 in and $0.09 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
Qwen3.7-Max · 1M tokens of context, 7.6× more than gpt-oss-20b.
Self-hosting or fine-tuning
gpt-oss-20b · Open weights: you can download them and run them on your own GPUs.

Questions people ask

Is gpt-oss-20b better than Qwen3.7-Max?

It depends on the job. For high-volume or budget workloads, gpt-oss-20b has the edge: lowest list price: $0.018 in and $0.09 out per million tokens via Hugging Face. For long documents, codebases or transcripts, Qwen3.7-Max has the edge: 1M tokens of context, 7.6× more than gpt-oss-20b. For self-hosting or fine-tuning, gpt-oss-20b has the edge: open weights: you can download them and run them on your own GPUs. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: gpt-oss-20b or Qwen3.7-Max?

gpt-oss-20b: $0.018 in and $0.09 out per million tokens at Hugging Face. Qwen3.7-Max starts at $1.48 in and $4.42 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

Qwen3.7-Max, with 1M tokens; gpt-oss-20b takes 131K. A larger window lets one request hold longer documents or conversations.

Where can I use gpt-oss-20b and Qwen3.7-Max through one API?

DeepInfra and OpenRouter serve all of them, so you can switch models without opening another account.

When were they released?

gpt-oss-20b in August 2025 and Qwen3.7-Max in May 2026.

Other comparisons