gpt-oss-120b vs Qwen 3.8 27B

gpt-oss-120b (OpenAI, August 2025) and Qwen 3.8 27B (Alibaba, August 2026), compared on price, context window, access and specs. gpt-oss-120b is the cheaper API at $0.03 in and $0.15 out per million tokens, about 6.1× less than Qwen 3.8 27B on a typical 3:1 input-to-output mix. Qwen 3.8 27B reads more at once: a 1M-token context window against 131K.

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

At a glance

Released
5 August 2025
14 August 2026
Access
Open weights (unrestricted)
Open weights (unrestricted)
Country
United States of America
China

Price and API

Input, per 1M tokens
$0.03on Hugging FaceLowest
$0.04on Hugging Face
Output, per 1M tokens
$0.15on Hugging FaceLowest
$1.35on Hugging Face
Context window
131K tokens
1M tokensLargest
Max output
131K tokens
131K tokens
Takes
Text
Text, Image
Returns
Text
Text
Knowledge cutoff
June 2024
Not listed
Supports
ReasoningTool callingStructured outputOpen weights
ReasoningTool callingStructured outputFile inputOpen weights

Scale and training

Parameters
117B116,830,000,000Largest
27B27,000,000,000
Training compute
4.9 × 10²⁴ FLOP
Not listed
Training hardware
NVIDIA H100 SXM5 80GB
Not listed
Confidence
Confident
Confident

Notes

Parameters
Total parameters: 116.83B
27B dense
Training compute
"The training run for gpt-oss-120b required 2.1 million H100-hours to complete" (2.1e6 hours)*(1,979 H100 FLOP/s)*(30% utilization)*(60*60) = 4.49e24 They also do post training similar to o3, which we assume adds at least 10% as much compute, so we multiply this estimate by 1.1 to get 4.94e24
Not listed
Dataset size
(pretraining FLOPs)/(6*5.1B active parameters)
Not listed

In their own words

Abstract
Not listed
We promised open weights for Qwen3.8. Now, time to meet them! 🎉 ⚡ Qwen3.8-27B: - A native multimodal dense model. With just 27B parameters, it outperforms Qwen3.7-Plus overall and shines in real-world coding & office workflows. - 262K native context, easily extendable to 1M tokens via YaRN. - Built for builders. Highly efficient, high-quality, and licensed under Apache 2.0. 🚀 The open weights for Qwen3.8-2.4T-A95B (Max-level) have also been released recently. Whether you're shipping lightweight applications with Qwen3.8-27B locally or building agents with Qwen3.8-2.4T-A95B, they're yours now! Read all

Which should you pick?

High-volume or budget workloads
gpt-oss-120b · Lowest list price: $0.03 in and $0.15 out per million tokens via Hugging Face.
Long documents, codebases or transcripts
Qwen 3.8 27B · 1M tokens of context, 7.6× more than gpt-oss-120b.
Reading images and screenshots
Qwen 3.8 27B · Accepts image input through the API.

Questions people ask

Is gpt-oss-120b better than Qwen 3.8 27B?

It depends on the job. For high-volume or budget workloads, gpt-oss-120b has the edge: lowest list price: $0.03 in and $0.15 out per million tokens via Hugging Face. For long documents, codebases or transcripts, Qwen 3.8 27B has the edge: 1M tokens of context, 7.6× more than gpt-oss-120b. For reading images and screenshots, Qwen 3.8 27B has the edge: accepts image input through the API. Try them on your own prompts in the AIPortalX playground before you commit.

Which is cheaper: gpt-oss-120b or Qwen 3.8 27B?

gpt-oss-120b: $0.03 in and $0.15 out per million tokens at Hugging Face. Qwen 3.8 27B starts at $0.04 in and $1.35 out per million tokens. These are list prices from the cheapest provider we track, and they change often.

Which has the bigger context window?

Qwen 3.8 27B, with 1M tokens; gpt-oss-120b takes 131K. A larger window lets one request hold longer documents or conversations.

Where can I use gpt-oss-120b and Qwen 3.8 27B through one API?

Hugging Face, DeepInfra, OpenRouter and Nebius AI Studio serve all of them, so you can switch models without opening another account.

When were they released?

gpt-oss-120b in August 2025 and Qwen 3.8 27B in August 2026.

Other comparisons