Models

phi-4

deepinfra · 16K ctx · 5 providers · updated 2026-08-05 00:15 UTC

Cheapest
$0.087 Official list · DeepInfra
Avg price
$0.131 /1M
providers
5
(3 × $0.070 + $0.140) ÷ 4 = $0.087/1M — the $/1M figure blends input and output at 3:1 — that is the only way models with two different rates can be ranked on one axis. Your actual rate depends on your own input:output mix — input only $0.070, 3:1 $0.088, 1:1 $0.105, output only $0.140 per 1M.

The board shows this model's cheapest measured offer ($0.087/1M); the smaller figure under it is the mean of the 6 offers listed below ($0.131/1M). Add those up and divide — it matches.

ProviderRouter / Source$ in /1M$ out /1MTTFTTPSUptimeEvidence
deepinfra Pricebook (LiteLLM) $0.070$0.140 Official list
openrouter-best OpenRouter $0.070$0.140 API-measured
deepinfra HuggingFace Router $0.070$0.140 456ms 62 API-measured
requesty Requesty $0.070$0.140 API-measured
azure_ai Pricebook (LiteLLM) $0.125$0.500 Official list
burncloud burncloud $0.125$0.500 API-measured

Price trend

Cheapest blended price, last 31 days (USD/1M): $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875 → $0.0875

Data & method

Cheapest ranked by blended = (3×in + out) ÷ 4; performance columns show only when a source provides them, never estimated. “Official list” = LiteLLM open pricebook (MIT); “API-measured” = provider/aggregator public APIs. Machine-readable data: /api/v1/models/phi-4.json. Free reuse requires attribution to tkx.org.

FAQ

How much does phi-4 cost?

Cheapest measured offer right now: $0.07/1M input, $0.14/1M output via deepinfra — across 5 tracked providers, refreshed hourly.

Who serves phi-4?

5 providers currently serve it. The table above lists each with input/output price, TTFT, TPS, uptime and an evidence tier.

Is the price of phi-4 going up or down?

The daily candles above track the cheapest blended price ($/1M, 3:1 in:out). TKX snapshots every hour, so drops and hikes show up the same day they happen.

Related analysis

Back to rankings