Microsoft

Microsoft: Phi 4

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.

  • Context window: 16,384 tokens
  • Input: text
  • Output: text
  • Pricing: $0.07/M input tokens, $0.14/M output tokens

Community sentiment

Positive (+20) — 2 positive, 1 negative, 0 neutral across 3 community samples from X and the web, as of 2026-11-24.

Phi-4 was credited with a small win in a lottery-number comparison, and a model listing cited strong MMLU and HumanEval scores. Another post reported that it failed all three trials in a bike test, while comparing it with other models.

  • “🎱 EuroMillions results · Tue 24 Nov 03 05 37 44 49 + 05 06 🏆 Luckiest: Phi-4 (3 numbers) 🎲 Pure Chance: 0 (35th of 56) 💷 Phi-4 would have won £4; Claude Haiku 4.5 would have won £3.1; Claude Haiku 5.5 would have won £3.1 #EuroMillions #AI https://t.co/gdCItxXeRE” — X
  • “phi-4 got caught on the flat road, 0/3. deepseek v4.1 and claude opus 5.5 medium both fell on the stairs, 2/3. the bike test has casualties. #PelicanRace https://t.co/M4afeZrZSK” — X
  • “Phi-4 - 14B model | Every Local AI — Phi-4 scores 84.8 on MMLU and 82.6 on HumanEval. It has 14B parameters with 16,384 context - a strong choice for coding, math, reasoning. What license is Phi- ...” — the web

RuntimeWire coverage

View on OpenRouter. Model data sourced from OpenRouter.