Phi-4 is
Microsoft's language model with a 16K context window and up to 16K output tokens, available from 3 providers, starting at $0.065 / 1M input and $0.140 / 1M output. A 14B-parameter language model from Microsoft Research in the Phi-4 series, excelling at complex reasoning tasks while operating efficiently in memory-constrained environments.
8.4#304 |
3.6#246 |
6.7#177 |
0.5#224 |
0.3#290 |
0.0#253 |
0.1#224 |
0.0#128 |
0.2#262 |
1.79s#291 |
0.1#276 |
0.7#104 |
0.1#177 |
0.0#258 |
0.0#255 |
0.0#262 |
16.5#198 |
Capabilities
Input1/5
✓
·
·
·
·
Output1/5
✓
·
·
·
·
Capabilities1/13
·
·
✓
·
·
·
·
·
·
·
·
·
·
Pricing by Provider
| Provider | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
OpenRouter | $0.065 | $0.140 |
DeepInfra | $0.070 | $0.140 |
Azure AI Foundry | $0.125 | $0.500 |
Regional pricing
Provider-specific pricing that varies by region.
Azure AI Foundry
11 regions
| Region | Standard | |
|---|---|---|
| Input $ / 1M | Output $ / 1M | |
| Global | ||
| Global | $0.125 | $0.500 |
| Europe | ||
| Sweden Central (Gävle)/ swedencentral | $0.125 | $0.500 |
| US | ||
| Central US (Iowa)/ centralus | $0.125 | $0.500 |
| East US (Virginia)/ eastus | $0.125 | $0.500 |
| East US 2 (Virginia)/ eastus2 | $0.125 | $0.500 |
| North Central US (Illinois)/ northcentralus | $0.125 | $0.500 |
| South Central US (Texas)/ southcentralus | $0.125 | $0.500 |
| West Central US (Wyoming)/ westcentralus | $0.125 | $0.500 |
| West US (California)/ westus | $0.125 | $0.500 |
| West US 2 (Washington)/ westus2 | $0.125 | $0.500 |
| West US 3 (Phoenix)/ westus3 | $0.125 | $0.500 |
Cost Calculator
Preset:
Compares every provider & tier in USD
Versions
| Version | Released | Context | Input / 1M | Output / 1M | Status |
|---|---|---|---|---|---|
| Phi-4 | 16K | $0.065 | $0.140 | Current | |
| Phi-4 Mini Instruct | — | 131K | $0.075 | $0.300 | Available |
| Phi-4 Mini Reasoning | — | 131K | $0.080 | $0.320 | Available |
| Phi-4 Multimodal Instruct | — | 131K | $0.080 | $0.320 | Available |
| Phi-4 Reasoning | — | 33K | $0.125 | $0.500 | Available |
| Phi-3.5 Mini Instruct | — | 128K | $0.130 | $0.520 | Available |
| Phi-3.5 MoE Instruct | — | 128K | $0.160 | $0.640 | Available |
| Phi-3.5 Vision Instruct | — | 128K | $0.130 | $0.520 | Available |
| Phi-3 | — | — | — | — | Available |
| Phi-3 Medium Instruct | — | 128K | $0.170 | $0.680 | Available |
| Phi-3 Mini Instruct | — | 131K | $0.100 | $0.100 | Available |