PriceIndex

Models, measured side by side

Phi-4 vs Qwen3 Coder 30B A3B Instruct

Compare Phi-4, Qwen3 Coder 30B A3B Instruct by token pricing, context length, benchmark results, speed and tool support.

Monthly workload

Monthly cost breakdown

InputOutput

Phi-4

$2.10 / mo

Qwen3 Coder 30B A3B Instruct

$2.80 / mo

Performance comparison

Phi-4

5.9

Qwen3 Coder 30B A3B Instruct

9.6

Overview

Released
Phi-4
2024-12
Qwen3 Coder 30B A3B Instruct
2025-07-31
Status
Phi-4
Active
Qwen3 Coder 30B A3B Instruct
Active
Input formats
Phi-4
text
Qwen3 Coder 30B A3B Instruct
text
Output formats
Phi-4
text
Qwen3 Coder 30B A3B Instruct
text

Pricing & capacity

Input / 1M tokens
Phi-4
$0.07
Qwen3 Coder 30B A3B Instruct
$0.07
Output / 1M tokens
Phi-4
$0.14
Qwen3 Coder 30B A3B Instruct
$0.28
Monthly cost
Phi-4
$2.10
Qwen3 Coder 30B A3B Instruct
$2.80
Context window
Phi-4
16K
Qwen3 Coder 30B A3B Instruct
262K
Maximum output
Phi-4
15K
Qwen3 Coder 30B A3B Instruct
236K

Benchmarks & performance

Arena Elo
Phi-4
1,123
Qwen3 Coder 30B A3B Instruct
Not listed
MMLU-Pro
Phi-4
60.7%
Qwen3 Coder 30B A3B Instruct
Not listed
Intelligence Index
Phi-4
5.9
Qwen3 Coder 30B A3B Instruct
9.6
GPQA
Phi-4
57.5%
Qwen3 Coder 30B A3B Instruct
51.6%
Humanity’s Last Exam
Phi-4
3.8%
Qwen3 Coder 30B A3B Instruct
3.8%
Output speed
Phi-4
39 tokens/s
Qwen3 Coder 30B A3B Instruct
87 tokens/s
Time to first token
Phi-4
2.59 s
Qwen3 Coder 30B A3B Instruct
2.65 s

Tools & features

Function calling
Phi-4
Not listed
Qwen3 Coder 30B A3B Instruct
Supported
Structured outputs
Phi-4
Supported
Qwen3 Coder 30B A3B Instruct
Supported
JSON mode
Phi-4
Supported
Qwen3 Coder 30B A3B Instruct
Supported
Log probabilities
Phi-4
Not listed
Qwen3 Coder 30B A3B Instruct
Supported
Deterministic seed
Phi-4
Supported
Qwen3 Coder 30B A3B Instruct
Supported

API & availability

API identifier
Phi-4
phi-4
Qwen3 Coder 30B A3B Instruct
qwen3-coder-30b-a3b-instruct
API providers
Phi-4
DeepInfra
Qwen3 Coder 30B A3B Instruct
Not listed
Knowledge cutoff
Phi-4
2024-06-30
Qwen3 Coder 30B A3B Instruct
2025-06-30
Prices checked
Phi-4
Oct 8, 2026
Qwen3 Coder 30B A3B Instruct
Oct 8, 2026

About the models

Phi-4

14B small language model, great for edge and cheap tasks.

Full pricing & details

Qwen3 Coder 30B A3B Instruct

Qwen3-Coder-30B-A3B-Instruct is a 30.5B parameter Mixture-of-Experts (MoE) model with 128 experts (8 active per forward pass), designed for advanced code generation, repository-scale understanding, and agentic tool use. Built on the...

Full pricing & details

Comparison FAQ

Phi-4: $0.07 input and $0.14 output per million tokens. Qwen3 Coder 30B A3B Instruct: $0.07 input and $0.28 output per million tokens. The cheaper choice depends on your input-to-output ratio; a model can have a lower input rate but a higher output rate.

Popular model comparisons