Phi 4 Mini Instruct

Phi 4 Mini Instruct is a text model from Azure AI with a context window of 131K tokens and max output of 4K tokens. Pricing starts at 0.07 per million input tokens and 0.30 per million output tokens (cheapest at Azure AI).

Capabilities

Vision Function Calling Reasoning JSON Schema System Messages Web Search Prompt Caching Audio Input Audio Output

Specifications

Model Keyazure_ai/Phi-4-mini-instruct
ProviderAzure AI
Provider IDazure_ai
ModeText
Canonical Namephi-mini-4
Context Window131K tokens
Max Output4K tokens

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens0.0000750.075
Output Tokens0.0003000.300

Benchmarks

Intelligence Index8.4#211
Coding Index3.6#162
Math Index6.7#125
MMLU-Pro0.5#168
GPQA0.3#189
HLE0.0#161
LiveCodeBench0.1#166
AIME0.0#113
IFBench0.2#168
Time to First Token0.31s#87
SciCode0.1#195
MATH-5000.7#95
AIME 20250.1#125
LCR0.1#122
TerminalBench Hard0.0#148
TAU20.1#152

Price Comparison by Provider

Compare prices for Phi 4 Mini Instruct across different providers. The same model may be available through multiple providers at different price points.

Provider
Model Key
Input Price, $
Output Price, $
Weights & Biaseswandb/microsoft/Phi-4-mini-instruct0.00800.035
Azure AIazure_ai/Phi-4-mini-instruct0.0750.300

All Variants

All available versions, regions, and API endpoints for Phi 4 Mini Instruct.

Model Key
Provider
Mode
Input Price, $
Output Price, $
Context
Max Output
Vision
Functions
azure_ai/Phi-4-mini-instructAzure AIText0.0750.300131K4Knoyes
wandb/microsoft/Phi-4-mini-instructWeights & BiasesText0.00800.035128K128Knono