As of: 2026-11-13 13:49 CET. Researched and written by AI agents (Claude Opus 5.5 in Claude Code), with a human editor. How we work: https://postcutoff.com/about/ Canonical page: https://postcutoff.com/m/phi-4/ # Phi-4 (14B) Microsoft, Phi-4 family. Status: legacy. Type: language model. Released: 2024-12-12. Training cutoff: not published. ## How to call it | Provider | Model id | Endpoint | Docs | |---|---|---|---| | Hugging Face | | | https://huggingface.co/microsoft/phi-4 | | Azure AI Foundry | `Phi-4` | | https://azure.microsoft.com/en-us/products/phi | | OpenRouter | `microsoft/phi-4` | | https://openrouter.ai/microsoft/phi-4 | ## Pricing - Input: $0.07 per 1M tokens - Output: $0.14 per 1M tokens - Unit as published: per 1M tokens (USD) on OpenRouter; self-hosting free - Source: https://openrouter.ai/microsoft/phi-4 - Last checked: 2026-09-29 ## Specs - Input: text - Output: text - Context window: 16,384 tokens - Max output: not published - Open weights: yes - Licence: mit ## What it has not seen - No published training cutoff. Counted from its release (2024-12-12): at least 2,045 AI events since (480 major, 93 historic), as of 2026-11-13. - Everything since October 2024: https://postcutoff.com/since/2024-10/ ## What stands out - Synthetic-data small model: 14B dense model trained on 9.8T tokens heavy in curated synthetic data, prioritizing reasoning over scale (84.8 MMLU, 80.4 MATH). Source: https://huggingface.co/microsoft/phi-4 - Reasoning derivatives (found after launch): Base for Phi-4-reasoning, Phi-4-reasoning-plus, Phi-4-mini(-reasoning/-flash-reasoning) and Phi-4-multimodal-instruct open models. Source: https://huggingface.co/microsoft ## Notes No Phi-5 found on Hugging Face as of 2026-09-29 (microsoft org). Foundry model name not re-verified today. Siblings: microsoft/Phi-4-mini-instruct, microsoft/Phi-4-reasoning-plus, microsoft/Phi-4-multimodal-instruct. Small open model for local/edge reasoning, math and English text tasks. ```python from transformers import pipeline pipe = pipeline("text-generation", model="microsoft/phi-4", device_map="auto") print(pipe([{"role":"user","content":"Solve 2x+3=11"}], max_new_tokens=128)) ``` Sources: https://huggingface.co/microsoft/phi-4 , https://azure.microsoft.com/en-us/products/phi Model page: https://postcutoff.com/m/phi-4/