CreateWithAIHub

AI model Microsoft

Phi (Microsoft)

Microsoft's MIT-licensed Phi small language models (Phi-4 family) for reasoning, vision and multimodal tasks on modest hardware.

Open-weight modelsFree plan + paidOpen source
Visit website ↗
Save

What it is

Phi is Microsoft's family of small language models, currently the Phi-4 generation: the 14B Phi-4, Phi-4-mini, Phi-4-multimodal (text, image and audio input), Phi-4-reasoning variants and the newer Phi-4-reasoning-vision-15B. The models are released under the MIT license on Hugging Face and can run locally, for example with Ollama or vLLM. Microsoft also serves them as pay-per-token models in Microsoft Foundry (Azure AI Foundry).

What it's useful for

Running a small reasoning model locally or at the edge for math, logic or document Q&A where a large model is too slow or costly.

Key features

  • Phi-4 (14B), Phi-4-mini and Phi-4-mini-flash-reasoning
  • Phi-4-multimodal with text, image and audio input
  • Phi-4-reasoning and Phi-4-reasoning-plus
  • Phi-4-reasoning-vision-15B for image reasoning
  • MIT license with weights on Hugging Face
  • Pay-per-token serving in Microsoft Foundry

How to use it

Serve with vLLM (from the Phi-4 model card)
pip install vllm
vllm serve "microsoft/phi-4"
Run with Docker Model Runner
docker model run hf.co/microsoft/phi-4

Commands are copied from the official documentation. Check the docs for the latest version before running them.

Limitations to know

  • Primarily English; the model card says it is not intended for multilingual use
  • Short context on some models (16K on the Phi-4 model card)
  • Model cards warn against high-risk uses without further evaluation

Alternatives

Google DeepMind's Apache-2.0 open-weight Gemma 4 models, from on-device E2B to 31B, with text, image and audio input.

FreeOpen source

Meta's family of downloadable open-weight language models, including the multimodal mixture-of-experts Llama 4.

Free

OpenAI's Apache-2.0 open-weight reasoning models, gpt-oss-120b and gpt-oss-20b, for local and self-hosted use.

FreeOpen source

DeepSeek's MIT-licensed open-weight reasoning and chat models, also served through an OpenAI- and Anthropic-compatible API.

Free plan + paidOpen source

See all 7 Phi (Microsoft) alternatives →

MCP servers for this

MCP reference server that fetches a web page and returns its content as markdown for the model to read.

FreeOpen source

CreateWithAI Hub's own MCP server: tell your AI what you're building and it finds the tools, MCP servers and skills for the job.

FeaturedFree

Brave's MCP server that gives agents web, news, image, video and local search through the Brave Search API.

Free plan + paidOpen source

Skills for this

Anthropic's skill for building, editing, testing and benchmarking new Agent Skills with Claude.

FreeOpen source

Related resources

AI academic search engine that finds peer-reviewed papers among 400M+ articles and summarizes what the research says.

Free plan + paid

AI maker for presentations, documents, websites and social posts from a prompt, with an API and a hosted MCP server.

Free plan + paid

Google's source-grounded research notebook (formerly NotebookLM) that answers from your documents and turns them into audio, video and study aids.

Free plan + paid

Google's web workspace for trying Gemini models and getting a Gemini API key with a free usage tier.

Free plan + paid

Type to search. Use ↑ ↓ and Enter.