Skip to content
llmmodels

GPT-5 Mini vs Qwen3-Coder 30B-A3B Instruct

Which is better, GPT-5 Mini or Qwen3-Coder 30B-A3B Instruct?

GPT-5 Mini is about 1.3× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 256K). Qwen3-Coder 30B-A3B Instruct has open weights, so you can self-host and fine-tune it; GPT-5 Mini is API-only.

SpecGPT-5 MiniQwen3-Coder 30B-A3B Instruct
ProviderOpenAIAlibaba (Qwen)
ReleasedAug 7, 2025 (better)Apr 2025
TypeReasoning LLMReasoning LLM
Parameters—31B
Context window400K (better)256K
Max output125K (better)64K
Input price / 1M$0.25 (better)$0.45
Output price / 1M$2 (better)$2.25
Input modalitiestext, image, file (better)text
Open weightsNoYes
LicenseProprietaryapache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers37 (better)18
Epoch Capabilities Index146.0—
GPQA Diamond75.0%—
Humanity's Last Exam19.4%—
SWE-bench Verified64.7%—
Terminal-Bench34.8%—
OTIS Mock AIME86.7%—
MATH Level 597.8%—
FrontierMath46.7%—
ARC-AGI-24.4%—
SimpleQA Verified21.6%—

Cost example

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

About GPT-5 Mini

GPT-5 Mini is a proprietary reasoning llm from OpenAI, released Aug 7, 2025. It has a 400K-token context window and accepts text, image, file input. API pricing starts at $0.25 per million input tokens and $2 per million output tokens. It is available from 37 API providers. It scores 146.0 on the Epoch Capabilities Index. Full GPT-5 Mini 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

More from OpenAI and Alibaba (Qwen) · Categories: visual-based llms (vision & multimodal), reasoning & thinking llms, agentic & tool-calling llms, multilingual llms

FAQ

Which is better, GPT-5 Mini or Qwen3-Coder 30B-A3B Instruct?

GPT-5 Mini is about 1.3× cheaper on a blended (3:1 input:output) token price. GPT-5 Mini has the larger context window (400K vs 256K). Qwen3-Coder 30B-A3B Instruct has open weights, so you can self-host and fine-tune it; GPT-5 Mini is API-only.

Is GPT-5 Mini cheaper than Qwen3-Coder 30B-A3B Instruct?

GPT-5 Mini costs $0.25 input / $2 output per 1M tokens; Qwen3-Coder 30B-A3B Instruct costs $0.45 / $2.25. GPT-5 Mini is cheaper overall.

Which has a bigger context window?

GPT-5 Mini: 400,000 tokens. Qwen3-Coder 30B-A3B Instruct: 262,144 tokens.

Are GPT-5 Mini and Qwen3-Coder 30B-A3B Instruct open source?

GPT-5 Mini is proprietary; Qwen3-Coder 30B-A3B Instruct is open-weight.