Phi-4-reasoning vs Qwen3-Coder 30B-A3B Instruct
No independent capability benchmark covers every model here yet. The score uses price and context window.No independent capability benchmark covers every model here yet. The score uses context window.
Microsoft
Phi-4-reasoning
59/100- ECI—
- Price$0.125 / $0.50
- Context33K
Alibaba (Qwen)
Qwen3-Coder 30B-A3B Instruct
67/100- ECI—
- Price$0.115 / $0.60
- Context262K
Microsoft
Phi-4-reasoning
11/100- ECI—
- Price$0.125 / $0.50
- Context33K
Alibaba (Qwen)
Qwen3-Coder 30B-A3B Instruct
43/100- ECI—
- Price$0.115 / $0.60
- Context262K
Add a model
Make it a three-way comparison.
Capability evidence is incomplete
There is not enough shared capability evidence to name an overall winner. The scores (Qwen3-Coder 30B-A3B Instruct 67/100, Phi-4-reasoning 59/100) compare the available specifications and price. The score weighs price 71%, context window 29%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (Qwen3-Coder 30B-A3B Instruct 43/100, Phi-4-reasoning 11/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
- CapabilityNot enough dataNo independent benchmark covers every model here yet
- Lowest pricePhi-4-reasoningPhi-4-reasoning $0.219 · Qwen3-Coder 30B-A3B Instruct $0.236 per 1M tokens (3:1 blend)
- Longest contextQwen3-Coder 30B-A3B InstructQwen3-Coder 30B-A3B Instruct 262,144 · Phi-4-reasoning 32,768 tokens
- Widest inputsSame inputsPhi-4-reasoning: Text · Qwen3-Coder 30B-A3B Instruct: Text
- Self-hostingAll open weightsEvery model here can be downloaded and run on your own hardware
| Measure | Weight | Phi-4-reasoning | Qwen3-Coder 30B-A3B Instruct |
|---|---|---|---|
| Price | 71% | 78 | 77 |
| Context window | 29% | 11 | 43 |
| Specs & price only | 100% | 59/100 | 67/100 |
Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.
| Measure | Weight | Phi-4-reasoning | Qwen3-Coder 30B-A3B Instruct |
|---|---|---|---|
| Context window | 100% | 11 | 43 |
| Specs only | 100% | 11/100 | 43/100 |
Left out because at least one model lacks the data: capability and inputs & features. The remaining weights were rescaled.
Every spec in one table
Highlighted cells lead their row. Unavailable specifications are marked “Not published”. Publisher results include their evaluation settings and source.
| Specification | ||
|---|---|---|
| Task | Text reasoning and coding | Not published |
| Published capabilities | Fine-tuned from Phi-4 on reasoning traces, with a focus on mathematics, science and code. | Smaller Qwen coder for efficient local agents and repo-level fixes |
| Model size | 14B parameters | Not published |
| Access | Public Microsoft weights and tokenizer for compatible inference runtimes. | Not published |
| Operating limits | Text only. Long reasoning traces consume the context budget and can increase inference time. | Not published |
| Sources | Model weights · Additional documentation · Publisher documentation | Not published |
| Capability | ||
| Capabilities Index (ECI) | Not published | Not published |
| ECI rank | Not published | Not published |
| ECI confidence interval | Not published | Not published |
| ECI evaluation date | Not published | Not published |
| Documented capabilities | Fine-tuned from Phi-4 on reasoning traces, with a focus on mathematics, science and code. | Smaller Qwen coder for efficient local agents and repo-level fixes |
| Model parameters | 14B parameters | Not published |
| Output modalities | Text | Text |
| Publisher-reported benchmarks | ||
| Artificial Analysis Coding IndexPublisher-reported result | Not published | 19.4indexReported resultJun 2, 2026 |
| SciCodePublisher-reported result | Not published | 27.8percent correctReported resultJun 2, 2026 |
| Terminal-Bench HardPublisher-reported result | Not published | 15.2success rateReported resultJun 2, 2026 |
| Price per million tokens | ||
| Input | $0.125 | $0.115 (best) |
| Output | $0.50 (best) | $0.60 |
| Cached input | Not published | Not published |
| Blended (3:1) | $0.219 (best) | $0.236 |
| Long-context rate | Same rate | Same rate |
| Price source | Official Azure API | Median of 13 providers |
| Limits | ||
| Context window | 32,768 tokens | 262,144 tokens (best) |
| Max input | Not published | Not published |
| Max output | 32,768 tokens | 65,536 tokens (best) |
| Inputs and features | ||
| Text | Yes | Yes |
| Images | No | No |
| PDFs | No | No |
| Audio | No | No |
| Video | No | No |
| Reasoning | Yes | No |
| Tool calling | No | Yes |
| Structured output | Not published | Not published |
| File attachments | No | No |
| Temperature control | Yes | Yes |
| Reasoning control | always | Not published |
| Availability | ||
| Weights | OpenMIT | Open |
| API model ID | phi-4-reasoning | Not published |
| API providers | 2 | 16 (best) |
| Released | Apr 30, 2025 | Jul 31, 2025 |
| Knowledge cutoff | Mar 2025 | Apr 2025 |
| Publisher documentation | Model weights · Additional documentation · Publisher documentation | Model weights |
| Source metadata updated | Apr 30, 2025 | Jul 31, 2025 |
| Data sources | models.dev · Epoch AI | models.dev · Epoch AI |
| Catalog checked | Nov 30, 2026 | Nov 30, 2026 |
What would a month cost?
Enter your expected volume in millions of tokens. List prices only; caching and batch discounts would lower these.
Phi-4-reasoning$2.25
Qwen3-Coder 30B-A3B Instruct$2.35
Which should you choose?
Which is better: Phi-4-reasoning or Qwen3-Coder 30B-A3B Instruct?
There is not enough shared capability evidence to name an overall winner. The scores (Qwen3-Coder 30B-A3B Instruct 67/100, Phi-4-reasoning 59/100) compare the available specifications and price. The score weighs price 71%, context window 29%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.There is not enough shared capability evidence to name an overall winner. The scores (Qwen3-Coder 30B-A3B Instruct 43/100, Phi-4-reasoning 11/100) compare the available specifications only. The score weighs context window 100%. None of the shared benchmarks cover every model here yet, so capability is left out of this verdict.
Which is cheaper, Phi-4-reasoning or Qwen3-Coder 30B-A3B Instruct?
Phi-4-reasoning is cheaper at $0.125 input / $0.50 output per million tokens (official Azure API price). Qwen3-Coder 30B-A3B Instruct costs $0.115 input / $0.60 output per million tokens (median across 13 API providers). At a typical mix of three input tokens to one output token, that is $0.219 per million tokens for Phi-4-reasoning versus $0.236 for Qwen3-Coder 30B-A3B Instruct (1.1× as much).
Which scores higher on benchmarks?
There is no independent benchmark that covers both models yet. Phi-4-reasoning has not been scored yet and Qwen3-Coder 30B-A3B Instruct has not been scored yet.
Which is better for coding?
There are no published SWE-bench Verified results for Phi-4-reasoning and Qwen3-Coder 30B-A3B Instruct yet, so there is no like-for-like coding score. Test both on a sample of your own tasks. Note that Phi-4-reasoning has no confirmed tool-calling support in this comparison.
Which has the bigger context window?
Qwen3-Coder 30B-A3B Instruct has the largest context window at 262,144 tokens, against 32,768 for Phi-4-reasoning. Maximum output per response: Phi-4-reasoning up to 32,768, Qwen3-Coder 30B-A3B Instruct up to 65,536 tokens.
Which can read images, PDFs, audio or video?
Phi-4-reasoning accepts text; Qwen3-Coder 30B-A3B Instruct accepts text. They handle the same number of input types.
Are any of these open source?
Yes, both publish their weights (MIT), so you can self-host them.
Which is newer?
Qwen3-Coder 30B-A3B Instruct is the newest, released Jul 31, 2025. Phi-4-reasoning came out Apr 30, 2025. Knowledge cutoff: Phi-4-reasoning Mar 2025, Qwen3-Coder 30B-A3B Instruct Apr 2025.
How do you decide the winner?
This rating uses price (71%, blended price per million tokens (3 input : 1 output), log scale); context window (29%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 30, 2026.This rating uses context window (100%, maximum tokens per request, log scale). Dimensions missing for any model are dropped and the remaining weights rescaled, so every model is judged on the same evidence. Specs and prices come from public model listings and the labs’ own API pages; capability scores come from independent benchmark runs. Data updated Nov 30, 2026.