phi-4 API price — 4 gateways compared
Cheapest right now: DeepInfra at $0.07/MTok in .
from $0.07 per
million input tokens · same price on every gateway
· updated continually
Gateway $ in /MTok $ out /MTok
Context Input price history Model ID
OpenRouter fees $0.07 $0.14 16,384 microsoft/phi-4 use Requesty $0.07 $0.14 16,384 deepinfra/microsoft/phi-4 use Glama $0.07 $0.14 16,384 microsoft/phi-4 use DeepInfra $0.07 $0.14 16,384 microsoft/phi-4 use
Fees beyond the token price OpenRouter : No markup on token prices (provider pass-through), but credit purchases cost 5.5% via card ($0.80 minimum) or 5% via crypto; BYOK usage above the monthly allowance is charged 5%. source
Changelog for phi-4
2026-08-27 requesty raised phi-4-output 11.1%: 0.126 → 0.14 usd_per_mtok
2026-08-27 requesty raised phi-4-input 11.1%: 0.063 → 0.07 usd_per_mtok
phi-4 pricing FAQ
How much does phi-4 cost per million tokens? The cheapest tracked gateway charges $0.07 per million input tokens and $0.14 per million output tokens (DeepInfra). Prices refresh continually.
Which gateway is cheapest for phi-4? DeepInfra for input tokens and DeepInfra for output tokens, among the 4 gateways we track.
Do phi-4 prices differ between gateways? No — every tracked gateway currently charges the same per-token price, so the difference between them is fees and routing, not token cost.
← All LLM prices · API
Every datum links its source and is versioned in
public git history .
Data: CC BY 4.0 — cite gpudiff.com. Nameplate specs are vendor claims, not measured
throughput. Vast prices are the 25th percentile of verified marketplace listings
(what a careful buyer actually gets); RunPod prices are list. Outbound provider
links may carry referral codes and sponsored units are labelled; neither ever
affects the numbers. Sponsor this site .