Phi-4 Mini Instruct is Microsoft's language model with a 131K context window and up to 4K output tokens, available from 2 providers, starting at $0.075 / 1M input and $0.3 / 1M output. An instruction-tuned variant of the compact Phi-4 Mini model, designed for efficient chat and reasoning applications.
Specifications
Canonical IDmicrosoft-phi-4-mini-instruct
TypeLanguage
StatusActive
CreatorMicrosoftMicrosoft
Providers
Context Window131K tokens
Max Output4K tokens
Input ModalitiesText
Output ModalitiesText
Parameters3.84B
HuggingFace Likes735
HuggingFace Downloads (30d)1,547,135
HuggingFace Downloads (all-time)5,787,075
Release Date · 9 months ago

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities3/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

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Azure AI Foundry logo
Azure AI Foundry
azure_ai/Phi-4-mini-instruct
$0.075$0.3
Weights & Biases logo
Weights & Biases
wandb/microsoft/Phi-4-mini-instruct
$8.00$35.00

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Phi-4 Mini Instruct, ranked by cheapest on-demand price. The model needs about 9 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_NV4as_v4AzureAMD Radeon Instinct MI2516 GB$0.233/hrwestus2
g5g.xlargeAWST4g16 GB$0.420/hrus-east-1
Standard_NV8as_v4AzureAMD Radeon Instinct MI2516 GB$0.466/hrwestus2
7 more instances can run Phi-4 Mini Instruct
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

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

Other Models

ModelTierReleasedContextInput / 1MOutput / 1M
Phi-416K$0.070$0.140
Phi-4 Multimodal
Phi-4 Eagle
Phi-4 Multimodal Instruct131K$0.080$0.320
Phi-4 Reasoning33K$0.125$0.500
Phi-4 Reasoning Plus
Phi-3
Phi-3 Medium Instruct128K$0.170$0.680
Phi-3 Small Instruct128K$0.150$0.600
Phi-3 Vision Instruct32K$0.200$0.200

Model IDs

azure_ai/Phi-4-mini-instruct
huggingface-llm-phi-4-mini-instruct
microsoft-phi-4-mini-instruct
microsoft/phi-4-mini-instruct
wandb/microsoft/Phi-4-mini-instruct