Phi-4 is the latest small language model (SLM), with 14B parameters. It excels in complex reasoning, including math, as well as conventional language processing. Phi-4, the latest member of the Phi family of SLMs, demonstrates what is possible as we continue exploring the boundaries of SLMs. Phi-4 will be available in Hugging Face and Azure AI Foundry, under a Microsoft Research License Agreement. Phi-4 is superior to comparable and larger models in math-related reasoning thanks to improvements throughout the process, including the use high-quality synthetic data, curation of organic data of high quality, and innovations post-training. Phi-4 continues pushing the boundaries of size vs. quality.