Skip to main content

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.

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

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

Phi 4

Or open Zeplik with Phi 4 already selected

What Phi 4 is best for

Example prompts

Prompts that suit a open weight model like Phi 4:

Model comparisons

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

More you can do with Phi 4