PhiCookBook
This is a Phi Family of SLMs book for getting started with Phi Models. Phi a family of open sourced AI models developed by Microsoft. Phi models are the most capable and cost-effective small language models (SLMs) available, outperforming models of the same size and next size up across a variety of language, reasoning, coding, and math benchmarks
Install / Use
/learn @microsoft/PhiCookBookREADME
Phi Cookbook: Hands-On Examples with Microsoft's Phi Models
Phi is a series of open source AI models developed by Microsoft.
Phi is currently the most powerful and cost-effective small language model (SLM), with very good benchmarks in multi-language, reasoning, text/chat generation,coding, images, audio and other scenarios.
You can deploy Phi to the cloud or to edge devices, and you can easily build generative AI applications with limited computing power.
Follow these steps to get started using these resource :
- Fork the Repository: Click
- Clone the Repository:
git clone https://github.com/microsoft/PhiCookBook.git - Join The Microsoft AI Discord Community and meet experts and fellow developers

🌐 Multi-Language Support
Supported via GitHub Action (Automated & Always Up-to-Date)
<!-- CO-OP TRANSLATOR LANGUAGES TABLE START -->Arabic | Bengali | Bulgarian | Burmese (Myanmar) | Chinese (Simplified) | Chinese (Traditional, Hong Kong) | Chinese (Traditional, Macau) | Chinese (Traditional, Taiwan) | Croatian | Czech | Danish | Dutch | Estonian | Finnish | French | German | Greek | Hebrew | Hindi | Hungarian | Indonesian | Italian | Japanese | Kannada | Korean | Lithuanian | Malay | Malayalam | Marathi | Nepali | Nigerian Pidgin | Norwegian | Persian (Farsi) | Polish | Portuguese (Brazil) | Portuguese (Portugal) | Punjabi (Gurmukhi) | Romanian | Russian | Serbian (Cyrillic) | Slovak | Slovenian | Spanish | Swahili | Swedish | Tagalog (Filipino) | Tamil | Telugu | Thai | Turkish | Ukrainian | Urdu | Vietnamese
<!-- CO-OP TRANSLATOR LANGUAGES TABLE END -->Prefer to Clone Locally?
This repository includes 50+ language translations which significantly increases the download size. To clone without translations, use sparse checkout:
Bash / macOS / Linux:
git clone --filter=blob:none --sparse https://github.com/microsoft/PhiCookBook.git cd PhiCookBook git sparse-checkout set --no-cone '/*' '!translations' '!translated_images'CMD (Windows):
git clone --filter=blob:none --sparse https://github.com/microsoft/PhiCookBook.git cd PhiCookBook git sparse-checkout set --no-cone "/*" "!translations" "!translated_images"This gives you everything you need to complete the course with a much faster download.
Table of Contents
-
Introduction
-
Inference Phi in different environment
-
Inference Phi Family
- Inference Phi in iOS
- Inference Phi in Android
- Inference Phi in Jetson
- Inference Phi in AI PC
- Inference Phi with Apple MLX Framework
- Inference Phi in Local Server
- Inference Phi in Remote Server using AI Toolkit
- Inference Phi with Rust
- Inference Phi--Vision in Local
- Inference Phi with Kaito AKS, Azure Containers(official support)
-
Evaluation Phi
-
RAG with Azure AI Search
-
Phi application development samples
- Text & Chat Applications
- Phi-4 Samples
- Phi-3 / 3.5 Samples
- Text & Chat Applications
Related Skills
node-connect
335.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
82.5kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
335.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
82.5kCommit, push, and open a PR
