Skip to content
SF·SIX
SF·SIX / MODEL PROFILE

Microsoft Phi 4

[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed. At 14 billion...

Microsoft Phi 4 costs $0.07 per 1M input tokens and $0.14 per 1M output tokens at the standard tier from DeepInfra (bf16), the only provider SF·SIX tracks for this model. Updated ; prices checked . The context window is 16,384 tokens.

Checked · Source: OpenRouter · Methodology

Developer
Microsoft
Input modalities
text
Output modalities
text
Context tokens
16,384
Latest price observation
2026-12-02
Lowest paired standard token quote
$0.07 input / $0.14 output per 1M tokens

Providers and prices

Providers and prices
Provider and channelInputOutput or native rateUnit and statusContextMax outputThroughputLatencyUptimeCheapest / fastestSource and observation
DeepInfraOpenRouter · bf16$0.07$0.141M tokenspriced · USD16,38414,74586 tok/s277 ms100.0%Cheapest standard priceOpenRouter2026-12-02
DeepInfraOpenRouter · Flex tier · bf16$0.056$0.1121M tokenspriced · USD16,38414,745Not reportedNot reportedNot reportedOpenRouter2026-12-02

Cheapest standard price: $0.07 / $0.14 per 1M input / output tokens, from DeepInfra (bf16).

Price and release history

  • · First seen by SF·SIX
  • · Released

Every dated price observation: the price-history API.

Speed by provider

Speed by provider
Provider and termsThroughputLatencyUptimeInput / 1M
DeepInfrabf1686 tok/s277 ms100.0%$0.07

Previous 30 minutes; reported by OpenRouter. Fastest first.

Prices by service tier

Prices by service tier
TierInput / 1MOutput / 1MCache read / 1MCheapest providervs standard (blended)
Standard$0.07$0.14Not reportedDeepInfra100%
Flex$0.056$0.112Not reportedDeepInfra80%

Each tier’s cheapest endpoint. Standard is the default-region headline; flex and batch trade speed or latency for a lower price, priority and fast cost more for faster service.

Cost of common workloads

Cost of common workloads
ModelSupport chatbot / monthRAG / research assistant / monthBatch summarisation / month
Microsoft Phi 4$8.05$13.16$7.70
DeepSeek V4 Flash 0731$8.05$13.16$7.70
Hy4 flash$7.75$10.80$6.00
Solar Mini 4$7.75$10.80$6.00

Support chatbot: 50,000 requests a month of 1,500 input and 400 output tokens; RAG / research assistant: 20,000 requests a month of 8,000 input and 700 output tokens; Batch summarisation: 10,000 requests a month of 10,000 input and 500 output tokens. Each model at its standard headline price, next to the 3 comparable models priced nearest to it. Prompt caching, batch discounts and long-context prices are not included, so the estimates are indicative. Estimate your own workload

Alternatives

Alternatives
ModelInput / 1MOutput / 1MContextWhy listed
Granite 4.2 8BIBM Granite$0.06$0.15131,0726% cheaper (blended), same or larger context
Gemma 4 26B A4BGoogle DeepMind$0.047$0.1695262,14411% cheaper (blended), same or larger context
Gemma 3 12BGoogle DeepMind$0.05$0.15131,07214% cheaper (blended), same or larger context

Models with the same output modalities from other model families, at their standard headline prices. Intelligence Index: Artificial Analysis, where scored.

Capabilities

Capabilities
CapabilitySupport
Input modalitiestext
Output modalitiestext
Image input (vision)No
Tool callingYes (2 of 2 endpoints)
Structured outputs (JSON)Yes (2 of 2 endpoints)
ReasoningNot listed
Web searchNot listed
Log probabilitiesNot listed
SeedYes (2 of 2 endpoints)
Max output tokens14,745

From the model’s modalities and its providers’ published parameter lists. “Not listed” means no provider lists the parameter, not that the model cannot do it.

Compare and estimate

Frequently asked questions

How much does Microsoft Phi 4 cost per 1M tokens?

$0.07 per 1M input tokens and $0.14 per 1M output tokens at the standard tier, the lowest default-region price SF·SIX tracks, from DeepInfra (bf16).

Which providers offer Microsoft Phi 4?

1 provider with 2 priced endpoints: DeepInfra.

What is the context window of Microsoft Phi 4?

16,384 tokens, with up to 14,745 output tokens per request on its providers.

How fast is Microsoft Phi 4?

The fastest measured endpoint is DeepInfra (bf16) at 86 tok/s with 277 ms latency, as reported by OpenRouter for the previous 30 minutes.

What are cheaper alternatives to Microsoft Phi 4?

Granite 4.2 8B at $0.06 / $0.15 (6% cheaper, blended); Gemma 4 26B A4B at $0.047 / $0.1695 (11% cheaper, blended); Gemma 3 12B at $0.05 / $0.15 (14% cheaper, blended). Standard prices per 1M input / output tokens.

Which features does Microsoft Phi 4 support?

Its providers list tool calling, structured outputs (JSON), seed. It takes text input and returns text output.

How much does a support chatbot cost with Microsoft Phi 4?

About $8.05 a month for 50,000 requests of 1,500 input and 400 output tokens, at the standard headline price before caching and batch discounts.

Prediction markets

Microsoft Phi 4 meets the rule for SF·SIX price ladders; the current average standard input price across qualifying OpenRouter endpoints is $0.07 per 1M tokens. Open Microsoft Phi 4 markets (Hedera testnet, test funds only) · How AI prediction markets work

Sources and freshness

Sources and freshness
SourceRecordsLatest observationSource checked
OpenRouter2

Data as of . Prices are USD per 1M tokens at the standard service tier in the default region: the cheapest qualifying provider per model, with flex, batch, priority and fast endpoints and unusually low outliers never used as the headline. “Blended” weights input and output 3:1. Methodology

These are dated, non-executable observations. Verify the exact endpoint, price and terms with the source before use. Unknown values are not free.

Compare AI API prices · Recent price changes · Estimate your monthly cost