Alternatives?
Run it yourself
estimateBenchmarks
in Writing & LanguageFAQ
How much does Phi 4 cost?›
$0.056 per 1M input tokens and $0.11 per 1M output tokens (cheapest host: DeepInfra).
Is Phi 4 free to use?›
There is no free API; the cheapest paid price is $0.056 per 1M input tokens. The weights are open, so you can run it yourself.
How good is Phi 4, and what is it best at?›
#318 of 336 in Chat & Knowledge, #171 of 239 in Coding, #229 of 242 in Agents & Tool Use, #173 of 197 in Writing & Language.
Is Phi 4 better than Mistral Small 3?›
On Arena Text · creative writing · October 22, 2026, Phi 4 scores 1,181.3 vs 1,194.4 — about the same.
How can I use Phi 4?›
Through the API of Azure AI Foundry, DeepInfra, Featherless.
What is the context window of Phi 4?›
16K tokens, with up to 15K output tokens.
When was Phi 4 released? Is there a newer version?›
Released 2024-12-12. It is the current version in its line.
Is Phi 4 open source?›
Yes, the weights are open (MIT licence).
Can I run Phi 4 locally?›
The weights are open and can be self-hosted; hardware needs are not confirmed yet.
Can Phi 4 read images?›
No, it accepts text only.
What is Phi 4?›
Phi 4 is an open-weights language model from Microsoft, released Dec 2024.
What are the best alternatives to Phi 4?›
Gemma 3 12B (cheaper), GPT-5 Mini (better), Gemma 4 31B (open weights).