Phi 4
Open weightMicrosoft · Released January 2025 · Knowledge cutoff June 2024
[Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed.
It belongs to Microsoft's small-model research line, where Phi trades size for data quality.
Facts and pricing
- Provider
- Microsoft
- Context window
- 16K tokens
- Input price
- 0.84 credits / 1M tokens ($0.070 raw)
- Output price
- 1.7 credits / 1M tokens ($0.14 raw)
- Vision (image input)
- No
- Tool calling
- No
- Extended reasoning
- No
Credits are what Zeplik bills: 1 credit = $0.10, computed from the raw provider rate with a 1.20x margin. Raw prices shown per 1M tokens.
Try Phi 4 now
What Phi 4 is best for
- Everyday chat and drafting on an open-weight model with transparent lineage
Example prompts
Prompts that suit a open weight model like Phi 4:
- Draft a project update from these rough notes
- Explain how HTTPS works to a curious teenager
- Turn this list of features into a changelog entry
- Brainstorm objections to this proposal and how to answer them
Model comparisons
- Claude Opus 5.5 vs Claude Opus 5
- Claude Opus 5.5 vs GPT-6 Astra
- Claude Opus 5.5 vs GPT-6 Sol
- Claude Opus 5.5 vs Claude Sonnet 5
Frequently asked questions
- What is Phi 4?
- Phi 4 is an AI model by Microsoft. [Microsoft Research](/microsoft) Phi-4 is designed to perform well in complex reasoning tasks and can operate efficiently in situations with limited memory or where quick responses are needed.
- How much does Phi 4 cost on Zeplik?
- Input tokens cost 0.84 credits per million and output tokens 1.7 credits per million (1 credit = $0.10; the raw provider rates are $0.070 and $0.14 per million). New accounts start with free credits.
- How long can a conversation with Phi 4 be?
- Phi 4 has a 16K-token context window (16,384 tokens), which covers the conversation plus any documents you attach.
- Does Phi 4 support images and tools?
- Phi 4 is text-only and does not support tool calling.
Related models
Ripple-65B-Preview by ricursiveAI, a 65B model with native tool calling, served in BF16.
Crouton Alpha is a lightweight model built for scalable coding, agentic, and multimodal workflows. It's ideal for executing agentic sub-tasks, tool use, and document analysis in high-volume, repeated work.
GLM-5.3-FlashX-Legal (GLM-Legal) is Z.ai's legal-domain variant of GLM-5.3-FlashX, a native multimodal model that accepts text, image, and video input and produces text.
Particle-1 is a token-efficient agentic coding model from Particle AI, post-trained on DeepSeek V4.1 Flash.
GPT-6.1 Terra Pro is the same underlying model as [GPT-6.1 Terra](https://openrouter.ai/openai/gpt-6.1-terra), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks.
More you can do with Phi 4
- 468 AI skillsReady-to-run expert methods for writing, data, code and more, each running on Phi 4 or any model you pick.
- 997 integrationsConnect Gmail, Slack, GitHub, Notion and hundreds more so the assistant can work in your apps.
- Simple pricingPlus, Pro and Max plans with a monthly credit allowance that works across every model.