Skip to content
llmmodels

Magistral Small 1.2 vs Qwen3-Coder 30B-A3B Instruct

Magistral Small 1.2 is about 1.2× cheaper on a blended (3:1 input:output) token price. Qwen3-Coder 30B-A3B Instruct has the larger context window (256K vs 125K).

SpecMagistral Small 1.2Qwen3-Coder 30B-A3B Instruct
ProviderMistral AIAlibaba (Qwen)
ReleasedSep 18, 2025 (better)Apr 2025
TypeReasoning LLMReasoning LLM
Parameters24B31B
Context window125K256K (better)
Max output40K64K (better)
Input price / 1M$0.5$0.45 (better)
Output price / 1M$1.50 (better)$2.25
Input modalitiestext, image (better)text
Open weightsYesYes
LicenseOpen (permissive)apache-2.0
Reasoning modeYesYes
Tool callingYesYes
API providers118 (better)
GPQA Diamond47.6%—
OTIS Mock AIME28.1%—

Cost example

For a workload of 10M input + 2M output tokens per month: Magistral Small 1.2 costs $8.00 and Qwen3-Coder 30B-A3B Instruct costs $9.00 at list price (amazon-bedrock / alibaba pricing).

About Magistral Small 1.2

Magistral Small 1.2 is an open-weight reasoning llm from Mistral AI, released Sep 18, 2025. It has 24B parameters, a 125K-token context window and accepts text, image input. API pricing starts at $0.5 per million input tokens and $1.50 per million output tokens. Full Magistral Small 1.2 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, Magistral Small 1.2 or Qwen3-Coder 30B-A3B Instruct?

Magistral Small 1.2 is about 1.2× cheaper on a blended (3:1 input:output) token price. Qwen3-Coder 30B-A3B Instruct has the larger context window (256K vs 125K).

Is Magistral Small 1.2 cheaper than Qwen3-Coder 30B-A3B Instruct?

Magistral Small 1.2 costs $0.5 input / $1.50 output per 1M tokens; Qwen3-Coder 30B-A3B Instruct costs $0.45 / $2.25. Magistral Small 1.2 is cheaper overall.

Which has a bigger context window?

Magistral Small 1.2: 128,000 tokens. Qwen3-Coder 30B-A3B Instruct: 262,144 tokens.

Are Magistral Small 1.2 and Qwen3-Coder 30B-A3B Instruct open source?

Magistral Small 1.2 is open-weight; Qwen3-Coder 30B-A3B Instruct is open-weight.