This is the Trace Id: 817b66a27b1221495b72aa9a30a962b8
Skip to main content Explore View all products (200+) Microsoft Foundry Azure Copilot GitHub Copilot Azure Kubernetes Service (AKS) Azure Cosmos DB Azure Database for PostgreSQL Azure Arc Microsoft Fabric Linux virtual machines in Azure Foundry Models Foundry Agent Service Foundry IQ Foundry Tools Foundry Control Plane Observability in Foundry Control Plane Azure OpenAI in Foundry Models Azure Speech in Foundry Tools Azure Machine Learning View all databases Azure Cosmos DB Azure DocumentDB Azure SQL Azure Database for PostgreSQL Azure Managed Redis Microsoft Fabric Azure Databricks Linux virtual machines in Azure Windows Server on Azure Azure Functions Azure Virtual Machine Scale Sets Azure API Management Azure Container Apps Azure Kubernetes Service (AKS) Azure Kubernetes Fleet Manager Azure Container Registry Azure Red Hat OpenShift Azure Container Instances Azure Container Storage Azure Arc Azure Local Microsoft Defender for Cloud Azure Monitor Microsoft Sentinel Azure Migrate View all solutions (40+) Cloud solutions for small and medium businesses Cloud migration and modernization center Data analytics for AI Azure Databases AI apps and agents Microsoft Marketplace Microsoft Sovereign Cloud AI apps and agents Responsible AI with Azure AI Infrastructure Data analytics for AI Machine learning operations (MLOps) Low-code application development on Azure Integration Services Serverless computing DevOps Migration and modernization center .NET apps migration Databases on Azure Linux on Azure Oracle on Azure SAP on the Microsoft Cloud Adaptive cloud High-performance computing (HPC) Infrastructure as a service (IaaS) Resiliency Azure Essentials Frontier Accelerate for Azure FinOps on Azure Microsoft Marketplace Azure pricing overview Create an Azure account Free Azure services Flexible purchase options Pricing calculator FinOps on Azure Maximize ROI from AI Azure savings plans Azure reservations Azure Hybrid Benefit Virtual Machines Azure SQL Microsoft Foundry Microsoft Fabric Azure Kubernetes Service (AKS) Microsoft Defender for Cloud View more Software Development Companies Microsoft Marketplace Find a partner Resources for Azure partners Get started with Azure Customer stories Analyst reports, white papers, and e-books Videos Learn more about cloud computing Documentation Explore Azure portal Developer resources Quickstart templates Resources for startups Developer community Students Azure for partners Blog Events and Webinars Learn Support Contact Sales Get started with Azure Sign in

Phi open model family

Phi models offer cost-effective, high-performance AI solutions at the edge, pushing the boundaries of generative AI.
The Microsoft suite of small language models is shaping the future of AI.
OVERVIEW

Redefining what’s possible with SLMs

  • Tailor a small language model to your organization’s specific needs with the extensive customization Phi models offer.
    A man and woman looking at a laptop.
  • Get accelerated response times for real-time guidance, autonomous systems, apps requiring low latency, and other critical scenarios using Phi models trained on high-quality data and built for agility.
    Two people disucssing something using a tab
  • Integrate Phi models into your existing infrastructure for flexible deployment and seamless management in the cloud, at the edge, and directly on device.
    A group of women looking at a paper.
  • Phi models are developed in accordance with Microsoft AI principles: accountability, transparency, fairness, reliability and safety, privacy and security, and inclusiveness.
    A man wearing glasses and a vest looking at a computer screen.
FEATURES

Use Phi for generative AI applications

Flexible deployment

Deploy locally for more control over the model and its environment—with or without connection to the cloud.

Ultra low latency

Designed to deliver ultra-low latency, Phi models offer fast response times making them suitable for real-time applications.

Multimodal capabilities

Deliver enhanced versatility across tasks using multimodal Phi models that integrate text, vision, and audio inputs.

Cost-constrained tasks

Designed to be lightweight and resource efficient, Phi models enable developers to create new tools without compromising on performance.

Customization and precision

Boost performance by fine-tuning the models with domain specific data.

Accurate and relevant answers

Generate more coherent, accurate, and contextually relevant outputs with high quality training data and increased context length.
Security

Embedded security and compliance

34,000
Full-time equivalent engineers dedicated to security initiatives at Microsoft.
15,000
Partners with specialized security expertise.
 
>100
Compliance certifications, including over 50 specific to global regions and countries.
Person wearing a denim jacket uses a tablet in a clothing store, with colorful garments hanging in the background.
PRICING

Phi models

Explore flexible pricing for the family of Phi models. Each model supports various pricing options to fit your needs. Phi models are available through model as a service (MaaS) with pay-as-you-go billing via inference APIs.

Users can also access Phi models for free for real-time deployment through Microsoft Foundry or Hugging Face.
FAQ

Frequently asked questions

  • Phi-4-mini and Phi-4-multimodal are the newest models in the Phi open model family. These two models join Phi-4 as the next models in the series. 

    Phi-4-mini features a 200,000 word vocabulary allowing for increased multilingual support, grouped-query attention, built in function calling, improved instruction following, and shared embedding (compared to Phi-3.5-mini). 

    Phi-4-multimodal is the first model of the Phi family that supports text, audio, and vision inputs allowing for natural and context-aware interactions. This model features a 200,000 word vocabulary in more than 20 languages, and specializes in speech recognition, translation, summarization, Q&A, and audio understanding. It also provides comprehensive image analysis capabilities, including OCR, chart and table interpretation, and multi-image/multi-frame comparison.
  • Phi models have evolved since their inception. Starting with Phi-1 and Phi-2, Microsoft introduced groundbreaking innovation in AI, that went on to drastically change the tech landscape. Phi refers to the family of models as a whole. Within the Phi model family, there are multiple series of models. See below for the full list:
     
    • Phi-4-multimodal: For tasks that require text, audio, and image inputs

    • Phi-4-mini: For enhanced natural language instruction prompting and advanced reasoning

    • Phi-4: For complex reasoning and math problem solving 

    • Phi-3.5: For enhanced multilingual support and improved performance

    • Phi-3: For language understanding, reasoning tasks, and coding benchmarks

    • Phi-2: For language comprehension

    • Phi-1.5: For reasoning and understanding

    • Phi-1: For Python coding

    • Phi: For language understanding and reasoning tasks
       

    *Phi also performs well on coding benchmarks.

  • Yes, Phi models have been through rigorous safety post-training. The Phi models, starting from Phi-3 onwards, are designed for production environments. These models are highly capable and cost-effective, making them suitable for a wide range of applications.
  • Phi is available open source through the Azure AI Foundry ModelsHugging Face, and Ollama.
  • Phi is available across regions where Azure AI Foundry is available.
  • Yes, Phi models are available through MaaS.
  • Yes, Phi models can be fine-tuned. Read more about fine-tuning Phi in the Phi Cookbook.
  • Phi was originally trained and optimized for English. The more recent models have been expanded to support over 20 languages.
  • The newest models were trained on offline datasets with a cutoff date of June 2024 for publicly available data.
  • Phi is the Microsoft family of small language models (SLMs). These models were created to give developers tools to implement AI directly on a device without the need for cloud connectivity. Phi models are open source through the MIT License.

    Phi-3 was the first set of publicly available SLMs released. With the addition of new model offerings, including Phi-3.5 and Phi-4, the series is now unified under the Phi brand name.
A woman sitting at a table using a laptop.
Next steps

Choose the Azure account that’s right for you

Pay as you go or try Azure free for up to 30 days.
A woman in a green shirt with curly hair smiling while holding a phone.
Azure Solutions

Azure cloud solutions

Solve your business problems with proven combinations of Azure cloud services, as well as sample architectures and documentation.
A man in a white shirt using a laptop.
Business Solution Hub

Find the right Microsoft Cloud solution

Browse the Microsoft Business Solutions Hub to find the products and solutions that can help your organization reach its goals.