All models

Phi 4 vs Hy3 preview

Phi 4 at $0.081 in and $0.161 out and Hy3 preview at $0.072 in and $0.241 out — per million tokens, from the same wallet.

M

Phi 4

Microsoft

0.05¢

for a client proposal

$0.081 in · $0.161 out / 1M

16K context · released January 2025

Full page →
T

Hy3 preview

Tencent

0.06¢

for a client proposal

$0.072 in · $0.241 out / 1M

262K context · released 4 months ago

Full page →

Asking all both at once — identical prompt, identical context — costs about 0.11¢ for a typical client proposal.

At a glance

  • Cheapest input: Hy3 preview at $0.072 per million tokens.
  • Cheapest output: Phi 4 at $0.161 per million tokens.
  • Largest context: Hy3 preview at 262K tokens — about 370 pages.

Cost per task

Estimated totals at the rates above. Solid bar is input, lighter bar is output.

Quick code fix

2K in · 500 out
Phi 4
0.02¢
Hy3 preview
0.03¢

Draft a client proposal from notes

5K in · 800 out
Phi 4
0.05¢
Hy3 preview
0.06¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Phi 4
needs 155K ctx
Hy3 preview
1.2¢

Analyze a 50-page legal contract

35K in · 1K out
Phi 4
needs 35K ctx
Hy3 preview
0.28¢

Large architecture refactor

250K in · 3K out
Phi 4
needs 250K ctx
Hy3 preview
1.9¢

Solid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.

Cost vs Token Amount

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

80% Input20% Output
free$0.05$0.110 tokens250k500k750k1000k
Phi 4
Hy3 preview

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

Pricing

Phi 4
Hy3 preview
Input / 1M tokens
$0.081
$0.072
Output / 1M tokens
$0.161
$0.241
Cached input / 1M
$0.024

Specs

Phi 4
Hy3 preview
Released
January 2025
4 months ago
Context window
16K
262K
Max output
16K
Input
Text
Text
Output
Text
Text
Reasoning
Answers directly
Shows its thinking
Knowledge cutoff
2024-06-30

Try it with real numbers

2K tokens in · 500 tokens out.

Phi 4

Microsoft

0.02¢

for this task

67% input · 33% output

Full pricing →

Hy3 preview

Tencent

0.03¢

for this task

55% input · 45% output

Full pricing →

All 2, same prompt and context: 0.05¢. That is the entire cost of the comparison.

Your $5 welcome credit covers about 9,859 of these.

Which should you pick?

For long documents, Hy3 preview has the largest context window here — 262K tokens.

On price, Phi 4 is the cheapest of the two on a typical task, at about 0.05¢.

If you want to watch the model think, Hy3 preview shows reasoning; the other answers directly.

Or don’t pick. Send the identical prompt to all both, read the answers side by side, and keep the winner. How to run a fair bake-off →

Questions, answered

Which is cheaper, Phi 4 or Hy3 preview?

On a typical client proposal (5K tokens in, 800 out): Phi 4 at 0.05¢; Hy3 preview at 0.06¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Hy3 preview — 262K tokens, about 370 pages.

Can I run Phi 4 and Hy3 preview side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 2, answers rendered side by side, billed from one wallet. This exact combination costs about 0.11¢ for a typical task.

Ask both at once

Identical prompt, identical context, answers side by side — about 0.11¢ for a typical client proposal. Free to start, with $5 of credit.