InferIndex

ModelsMicrosoftPhi 4

Phi 4

microsoft/phi-416k context Compare →

Cheapest: DeepInfra — $0.07 Input / $0.14 Output per million — checked 

Offers
9
Providers
4
QualityQuality rank from public evaluations. 1 = best. Data credits
Rank 84 of 86 · score 29.8/100 · Nov 28, 2026
CodeCoding quality rank from public evaluations. 1 = best. Data credits
Not ranked in this quality board

Via InferIndex

Price checked on Nov 28, 2026, 8:11 PM UTC

$0.088blended / 1M

No change7D
Input
$0.07
Output
$0.14
Cached
–No data
Use via InferIndex$0.088 The router sends each request to the cheapest verified offer among the provider keys you connect.

Cheaper, similar quality

Score within 3 points out of 100 in the same quality board, blended price at least 10% lower.Let the router switchProPro setting: requests for Phi 4 go to the cheapest model of this list that your keys can reach.

OverallRank 84 of 86 · score 29.8/100 · Nov 28, 2026

No model within 3 points is at least 10% cheaper.

Public leaderboards

  • Text Arena, style controlThe series the source publishes by default for text since 16 May 2025: ranks corrected for the style of the answers (style control). #325 of 427Best rank in the source's rank spread, 325th to 333rd, given the confidence intervals of all ranked models. 331st by score. 1,256 1,252 to 1,261Arena Score · 24,126 votes

Source: Arena (opens in a new tab) · Data under the CC BY 4.0 license (creativecommons.org/licenses/by/4.0) · CC BY 4.0 (opens in a new tab) · scores and ranks as published on 22 Nov 2026

Price historyThe cheapest offer each day, against the lab's official list price when it publishes one. Each day at 00:00 UTC, the offer the API would have selected as the cheapest, with the same exclusions as /cheapest. Blended price, promotions included.

Cheapest offer and official list price, by day, 30 days
DayCheapest offerOfficial list price
2026-10-30$0.088, DeepInfra–No data
2026-10-31$0.088, DeepInfra–No data
2026-11-01$0.088, DeepInfra–No data
2026-11-02$0.088, DeepInfra–No data
2026-11-03$0.088, DeepInfra–No data
2026-11-04$0.088, DeepInfra–No data
2026-11-05$0.088, DeepInfra–No data
2026-11-06$0.088, DeepInfra–No data
2026-11-07$0.088, DeepInfra–No data
2026-11-08$0.088, DeepInfra–No data
2026-11-09$0.088, DeepInfra–No data
2026-11-10$0.088, DeepInfra–No data
2026-11-11$0.088, DeepInfra–No data
2026-11-12$0.088, DeepInfra–No data
2026-11-13$0.088, DeepInfra–No data
2026-11-14$0.088, DeepInfra–No data
2026-11-15$0.088, DeepInfra–No data
2026-11-16$0.088, DeepInfra–No data
2026-11-17$0.088, DeepInfra–No data
2026-11-18$0.088, DeepInfra–No data
2026-11-19$0.088, DeepInfra–No data
2026-11-20$0.088, DeepInfra–No data
2026-11-21$0.088, DeepInfra–No data
2026-11-22$0.088, DeepInfra–No data
2026-11-23$0.088, DeepInfra–No data
2026-11-24$0.088, DeepInfra–No data
2026-11-25$0.088, DeepInfra–No data
2026-11-26$0.088, DeepInfra–No data
2026-11-27$0.088, DeepInfra–No data
2026-11-28$0.088, DeepInfra–No data

Cheapest offer

Offers

9 of 9 offers

The router picks from these offers, cheapest first, among the keys you connect.
Offers for Phi 4, one row per offer, sorted by blended price.
RankProvider · viaYou buy access through an aggregator: one account and one API that forward your requests to other providers. "Via" names the aggregator; the price is the one it charges you. When "via" says "hosted API", no aggregator is involved: the model belongs to a lab and another provider sells it.Input $/MOutput $/MBlended $/MA single price that mixes input and output: 3 input tokens for 1 output token, per million tokens. It makes offers easy to rank; your real cost depends on your own mix.PrecisionHow finely the model's numbers are stored on the provider's servers. Lower precision (fp8, fp4) is cheaper to run and can slightly change answer quality; "unknown" means the provider doesn't say. ContextThe maximum amount of text, counted in tokens, the model can take in and write in a single request. Past this limit, the request is refused or cut.ConditionsWhat a provider says about how it handles your data and who can sign up: training on prompts, processing region, sign-up requirements. Each comes from the provider's published documents; when nothing is published, it stays unknown.SignalsOffer
1 DeepInfra 0.07 0.14 Use 0.088 · Cheapest right now bf16 16k United States
2 DeepInfravia Eden AI 0.07 0.14 0.088 bf16 16k United States Unverified. No public page for this offer: listed, not designated cheapest
: Eden AI (opens in a new tab) No public price page for this model
3 DeepInfravia Hugging Face 0.07 0.14 0.088 bf16 16k United States
4 DeepInfravia Kilo Gateway 0.07 0.14 0.088 bf16 16k United States Unverified. The source page shows one price per model, not this seller's: listed, not designated cheapest
5 FastRouter 0.07 0.14 0.088 –Unpublished 16k Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
6 Glama 0.07 0.14 0.088 –Unpublished 16k Unverified. No public page for this offer: listed, not designated cheapest
: Glama (opens in a new tab) No public price page for this model
7 Martian 0.07 0.14 0.088 –Unpublished –Unpublished worldwide Unverified. Neither seller nor price found on its page for 72 hours: listed, not designated cheapest
8 DeepInfravia Requesty 0.07 0.14 0.088 bf16 16k United States Fee 5%: Requesty adds a 5% markup (read on requesty.ai/pricing on Nov 28). Offers are ranked with this fee included.
9 DeepInfravia OpenRouter 0.07 0.14 0.088 bf16 16k United States Fee 5.5%: OpenRouter adds a 5.5% fee when you buy credits (read on openrouter.ai/pricing on Nov 28). Offers are ranked with this fee included.

No training on promptsPrompts may be used for trainingTraining terms not published

backend not named. The router bills this price itself without naming who serves the model.

4 flex or batch offers hidden (lower priority, variable latency).

Blended = (3 × input + output) / 4, per million tokens. Prices in USD, converted at the ECB rate when the provider bills in another currency.

Method

Compare Phi 4 with

Related models

More from Microsoft

All Microsoft models

Same index family

Use this data

The index is queryable. The API is free to use.
Free API
curl https://api.inferindex.dev/cheapest?model=microsoft/phi-4
MCP server
claude mcp add --transport http inferindex https://mcp.inferindex.dev/mcp

Also works in Cursor and Codex: see the MCP page.

Base URLhttps://api.inferindex.dev/router/v1
from openai import OpenAI

client = OpenAI(
    base_url="https://api.inferindex.dev/router/v1",
    api_key="YOUR_INFERINDEX_KEY",
)

reply = client.chat.completions.create(
    model="microsoft/phi-4",
    messages=[{"role": "user", "content": "Hello"}],
)
print(reply.choices[0].message.content)
Base URL
https://api.inferindex.dev/router/v1
Model
microsoft/phi-4
Routes to
DeepInfra · $0.087
Format
OpenAI · Anthropic