Phi 4

Open weight

Microsoft · 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. At 14 billion...

Facts and pricing

Provider
Microsoft
Context window
16K tokens
Input price
0.77 credits / 1M tokens ($0.070 raw)
Output price
1.5 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.10x margin. Raw prices shown per 1M tokens.

Try Phi 4 now

Ask Phi 4 anything. Your prompt opens in the Zeplik app with this model selected.

Phi 4

What Phi 4 is best for

Microsoft family

ModelContextInput cr/MOutput cr/MReleased
Phi 416K0.771.5January 2025
WizardLM-2 8x22B66K6.86.8April 2024

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. At 14 billion...
How much does Phi 4 cost on Zeplik?
Input tokens cost 0.77 credits per million and output tokens 1.5 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

WizardLM-2 8x22BOpen weight

WizardLM-2 8x22B is Microsoft AI's most advanced Wizard model. It demonstrates highly competitive performance compared to leading proprietary models, and it consistently outperforms all existing state-of-the-art opensource models. It is...

66K ctx6.8 cr/M outApril 2024
GPT-5.6 Luna ProFrontier

GPT-5.6 Luna Pro is the same underlying model as [GPT-5.6 Luna](https://openrouter.ai/openai/gpt-5.6-luna), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

1.1M ctx66.0 cr/M outJuly 2026
GPT-5.6 LunaFrontier

GPT-5.6 Luna is a fast, cost-efficient model in OpenAI's GPT-5.6 series. It is suited for high-volume, latency-sensitive tasks such as chat, classification, and lightweight agentic workflows, providing capable reasoning for...

1.1M ctx66.0 cr/M outJuly 2026
GPT-5.6 Terra ProFrontier

GPT-5.6 Terra Pro is the same underlying model as [GPT-5.6 Terra](https://openrouter.ai/openai/gpt-5.6-terra), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

1.1M ctx165 cr/M outJuly 2026
GPT-5.6 TerraFrontier

GPT-5.6 Terra is a balanced model in OpenAI's GPT-5.6 series, positioned between the flagship Sol tier and the cost-efficient Luna tier. It is suited for everyday coding, reasoning, and agentic...

1.1M ctx165 cr/M outJuly 2026
GPT-5.6 Sol ProFrontier

GPT-5.6 Sol Pro is the same underlying model as [GPT-5.6 Sol](https://openrouter.ai/openai/gpt-5.6-sol), served with `reasoning.mode` set to `pro` for higher-quality responses on complex tasks. Learn more in OpenAI's docs: https://developers.openai.com/api/docs/guides/reasoning#reasoning-mode

1.1M ctx330 cr/M outJuly 2026
Phi 4 - Microsoft AI Model | Zeplik Chat