Models / Microsoft/ Phi 4

Phi 4

Microsoft · released Dec 11, 2024 · microsoft/phi-4

Input: text. Output: text.InputOutput
Type
Open weightsMIT License
Params
14.7B
Context
16K

about 12K words of context

Our take

Written Aug 4, 2026

Microsoft's Phi-4 is a 14.7-billion-parameter text-only model from late 2024 with a permissive MIT licence. It is now clearly behind 2026 peers in both quality and request limit, but it is cheap.

Who should pick it

Use this only for legacy pipelines already built on Phi-4 that value stability over quality, or ultra-cheap bulk text processing where a 16,384-token request limit suffices and the quality bar is low. Skip it for new projects or anything requiring vision or a long context.

The case for it

  • Permissive MIT licence and low price.

The case against it

  • Lowest measured chat quality in our tracked set.
  • Tiny request limit by 2026 standards: 16,384 tokens versus 262,144 for current small models.
  • Text-only; no vision input, unlike current small-model peers.
00

How good is it?

An open text model for general chat, though it trails most models on everyday questions, writing and code.

Less good at
  • getting answers to everyday questionsArena Text (overall) · 159th of 168
  • drafts, rewrites and editingArena Creative Writing · 159th of 168
  • writing and completing codeArena Coding · 155th of 168

EverydayGeneral questions and everyday reasoning

1 of 5

Arena Text (overall)159th of 168 · 1256

Arena Hard Prompts 157th of 168Arena Maths 147th of 163GPQA Diamond 2nd of 16MMLU-Pro 5th of 16

CodingWriting and fixing code on its own

1 of 5

Arena Coding155th of 168 · 1306

Arena Coding is the only board that has scored it for this.

AgenticPlanning, calling tools, staying on task

not measured

Not yet scored on Arena Agent.

WritingDrafting and rewriting prose

1 of 5

Arena Creative Writing159th of 168 · 1210

Arena Creative Writing is the only board that has scored it for this.

Other boards it appears on
Arena Instruction Following 157th of 168IFEval 16th of 16

These tests check whether a model follows instructions — a precondition for all the work above, but not a measure of how well that work is done.

Every published score for this model9 scoresEvery figure we hold, from 9 boards, with who ran it and a link to the source — including the boards no rating above is built on.
GPQA Diamondreasoning
40.6machine-readable source ↗
1306source ↗
1210source ↗
1278source ↗
1265source ↗
1256source ↗
MMLU-Proreasoning
52.9machine-readable source ↗
01

Can you run it yourself?

Comfortable fit

A card many people ownFits in memory

GeForce RTX 4090 · 24 GB

Weights at 9.1 / 24 GBmeasured
Spare memory11.9 GB spare
Usable context16K of 16K
Decode speed91 tok/sest

Room to spare. 11.9 GB spare means a 10% error in the size would not change the answer.

One step upFits in memory

GeForce RTX 5090 · 32 GB

Weights at 9.1 / 32 GBmeasured
Spare memory19.9 GB spare
Usable context16K of 16K
Decode speed161 tok/sest

Room to spare. 19.9 GB spare means a 10% error in the size would not change the answer.

On a MacFits in memory

Apple M1 (8-core GPU) · 16 GB

Weights at 9.1 / 16 GBmeasured
Spare memory1.1 GB spare
Usable context4K of 16K
Decode speed5 tok/sest

Room to spare. 1.1 GB spare means a 10% error in the size would not change the answer.

Your hardware
Checking your profile…

Memory use by level

Against a 24 GB card.

What is quantisation? →
9.1 GBmeasured
Fits in memory
29.3 GBmeasured
Spills to system RAM
recommended
9.1 GBmeasured
Fits in memory
10.9 GBest
Fits in memory
15.6 GBmeasured
Fits in memory
This model on every device we track71 devicesThe Q4 build most people download, on each device: what the weights come to, how much context the memory leaves, and whether it runs. Smallest device that runs it first.
GeForce RTX 507012 GB9.1 GBmeasured2KFits in memory
GeForce RTX 4070 SUPER12 GB9.1 GBmeasured2KFits in memory
Arc B58012 GB9.1 GBmeasured2KFits in memory
GeForce RTX 3060 12GB12 GB9.1 GBmeasured2KFits in memory
GeForce RTX 508016 GB9.1 GBmeasured16KFits in memory
GeForce RTX 5070 Ti16 GB9.1 GBmeasured16KFits in memory
GeForce RTX 4080 SUPER16 GB9.1 GBmeasured16KFits in memory
GeForce RTX 4070 Ti SUPER16 GB9.1 GBmeasured16KFits in memory
Radeon RX 907016 GB9.1 GBmeasured16KFits in memory
Radeon RX 9070 XT16 GB9.1 GBmeasured16KFits in memory
GeForce RTX 5060 Ti 16GB16 GB9.1 GBmeasured16KFits in memory
GeForce RTX 4060 Ti 16GB16 GB9.1 GBmeasured16KFits in memory
Apple M1 (8-core GPU)16 GB9.1 GBmeasured4KFits in memory
Radeon RX 7900 XT20 GB9.1 GBmeasured16KFits in memory
GeForce RTX 3090 Ti24 GB9.1 GBmeasured16KFits in memory
GeForce RTX 409024 GB9.1 GBmeasured16KFits in memory
GeForce RTX 309024 GB9.1 GBmeasured16KFits in memory
Radeon RX 7900 XTX24 GB9.1 GBmeasured16KFits in memory
Apple M2 (10-core GPU)24 GB9.1 GBmeasured16KFits in memory
Apple M3 (10-core GPU)24 GB9.1 GBmeasured16KFits in memory
GeForce RTX 509032 GB9.1 GBmeasured16KFits in memory
Apple M1 Pro (16-core GPU)32 GB9.1 GBmeasured16KFits in memory
Apple M2 Pro (19-core GPU)32 GB9.1 GBmeasured16KFits in memory
Apple M5 (10-core GPU)32 GB9.1 GBmeasured16KFits in memory
Apple M4 (10-core GPU)32 GB9.1 GBmeasured16KFits in memory
Apple M3 Pro (18-core GPU)36 GB9.1 GBmeasured16KFits in memory
RTX 6000 Ada48 GB9.1 GBmeasured16KFits in memory
L40S48 GB9.1 GBmeasured16KFits in memory
Apple M5 Max (32-core GPU)64 GB9.1 GBmeasured16KFits in memory
Apple M1 Max (32-core GPU)64 GB9.1 GBmeasured16KFits in memory
Apple M4 Max (32-core GPU)64 GB9.1 GBmeasured16KFits in memory
Apple M5 Pro (20-core GPU)64 GB9.1 GBmeasured16KFits in memory
Apple M4 Pro (20-core GPU)64 GB9.1 GBmeasured16KFits in memory
A100 80GB SXM80 GB9.1 GBmeasured16KFits in memory
H100 80GB SXM80 GB9.1 GBmeasured16KFits in memory
RTX PRO 6000 Blackwell96 GB9.1 GBmeasured16KFits in memory
Apple M2 Max (38-core GPU)96 GB9.1 GBmeasured16KFits in memory
Apple M1 Ultra (64-core GPU)128 GB9.1 GBmeasured16KFits in memory
Apple M5 Max (40-core GPU)128 GB9.1 GBmeasured16KFits in memory
Apple M4 Max (40-core GPU)128 GB9.1 GBmeasured16KFits in memory
Apple M3 Max (40-core GPU)128 GB9.1 GBmeasured16KFits in memory
NVIDIA DGX Spark (GB10)128 GB9.1 GBmeasured16KFits in memory
Ryzen AI Max+ 395 (Radeon 8060S)128 GB9.1 GBmeasured16KFits in memory
H200 141GB SXM141 GB9.1 GBmeasured16KFits in memory
B200 (SXM 192GB)192 GB9.1 GBmeasured16KFits in memory
Instinct MI300X192 GB9.1 GBmeasured16KFits in memory
Apple M2 Ultra (76-core GPU)192 GB9.1 GBmeasured16KFits in memory
Apple M3 Ultra (80-core GPU)512 GB9.1 GBmeasured16KFits in memory
GeForce RTX 3060 8GB8 GB9.1 GBmeasurednot calculatedSpills to system RAM
GeForce RTX 4060 8GB8 GB9.1 GBmeasurednot calculatedSpills to system RAM
Radeon RX 66008 GB9.1 GBmeasurednot calculatedSpills to system RAM
Arc B57010 GB9.1 GBmeasurednot calculatedSpills to system RAM
GeForce RTX 3080 10GB10 GB9.1 GBmeasurednot calculatedSpills to system RAM
Android phone · 16 GB · 2024 or newer8 GB9.1 GBmeasurednot calculatedToo large
Apple M1 (8-core GPU, 8GB unified)8 GB9.1 GBmeasurednot calculatedToo large
Apple M2 (8-core GPU, 8GB unified)8 GB9.1 GBmeasurednot calculatedToo large
iPhone 17 Pro6.6 GB9.1 GBmeasurednot calculatedToo large
Android phone · 12 GB · 2023 or newer6 GB9.1 GBmeasurednot calculatedToo large
GeForce GTX 1660 SUPER6 GB9.1 GBmeasurednot calculatedToo large
iPhone 15 Pro4.4 GB9.1 GBmeasurednot calculatedToo large
iPhone 164.4 GB9.1 GBmeasurednot calculatedToo large
iPhone 16 Pro4.4 GB9.1 GBmeasurednot calculatedToo large
iPhone 174.4 GB9.1 GBmeasurednot calculatedToo large
Android phone · 8 GB · 2020–20224 GB9.1 GBmeasurednot calculatedToo large
Android phone · 8 GB · 2023 or newer4 GB9.1 GBmeasurednot calculatedToo large
iPhone 143.3 GB9.1 GBmeasurednot calculatedToo large
iPhone 153.3 GB9.1 GBmeasurednot calculatedToo large
Android phone · 6 GB3 GB9.1 GBmeasurednot calculatedToo large
iPhone 132.2 GB9.1 GBmeasurednot calculatedToo large
iPhone SE (3rd gen)2.2 GB9.1 GBmeasurednot calculatedToo large
Android phone · 4 GB2 GB9.1 GBmeasurednot calculatedToo large

Check against your own machine → · Where to rent it hosted →

02

Or rent it from someone else

Prices checked 2 hours ago — each listing carries its own date.

Cheapest published offer

Cheapest of 2 live listings.

per 1M tokens
$0.070 in / $0.14 out
Context served
16K
Throughput
Not measured
Current provider offers with price, context and prompt-privacy answers
ProviderIn / out per 1M tokensContextThroughputTrains on promptsLogs promptsZero retention
OpenRouterOpenRouter's own listing$0.070 / $0.14checked 2 hours ago16Knot measuredUnknownUnknownUnknown
DeepInfrabf16Direct and through OpenRouter$0.070 / $0.14checked 2 hours ago16K15K max reply through OpenRouter58 tok/sthrough OpenRouterDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterNoDirectUnknownThrough OpenRouterConfirmed

Across the 2 listings we hold: 1 says it does not train on prompts (only through OpenRouter), 0 say they do and 1 does not say. 1 appears in the zero-retention registry we check (only through OpenRouter); the rest are unknown to us.

What each host's API supports

From the parameter list each endpoint publishes. Streaming is omitted: nothing we hold reports it, for any model.

API features per host
ProviderTool callingJSON outputStrict schema
OpenRouterOpenRouter's own listing✗✓✓
DeepInfrabf16Direct and through OpenRouter✗✓✓

Tool calling: 0 of 2 listings say yes, 2 say no. JSON output: 2 of 2 listings say yes. Strict schema: 2 of 2 listings say yes.

03

When we formed this view

Recent changes

Sep 25, 2026BenchmarkScored 1306 on Arena Coding
What movedleaderboard
Sep 25, 2026BenchmarkScored 1210 on Arena Creative Writing
What movedleaderboard
Sep 25, 2026BenchmarkScored 1278 on Arena Hard Prompts
What movedleaderboard
Sep 25, 2026BenchmarkScored 1245 on Arena Instruction Following
What movedleaderboard
Sep 25, 2026BenchmarkScored 1265 on Arena Maths
What movedleaderboard
Sep 25, 2026BenchmarkScored 1256 on Arena Text (overall)
What movedleaderboard
Jul 26, 2026ListedListed on LLMap
What movedfirst indexed by our pipeline
Jan 8, 2025BenchmarkScored 40.6 on GPQA Diamond · machine-readable source ↗
What movedleaderboard
Jan 8, 2025BenchmarkScored 5.9 on IFEval · machine-readable source ↗
What movedleaderboard
Jan 8, 2025BenchmarkScored 52.9 on MMLU-Pro · machine-readable source ↗
What movedleaderboard

Each date is the day we first saw the change, or the day the maker announced it.

What we do not know about this model yet

  • Nothing we hold says whether an endpoint streams, so we do not show it either way.
  • 1 of 2 listings does not say whether it trains on prompts, and 1 answers only through OpenRouter, not for its own listing.
  • We hold no cached-input rate for any of its listings.
  • We hold no batch or off-peak rate for any of its listings.
  • We hold a decode speed for it, but no prompt-processing (prefill) figure, so how long the input side of a job takes is unknown to us.
04

Licence and identifiers

What the licence allowsMIT License, what it allows commercially, and the identifiers you need to pull this model — its Hugging Face repo, our slug and a machine-readable card.

Licence

MIT License

Open, few conditionsCommercial use allowed

Fully permissive: do anything with attribution. No patent grant, unlike Apache-2.0.

Identifiers

Hugging Face
microsoft/phi-4
Architecture
Dense
Takes in, gives back
Text in, text out
Catalogue slug
microsoft-phi-4

Machine-readable model card (omc.json) →

Something wrong on this page? Tell us