Phi 4 vs Hy4

Compare Phi 4 from Microsoft and Hy4 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

Overview

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

Analysis

Phi 4 vs Hy4 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
Input price
$0.417/M tokens
Phi 4
Output price
$0.14/M tokens
Hy4
Output price
$1.251/M tokens
Phi 4
Context window
16,384 tokens
Hy4
Context window
1,048,576 tokens
Phi 4
Intelligence Index Artificial Analysis, best published result
Not available
Hy4
Intelligence Index Artificial Analysis, best published result
34.6
Phi 4
Finance & Accounting Index Artificial Analysis, best published result
Not available
Hy4
Finance & Accounting Index Artificial Analysis, best published result
38.0
Phi 4
Strategy & Ops Index Artificial Analysis, best published result
Not available
Hy4
Strategy & Ops Index Artificial Analysis, best published result
48.7
Phi 4
Legal Index Artificial Analysis, best published result
Not available
Hy4
Legal Index Artificial Analysis, best published result
35.4
Phi 4
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Hy4
Healthcare & Medical Index Artificial Analysis, best published result
42.9
Phi 4
Engineering Index Artificial Analysis, best published result
Not available
Hy4
Engineering Index Artificial Analysis, best published result
41.1
Phi 4
Economics Index Artificial Analysis, best published result
Not available
Hy4
Economics Index Artificial Analysis, best published result
38.3
Phi 4
Cyber Index Artificial Analysis, best published result
Not available
Hy4
Cyber Index Artificial Analysis, best published result
58.00.0% of tasks refused
Phi 4
Openness Index Artificial Analysis, best published result
50.0
Hy4
Openness Index Artificial Analysis, best published result
33.3
Phi 4
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Hy4
FrontierCode-AA 2.0 Artificial Analysis, best published result
31.2%
Phi 4
GPQA Diamond score Artificial Analysis, best published result
57.5%
Hy4
GPQA Diamond score Artificial Analysis, best published result
Not available
Phi 4
Latency (p50)
0.88 s
Hy4
Latency (p50)
3.20 s
Phi 4
Throughput (p50)
85.0 tok/s
Hy4
Throughput (p50)
66.0 tok/s
Phi 4
Provided by
Microsoft
Hy4
Provided by
tencent

Benchmark data updated

Frequently asked questions

Is Phi 4 cheaper than Hy4?

Phi 4 is cheaper than Hy4 on OpenRouter: Phi 4 costs $0.07/M tokens input and $0.14/M tokens output, while Hy4 costs $0.417/M tokens input and $1.251/M tokens output.

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

Hy4 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?

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