Phi 4 Mini Instruct

Phi 4 Mini Instruct is a text model from Weights & Biases with a context window of 128K tokens and max output of 128K tokens. Pricing starts at 0.01 per million input tokens and 0.04 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 Keywandb/microsoft/Phi-4-mini-instruct
ProviderWeights & Biases
Provider IDwandb
ModeText
Canonical Namephi-mini-4
Context Window128K tokens
Max Output128K tokens

Pricing

TypePer 1K TokensPer 1M Tokens
Input Tokens0.0000080.0080
Output Tokens0.0000350.035

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