ZMIME
Microsoft · Released Apr 30, 2025

Phi-4-reasoning

Open-weight 14B Microsoft reasoning model fine-tuned from Phi-4 for math, science, and coding.

  • Open weights
  • Reasoning
Capability
—No ECI score yet
Input
$0.125per 1M tokens
Output
$0.50per 1M tokens
Context
33K33K max output
Pricing

What it costs

Input
$0.125per million tokens
Output
$0.50per million tokens
Blended (3:1)
$0.219cheaper than 74% of priced models

Typical monthly bills

Monthly usageEstimated cost
Side project2M input + 0.5M output tokens$0.50
Team assistant25M input + 5M output tokens$5.63
Production app250M input + 50M output tokens$56.25

Official Azure API price, as listed on models.dev.

Capability

Independent benchmarks

Epoch AI has not published a Capabilities Index score for Phi-4-reasoning yet.

Specifications

The details

Lab
Microsoft
Task
Text reasoning and coding
Published capabilities
Fine-tuned from Phi-4 on reasoning traces, with a focus on mathematics, science and code.
Model size
14B parameters
Access
Public Microsoft weights and tokenizer for compatible inference runtimes.
Operating limits
Text only. Long reasoning traces consume the context budget and can increase inference time.
Released
Apr 30, 2025
Knowledge cutoff
Mar 2025
Context window
32,768 tokens
Max output
32,768 tokens
Inputs
Text
Output
Text
Reasoning
Always on
Tool calling
No
Structured output
Unconfirmed
File attachments
No
Temperature control
Yes
API model ID
phi-4-reasoningon Azure
Availability
2 API providerslisted on models.dev

Azure model documentation

Same lab

More from Microsoft

Questions

About Phi-4-reasoning

How much does Phi-4-reasoning cost?

Phi-4-reasoning costs $0.125 input / $0.50 output per million tokens (official Azure API price). At a 3:1 input-to-output mix that is $0.219 per million tokens, cheaper than 74% of the 495 priced models we track.

What is the context window of Phi-4-reasoning?

Phi-4-reasoning accepts up to 32,768 tokens per request and can write up to 32,768 tokens in one response.

How good is Phi-4-reasoning?

Epoch AI has not published a Capabilities Index score for Phi-4-reasoning yet.

Is Phi-4-reasoning open source?

Yes. Microsoft publishes the weights under the MIT licence, so it can be downloaded and self-hosted.

What inputs does Phi-4-reasoning support?

Phi-4-reasoning accepts text. Fine-tuned from Phi-4 on reasoning traces, with a focus on mathematics, science and code.

When was Phi-4-reasoning released?

Microsoft released Phi-4-reasoning on Apr 30, 2025. Its training data runs to Mar 2025.

What are the best alternatives to Phi-4-reasoning?

The closest current models from other labs on capability, price and release date are Solar Pro 2 (Upstage, $0.25 / $0.25), Qwen3-Coder 30B-A3B Instruct (Alibaba (Qwen), $0.115 / $0.60), Gemini 2.5 Flash-Lite (Google, $0.10 / $0.40) and Palmyra Vision 7B (Writer, $0.15 / $0.60).