Unlock quicker, environment friendly reasoning with Phi-4-mini-flash-reasoning—optimized for edge, cell, and real-time purposes.
State-of-the-art structure redefines velocity for reasoning fashions
Microsoft is worked up to unveil a brand new version to the Phi mannequin household: Phi-4-mini-flash-reasoning. Function-built for situations the place compute, reminiscence, and latency are tightly constrained, this new mannequin is engineered to deliver superior reasoning capabilities to edge gadgets, cell purposes, and different resource-constrained environments. This new mannequin follows Phi-4-mini, however is constructed on a brand new hybrid structure, that achieves as much as 10 occasions larger throughput and a 2 to three occasions common discount in latency, enabling considerably quicker inference with out sacrificing reasoning efficiency. Able to energy actual world options that demand effectivity and suppleness, Phi-4-mini-flash-reasoning is on the market on Azure AI Foundry, NVIDIA API Catalog, and Hugging Face in the present day.
Effectivity with out compromiseÂ
Phi-4-mini-flash-reasoning balances math reasoning potential with effectivity, making it doubtlessly appropriate for academic purposes, real-time logic-based purposes, and extra.Â
Just like its predecessor, Phi-4-mini-flash-reasoning is a 3.8 billion parameter open mannequin optimized for superior math reasoning. It helps a 64K token context size and is fine-tuned on high-quality artificial information to ship dependable, logic-intensive efficiency deployment. Â
What’s new?
On the core of Phi-4-mini-flash-reasoning is the newly launched decoder-hybrid-decoder structure, SambaY, whose central innovation is the Gated Reminiscence Unit (GMU), a easy but efficient mechanism for sharing representations between layers. The structure features a self-decoder that mixes Mamba (a State Area Mannequin) and Sliding Window Consideration (SWA), together with a single layer of full consideration. The structure additionally entails a cross-decoder that interleaves costly cross-attention layers with the brand new, environment friendly GMUs. This new structure with GMU modules drastically improves decoding effectivity, boosts long-context retrieval efficiency and allows the structure to ship distinctive efficiency throughout a variety of duties.Â
Key advantages of the SambaY structure embrace:Â
- Enhanced decoding effectivity.
- Preserves linear prefiling time complexity.
- Elevated scalability and enhanced lengthy context efficiency.
- As much as 10 occasions larger throughput.

Phi-4-mini-flash-reasoning benchmarksÂ
Like all fashions within the Phi household, Phi-4-mini-flash-reasoning is deployable on a single GPU, making it accessible for a broad vary of use instances. Nevertheless, what units it aside is its architectural benefit. This new mannequin achieves considerably decrease latency and better throughput in comparison with Phi-4-mini-reasoning, significantly in long-context era and latency-sensitive reasoning duties.Â
This makes Phi-4-mini-flash-reasoning a compelling choice for builders and enterprises trying to deploy clever techniques that require quick, scalable, and environment friendly reasoning—whether or not on premises or on-device.Â



What are the potential use instances?Â
Because of its decreased latency, improved throughput, and deal with math reasoning, the mannequin is right for:Â
- Adaptive studying platforms, the place real-time suggestions loops are important.
- On-device reasoning assistants, resembling cell examine aids or edge-based logic brokers.
- Interactive tutoring techniques that dynamically alter content material issue based mostly on a learner’s efficiency.
Its power in math and structured reasoning makes it particularly worthwhile for training expertise, light-weight simulations, and automatic evaluation instruments that require dependable logic inference with quick response occasions.Â
Builders are inspired to attach with friends and Microsoft engineers by means of the Microsoft Developer Discord group to ask questions, share suggestions, and discover real-world use instances collectively.Â
Microsoft’s dedication to reliable AIÂ
Organizations throughout industries are leveraging Azure AI and Microsoft 365 Copilot capabilities to drive development, enhance productiveness, and create value-added experiences.Â
We’re dedicated to serving to organizations use and construct AI that’s reliable, which means it’s safe, personal, and protected. We deliver greatest practices and learnings from many years of researching and constructing AI merchandise at scale to offer industry-leading commitments and capabilities that span our three pillars of safety, privateness, and security. Reliable AI is just potential once you mix our commitments, resembling our Safe Future Initiative and our accountable AI ideas, with our product capabilities to unlock AI transformation with confidence. Â
Phi fashions are developed in accordance with Microsoft AI ideas: accountability, transparency, equity, reliability and security, privateness and safety, and inclusiveness. Â
The Phi mannequin household, together with Phi-4-mini-flash-reasoning, employs a sturdy security post-training technique that integrates Supervised High-quality-Tuning (SFT), Direct Choice Optimization (DPO), and Reinforcement Studying from Human Suggestions (RLHF). These strategies are utilized utilizing a mix of open-source and proprietary datasets, with a powerful emphasis on guaranteeing helpfulness, minimizing dangerous outputs, and addressing a broad vary of security classes. Builders are inspired to use accountable AI greatest practices tailor-made to their particular use instances and cultural contexts.Â
Learn the mannequin card to study extra about any threat and mitigation methods. Â
Study extra in regards to the new mannequinÂ
Create with Azure AI Foundry