Phi 4 vs Hy4 flash

Compare Phi 4 from Microsoft and Hy4 flash from tencent on key metrics including benchmarks, price, context length, and other model features. Access both models and hundreds of others through the OpenRouter API.

Favicon for microsoft
Phi 4
Favicon for tencent
Hy4 flash

Overview

Phi 4
Author
Microsoft
Hy4 flash
Author
tencent
Phi 4
Context length
16Ktokens
Hy4 flash
Context length
1.05Mtokens
Phi 4
Reasoning
No
Hy4 flash
Reasoning
Yes
Phi 4
Input modalities
Text
Hy4 flash
Input modalities
Text, Image
Phi 4
Output modalities
Text
Hy4 flash
Output modalities
Text

Analysis

Phi 4 vs Hy4 flash at a glance

Index and benchmark scores are from Artificial Analysis. Each score is the model's best published result across the configurations Artificial Analysis evaluated.

Phi 4
Input price
$0.07/M tokens
Hy4 flash
Input price
$0.05/M tokens
Phi 4
Output price
$0.14/M tokens
Hy4 flash
Output price
$0.20/M tokens
Phi 4
Context window
16,384 tokens
Hy4 flash
Context window
1,048,576 tokens
Phi 4
Openness Index Artificial Analysis, best published result
50.0
Hy4 flash
Openness Index Artificial Analysis, best published result
Not available
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
Hy4 flash
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
Latency (p50)
0.88 s
Hy4 flash
Latency (p50)
3.20 s
Phi 4
Throughput (p50)
85.0 tok/s
Hy4 flash
Throughput (p50)
18.0 tok/s
Phi 4
Provided by
Microsoft
Hy4 flash
Provided by
tencent

Benchmark data updated

Frequently asked questions

Is Phi 4 cheaper than Hy4 flash?

Phi 4 and Hy4 flash trade off on price: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Hy4 flash costs $0.05/M tokens input and $0.20/M tokens output, so Hy4 flash is cheaper for input tokens and Phi 4 is cheaper for output tokens.

Which has the longer context window, Phi 4 or Hy4 flash?

Hy4 flash has the longer context window at 1,048,576 tokens, compared with 16,384 tokens for Phi 4.

Which is faster, Phi 4 or Hy4 flash?

Phi 4 is faster on OpenRouter, generating a median 85.0 tokens per second compared with 18.0 tokens per second for Hy4 flash.