Phi 4 Reasoning

Microsoft phi-4-reasoning
Model Information
Slug phi-4-reasoning
LLM.txt View
Release Date April 30, 2025
AIME 2025 0.629
GPQA 0.658
Organization
Model Description
Phi-4-reasoning is a 14B parameter dense decoder-only transformer developed by Microsoft, fine-tuned from Phi-4 to enhance complex reasoning capabilities. It uses a combination of supervised fine-tuning on chain-of-thought traces and reinforcement learning, targeting math, science, and code reasoning tasks. With a 32k context window and high inference efficiency, it is optimized for structured responses in a two-part format: reasoning trace followed by a final solution.

The model achieves strong results on specialized benchmarks such as AIME, OmniMath, and LiveCodeBench, outperforming many larger models in structured reasoning tasks. It is released under the MIT license and intended for use in latency-constrained, English-only environments requiring reliable step-by-step logic. Recommended usage includes ChatML prompts and structured reasoning format for best results.
Available at 5 Providers
Provider Type Model Name Original Model Input ($/1M) Output ($/1M) Free Actions
GitHub Models
GitHub Models
Phi-4-Reasoning
microsoft/phi-4-reasoning $0.00 $0.00
Azure OpenAI
Azure OpenAI
Phi-4-reasoning
phi-4-reasoning $0.13 $0.50
Azure AI Services
Azure AI Services
Phi-4-reasoning
phi-4-reasoning $0.13 $0.50
Yupp
Yupp
Chat
Phi 4 Reasoning (Azure)
Phi-4-reasoning - -
Writingmate
Writingmate
Chat Code
Microsoft: Phi 4 Reasoning
microsoft/phi-4-reasoning - -