DeepFrugal Find the cheapest way to run any model
by Microsoftfamily Phi 4released January 10, 2025prices as of November 28, 2026

Phi 4

Served by 2 plans across 2 gateways. Lowest input $0.056 per 1M on DeepInfra API · flex.

Lowest input
$0.056

DeepInfra API · flex

Cheapest all-round
$0.056 input /1M

DeepInfra API · flex · input, output and both cache rates combined

Context
16K

Across every plan and provider

Prices by plan one line per plan, the cheapest offer it carries 3 offers →

Gateway Plan Mode Window Provider In /1M Out /1M Read /1M Write /1M Context TPS Logs Trains
DeepInfraDeepInfra APIflex—DeepInfra$0.056$0.112——16K—NoNo
OpenRouterOpenRouter APIstandard—DeepInfra
$0.074
$0.070
$0.148
$0.140
——16K19NoNo

Each price cell is two lines — the effective rate on top, the listed rate underneath when they differ. Mode and window are part of the route; a dash means the plan publishes no value. Provider is the endpoint behind that route. Allowance is the plan's published monthly allowance for the route on that line — a per-model dollar figure when the plan publishes one, otherwise its monthly pool or credit budget as published; a dash means the plan publishes none. Logs and Trains describe this plan and this model together.

Every offer the same model, every provider, mode, window and tier

Show all 3 offers provider, mode, window and tier
Plan Provider Mode Window Region Tier In /1M Out /1M Read /1M Write /1M Context TPS Logs Trains
DeepInfra APIDeepInfraflex———$0.056$0.112——16K—NoNo
DeepInfra APIDeepInfrastandard———$0.070$0.140——16K—NoNo
OpenRouter APIDeepInfrastandard———
$0.074
$0.070
$0.148
$0.140
——16K19NoNo

Modes flex 1 · standard 2Windows one rateRegions none publishedTiers none published

Privacy per plan and provider, never a model verdict

3 of 3 offers are clean (no prompt logging, no training). 0 log prompts; 0 train on data; 0 have no published verdict — ? is unknown, not clean.