All Microsoft models
M

Phi 4

Microsoft · released January 2025

Phi 4 is a Microsoft model with a 16K token context window — about 23 pages of text. It reads Text and replies in Text.

$0.081

input / 1M tokens

$0.161

output / 1M tokens

16K

context — about 23 pages

0.05¢

a client proposal

Pricing

Input
$0.081 per million tokens
Output
$0.161 per million tokens

Billed from your Alyph wallet. Prices can change when the provider changes theirs — last checked August 9, 2026.

The numbers

Provider
Released
January 2025 (2025-01-10)
Context window
16K tokens — about 23 pages
Max output
16K tokens per reply
Input
Text
Output
Text
Reasoning
Answers directly
Knowledge cutoff
2024-06-30

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free4.8¢$0.100 tokens250k500k750k1000k
Phi 4

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

What a task costs

2K tokens in · 500 tokens out.

Phi 4

Microsoft

0.02¢

for this task

67% input · 33% output

Full pricing →

Your $5 welcome credit covers about 20,703 of these.

Compare Phi 4

Closest in price on a typical task:

Questions, answered

How much does Phi 4 cost on Alyph?

Phi 4 costs $0.081 per million input tokens and $0.161 per million output tokens on Alyph. A typical task — 5K tokens in, 800 out — works out to about 0.05¢. Billed from your Alyph wallet, with hard spending limits. Prices can change when the provider changes theirs; this page was last checked on August 9, 2026.

What is Phi 4's context window?

16K tokens — about 23 pages. Replies can be up to 16K tokens long.

Can Phi 4 read images and files?

Phi 4 is text-only. The canvas still serializes uploads into plain text, so you can work with files — but it cannot see images.

Does Phi 4 show its reasoning?

No — Phi 4 answers directly, without a visible thinking pass.

Test Phi 4 against Hy3 preview

One prompt, both models at the same time, the better answer wins. Free to start, with $5 of credit.