Microsoft

Phi-4-mini-reasoning

Generally availableOpen weights128K contextReasoning

Summary

Phi-4-mini-reasoning is an open-weight language model from Microsoft, released on 30 Apr 2025. It accepts text and generates text, with a 128K-token context window and up to 128K output tokens per response. As of 3 Dec 2026, the lowest listed API price is $0.07 per million input tokens and $0.30 per million output tokens (Azure AI Foundry), across 1 provider we track.

Compact 3.8B Microsoft reasoning model for step-by-step math problem solving on constrained hardware

Last verified 3 Dec 2026. Every figure on this page links to its source.

Specifications

DeveloperMicrosoft
Release date30 Apr 2025 [models.dev]
StatusGenerally available [models.dev]
WeightsOpen weights [models.dev]
Context window128K (128,000 tokens) [models.dev]
Max output128K tokens [models.dev]
Knowledge cutoffFeb 2025 [models.dev]
InputText [models.dev]
OutputText [models.dev]
Reasoning modeYes [models.dev]
Tool callingNo [models.dev]

Phi-4-mini-reasoning API pricing by provider

USD per million tokens. Sorted by input price.

ProviderInputOutputCached inputContextSource
Azure AI Foundry
phi-4-mini-reasoning
$0.07$0.30–128Kmodels.dev, 3 Dec 2026

Frequently asked questions

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

Phi-4-mini-reasoning has a context window of 128,000 tokens (128K) and can generate up to 128,000 tokens in a single response, according to models.dev.

How much does the Phi-4-mini-reasoning API cost?

Phi-4-mini-reasoning is listed from $0.07 per million input tokens and $0.30 per million output tokens (Azure AI Foundry). Prices last verified 3 Dec 2026.

Is Phi-4-mini-reasoning open source?

Phi-4-mini-reasoning is an open-weight model. Check the license terms before commercial use.

When was Phi-4-mini-reasoning released?

Microsoft released Phi-4-mini-reasoning on 30 Apr 2025, according to models.dev.

Similar models from other labs

Comparable on output type, weights, release date, price and context window. Prices are the lowest listed, USD per million tokens.

ModelLabReleasedContextInput $/1MOutput $/1MWeights
Qwen 3.32BAlibaba (Qwen)28 Apr 2025128K$0.08$0.28Open
Llama-4-Scout-17B-16E-Instruct-FP8Meta5 Apr 2025128K$0.10$0.30Open
UI-TARS 1.5 7BByteDance Seed16 Apr 2025128K$0.10$0.20Open
Llama Guard 4 12BMeta29 Apr 2025164K$0.18$0.18Open
Mistral Small 3.1 24B InstructMistral AI17 Mar 2025128K$0.10$0.30Open
GLM-4-32B-0414-128KZhipu AI (Z.ai)14 Apr 2025128K$0.10$0.10Open

Change history

  • Added to the directory
  • Now listed on Azure AI Foundry

Sources