Microsoft logo

Phi-4 Mini Instruct


Phi-4 Mini Instruct is Microsoft logoMicrosoft's language model with a 131K context window and up to 4K output tokens, starting at $0.075 / 1M input and $0.300 / 1M output. An instruction-tuned mini model from the Phi-4 family, optimized for efficient chat and reasoning tasks with a reduced parameter count suitable for edge and mobile deployment.
Spec
Canonical IDmicrosoft-phi-4-mini-instruct
TypeLanguage
StatusActive
CreatorMicrosoftMicrosoft
Providers
Context Window131K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities1/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs·
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

ProviderStandard
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
Phi-4-mini-instruct
$0.075$0.300

Regional pricing

Provider-specific pricing that varies by region.
Azure AI Foundry logo
Azure AI Foundry
11 regions
RegionStandard
Input
$ / 1M
Output
$ / 1M
Global
Global$0.075$0.300
Europe
Sweden Central (Gävle)/ swedencentral$0.075$0.300
US
Central US (Iowa)/ centralus$0.075$0.300
East US (Virginia)/ eastus$0.075$0.300
East US 2 (Virginia)/ eastus2$0.075$0.300
North Central US (Illinois)/ northcentralus$0.075$0.300
South Central US (Texas)/ southcentralus$0.075$0.300
West Central US (Wyoming)/ westcentralus$0.075$0.300
West US (California)/ westus$0.075$0.300
West US 2 (Washington)/ westus2$0.075$0.300
West US 3 (Phoenix)/ westus3$0.075$0.300

Cost Calculator

Preset:
Compares every provider & tier in USD

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Phi-4 Mini Instruct131K$0.075$0.300Current
Phi-4 Mini Reasoning131K$0.080$0.320Available
Phi-3.5 Mini Instruct128K$0.130$0.520Available
Phi-3 Mini Instruct131K$0.100$0.100Available

Other models

ModelTierReleasedContextInput / 1MOutput / 1M
Phi-416K$0.065$0.140
Phi-4 Multimodal Instruct131K$0.080$0.320
Phi-4 Reasoning33K$0.125$0.500
Phi-3.5 MoE Instruct128K$0.160$0.640
Phi-3.5 Vision Instruct128K$0.130$0.520
Phi-3
Phi-3 Vision 128K Instruct32K$0.200$0.200
Phi-3 Vision Instruct32K
Phi-3 Medium InstructMedium128K$0.170$0.680
Phi-3 Small InstructSmall128K$0.150$0.600

Model IDs