microsoft

Microsoft: Phi 4

The Microsoft Phi 4 is a text-based AI model with a context length of 16,384 tokens and a maximum completion token count of 14,745. It supports input through plain text only. Considering the price point, the Microsoft Phi 4 may be worth shortlisting for organizations or individuals with large-scale text processing needs that don't require structured output or reasoning capabilities. The model's blended benchmark score of 6.0 across one benchmark suggests it can handle complex tasks within its scope, but further evaluation is needed to confirm its performance in specific applications. With a pricing structure of $0.07 per million input tokens and $0.14 per million output tokens, users must weigh the costs against their project requirements.

Open weights 14.7B parameters, about 8.2 GiB at Q4_K_M: fits comfortably on 15 of 17 consumer graphics cards in the PicksByCard catalog. See which cards run it →
Quality Score
61/100
price + capability + benchmarks
Input Price
$0.07
per 1M tokens · checked 2026-09-04
Output Price
$0.14
per 1M tokens · checked 2026-09-04
Context Window
16,384
tokens

Benchmark results

Independent, published benchmarks. Blended score 6.0 across 1 benchmark, last refreshed 2026-09-04. How scoring works →

BenchmarkMeasuresScore
AI Index broad capability composite 7.5
Model ID
microsoft/phi-4
Vendor
microsoft
Released
January 2025
Tokenizer
Other
Input Modalities
text
Output Modalities
text
Max Output
14,745 tokens
Tool Calling
not supported
Structured Output
✓ supported
Reasoning Mode
not supported
Vision
text only
Audio
no
Moderated
no

What it costs in practice

Computed from the current $0.07/M input and $0.14/M output rates. Run your own numbers →

JobTokensCost
Summarize a 50-page report 30k in / 1.5k out under $0.01
Classify 1,000 customer emails 500k in / 50k out $0.04
A month of a busy support chatbot 5M in / 2M out $0.63

Similar models

Quick answers

How much does Microsoft: Phi 4 cost?
$0.07 per million input tokens and $0.14 per million output tokens.
What is Microsoft: Phi 4's context window?
16,384 tokens, roughly 24 pages of text in a single request.
Does Microsoft: Phi 4 support tool calling?
It supports structured output.
Can Microsoft: Phi 4 process images?
No, it is text-only on the input side.