Phi-4: price on every cloud
Open weights · 14 billion parameters · 16,384-token context · licence mit
Per token, by cloud
| Cloud | Input, per 1M tokens | Output, per 1M tokens | Cheapest region |
|---|---|---|---|
| DeepInfra | $0.07 | $0.14 | global |
| Azure | $0.075 | $0.30 | centralus · 13 regions |
| Alibaba Cloud | — | — | not sold per token |
| Anthropic | — | — | not sold per token |
| AWS | — | — | not sold per token |
| Cloudflare | — | — | not sold per token |
| Core42 | — | — | not sold per token |
| Crusoe | — | — | not sold per token |
| Databricks | — | — | not sold per token |
| Fireworks AI | — | — | not sold per token |
| Gemini API | — | — | not sold per token |
| Google Cloud | — | — | not sold per token |
| Groq | — | — | not sold per token |
| HF Endpoints | — | — | not sold per token |
| Huawei Cloud | — | — | not sold per token |
| IBM watsonx | — | — | not sold per token |
| Mistral | — | — | not sold per token |
| Nebius | — | — | not sold per token |
| OCI | — | — | not sold per token |
| OpenAI | — | — | not sold per token |
| Snowflake | — | — | not sold per token |
| Telnyx | — | — | not sold per token |
| Together AI | — | — | not sold per token |
| xAI | — | — | not sold per token |
Run it yourself
It needs 36.6 GB of GPU memory at bf16, the precision it ships in.
| Cloud | Cheapest instance that fits | GPUs | An hour | A month, around the clock |
|---|---|---|---|---|
| DeepInfra | a100.1x | 1 × A100 80 GB | $1.49 | $1,088 |
| Crusoe | l40s.1x | 1 × L40S 48 GB | $1.50 | $1,095 |
| Nebius | gpu-l40s-a.1gpu-8vcpu-32gb | 1 × L40S 48 GB | $1.55 | $1,130 |
| HF Endpoints | aws.nvidia-l40s.x1 | 1 × L40S 48 GB | $1.80 | $1,314 |
| AWS | g6e.xlarge | 1 × L40S 48 GB | $1.86 | $1,359 |
| Alibaba Cloud | ecs.gn8is.2xlarge | 1 × L20 48 GB | $2.26 | $1,648 |
| Core42 | h100.1x | 1 × H100 80 GB | $2.50 | $1,825 |
| Azure | Standard_NC72ds_xl_RTXPRO6000BSE_v6 | 1 × RTX PRO 6000 48 GB | $2.83 | $2,066 |
| Google Cloud | a2-highgpu-1g | 1 × A100 40 GB | $3.67 | $2,682 |
| IBM watsonx | deploy-on-demand.1xL40S | 1 × L40S 48 GB | $4.43 | $3,234 |
| Fireworks AI | h100.1x | 1 × H100 80 GB | $8.00 | $5,840 |
| OCI | BM.GPU.L40S.4 | 4 × L40S 48 GB | $14.00 | $10,220 |
| Together AI | hgx-h100.8gpu | 8 × H100 80 GB | $31.92 | $23,302 |
At the cheapest per-token price, running it on DeepInfra a100.1x pays off above roughly 12.4 billion tokens a month.
More from Microsoft
- Phi-3-mini-4k-instruct
- Phi-4-mini-instruct
- Phi-3.5-mini-instruct
- Phi-3-mini-128k-instruct
- Phi-3.5-vision-instruct
- phi-2
Similar size, open weights
Inside the UAE: no cloud sells it in-country.
List prices collected 21 November 2026, refreshed every three hours. No negotiated rates or taxes.