LLM Opex

Models

Phi-4: price on every cloud

Open weights · 14 billion parameters · 16,384-token context · licence mit

Per token, by cloud

US dollars per million tokens, each cloud's cheapest region.
CloudInput, per 1M tokensOutput, per 1M tokensCheapest region
DeepInfra$0.07$0.14global
Azure$0.075$0.30centralus · 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.

CloudCheapest instance that fitsGPUsAn hourA month, around the clock
DeepInfraa100.1x1 × A100 80 GB$1.49$1,088
Crusoel40s.1x1 × L40S 48 GB$1.50$1,095
Nebiusgpu-l40s-a.1gpu-8vcpu-32gb1 × L40S 48 GB$1.55$1,130
HF Endpointsaws.nvidia-l40s.x11 × L40S 48 GB$1.80$1,314
AWSg6e.xlarge1 × L40S 48 GB$1.86$1,359
Alibaba Cloudecs.gn8is.2xlarge1 × L20 48 GB$2.26$1,648
Core42h100.1x1 × H100 80 GB$2.50$1,825
AzureStandard_NC72ds_xl_RTXPRO6000BSE_v61 × RTX PRO 6000 48 GB$2.83$2,066
Google Clouda2-highgpu-1g1 × A100 40 GB$3.67$2,682
IBM watsonxdeploy-on-demand.1xL40S1 × L40S 48 GB$4.43$3,234
Fireworks AIh100.1x1 × H100 80 GB$8.00$5,840
OCIBM.GPU.L40S.44 × L40S 48 GB$14.00$10,220
Together AIhgx-h100.8gpu8 × 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

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.