Skip to content
llmmodels

GPT OSS 20B vs Qwen3-Coder 30B-A3B Instruct

GPT OSS 20B is about 7× cheaper on a blended (3:1 input:output) token price. Qwen3-Coder 30B-A3B Instruct has the larger context window (256K vs 128K).

SpecGPT OSS 20BQwen3-Coder 30B-A3B Instruct
ProviderOpenAIAlibaba (Qwen)
ReleasedAug 5, 2025 (better)Apr 2025
TypeReasoning LLMReasoning LLM
Parameters21B31B
Context window128K256K (better)
Max output64K64K
Input price / 1M$0.075 (better)$0.45
Output price / 1M$0.3 (better)$2.25
Input modalitiestexttext
Open weightsYesYes
Licenseapache-2.0apache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers44 (better)18
Epoch Capabilities Index134.9—
GPQA Diamond60.8%—
Terminal-Bench3.4%—
OTIS Mock AIME65.3%—

Cost example

For a workload of 10M input + 2M output tokens per month: GPT OSS 20B costs $1.35 and Qwen3-Coder 30B-A3B Instruct costs $9.00 at list price (openrouter / alibaba pricing).

About GPT OSS 20B

GPT OSS 20B is an open-weight reasoning llm from OpenAI, released Aug 5, 2025. It has 21B parameters and a 128K-token context window. API pricing starts at $0.075 per million input tokens and $0.3 per million output tokens. It is available from 44 API providers. It scores 134.9 on the Epoch Capabilities Index. Full GPT OSS 20B specs →

About Qwen3-Coder 30B-A3B Instruct

Qwen3-Coder 30B-A3B Instruct is an open-weight reasoning llm from Alibaba (Qwen), released Apr 2025. It has 31B total parameters (3B active per token, mixture-of-experts) and a 256K-token context window. API pricing starts at $0.45 per million input tokens and $2.25 per million output tokens. It is available from 18 API providers. Full Qwen3-Coder 30B-A3B Instruct specs →

Compare other models

FAQ

Which is better, GPT OSS 20B or Qwen3-Coder 30B-A3B Instruct?

GPT OSS 20B is about 7× cheaper on a blended (3:1 input:output) token price. Qwen3-Coder 30B-A3B Instruct has the larger context window (256K vs 128K).

Is GPT OSS 20B cheaper than Qwen3-Coder 30B-A3B Instruct?

GPT OSS 20B costs $0.075 input / $0.3 output per 1M tokens; Qwen3-Coder 30B-A3B Instruct costs $0.45 / $2.25. GPT OSS 20B is cheaper overall.

Which has a bigger context window?

GPT OSS 20B: 131,072 tokens. Qwen3-Coder 30B-A3B Instruct: 262,144 tokens.

Are GPT OSS 20B and Qwen3-Coder 30B-A3B Instruct open source?

GPT OSS 20B is open-weight; Qwen3-Coder 30B-A3B Instruct is open-weight.