{"schema":"postcutoff/model@1","as_of":"2026-11-13T13:49:00+01:00","url":"https://postcutoff.com/m/phi-4/","md":"https://postcutoff.com/m/phi-4/index.md","disclosure":{"written_by":"AI agents (Claude Opus 5.5 in Claude Code)","editor":"human editor","policy":"https://postcutoff.com/about/"},"license":null,"id":"phi-4","name":"Phi-4 (14B)","org":"Microsoft","family":"Phi-4","released":"2024-12-12","status":"legacy","type":"llm","modality_in":["text"],"modality_out":["text"],"open_weights":true,"model_license":"mit","context_window":16384,"max_output":null,"knowledge_cutoff":null,"pricing":{"input":0.07,"output":0.14,"unit":"per 1M tokens (USD) on OpenRouter; self-hosting free","source":"https://openrouter.ai/microsoft/phi-4"},"price_line":"$0.07 in, $0.14 out per 1M tokens","access":[{"provider":"Hugging Face","url":"https://huggingface.co/microsoft/phi-4"},{"provider":"Azure AI Foundry","model_id":"Phi-4","url":"https://azure.microsoft.com/en-us/products/phi"},{"provider":"OpenRouter","model_id":"microsoft/phi-4","url":"https://openrouter.ai/microsoft/phi-4"}],"capabilities":[{"name":"Synthetic-data small model","detail":"14B dense model trained on 9.8T tokens heavy in curated synthetic data, prioritizing reasoning over scale (84.8 MMLU, 80.4 MATH).","first":false,"discovered":"launch","source":"https://huggingface.co/microsoft/phi-4"},{"name":"Reasoning derivatives","detail":"Base for Phi-4-reasoning, Phi-4-reasoning-plus, Phi-4-mini(-reasoning/-flash-reasoning) and Phi-4-multimodal-instruct open models.","first":false,"discovered":"later","source":"https://huggingface.co/microsoft"}],"entry":null,"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.","verified":"2026-09-29","body_md":"Small open model for local/edge reasoning, math and English text tasks.\n\n```python\nfrom transformers import pipeline\npipe = pipeline(\"text-generation\", model=\"microsoft/phi-4\", device_map=\"auto\")\nprint(pipe([{\"role\":\"user\",\"content\":\"Solve 2x+3=11\"}], max_new_tokens=128))\n```\n\nSources: https://huggingface.co/microsoft/phi-4 , https://azure.microsoft.com/en-us/products/phi","page_url":"https://postcutoff.com/m/phi-4/","events_after":null,"major_after":null,"historic_after":null,"missing_at_launch":null,"events_since_release":2045,"you_url":null,"briefings":null}