Llama Guard 4 12B vs Hy4

Compare Llama Guard 4 12B from Meta Llama 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 meta-llama
Llama Guard 4 12B
Favicon for tencent
Hy4

Overview

Llama Guard 4 12B
Author
Meta Llama
Hy4
Author
tencent
Llama Guard 4 12B
Context length
164Ktokens
Hy4
Context length
1.05Mtokens
Llama Guard 4 12B
Reasoning
No
Hy4
Reasoning
Yes
Llama Guard 4 12B
Input modalities
Text, Image
Hy4
Input modalities
Text, Image
Llama Guard 4 12B
Output modalities
Text
Hy4
Output modalities
Text

Analysis

Llama Guard 4 12B 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.

Llama Guard 4 12B
Input price
$0.18/M tokens
Hy4
Input price
$0.417/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
Hy4
Output price
$1.251/M tokens
Llama Guard 4 12B
Context window
163,840 tokens
Hy4
Context window
1,048,576 tokens
Llama Guard 4 12B
Intelligence Index Artificial Analysis, best published result
Not available
Hy4
Intelligence Index Artificial Analysis, best published result
34.6
Llama Guard 4 12B
Finance & Accounting Index Artificial Analysis, best published result
Not available
Hy4
Finance & Accounting Index Artificial Analysis, best published result
38.0
Llama Guard 4 12B
Strategy & Ops Index Artificial Analysis, best published result
Not available
Hy4
Strategy & Ops Index Artificial Analysis, best published result
48.7
Llama Guard 4 12B
Legal Index Artificial Analysis, best published result
Not available
Hy4
Legal Index Artificial Analysis, best published result
35.4
Llama Guard 4 12B
Healthcare & Medical Index Artificial Analysis, best published result
Not available
Hy4
Healthcare & Medical Index Artificial Analysis, best published result
42.9
Llama Guard 4 12B
Engineering Index Artificial Analysis, best published result
Not available
Hy4
Engineering Index Artificial Analysis, best published result
41.1
Llama Guard 4 12B
Economics Index Artificial Analysis, best published result
Not available
Hy4
Economics Index Artificial Analysis, best published result
38.3
Llama Guard 4 12B
Cyber Index Artificial Analysis, best published result
Not available
Hy4
Cyber Index Artificial Analysis, best published result
58.00.0% of tasks refused
Llama Guard 4 12B
Openness Index Artificial Analysis, best published result
Not available
Hy4
Openness Index Artificial Analysis, best published result
33.3
Llama Guard 4 12B
FrontierCode-AA 2.0 Artificial Analysis, best published result
Not available
Hy4
FrontierCode-AA 2.0 Artificial Analysis, best published result
31.2%
Llama Guard 4 12B
Latency (p50)
0.64 s
Hy4
Latency (p50)
3.20 s
Llama Guard 4 12B
Throughput (p50)
44.0 tok/s
Hy4
Throughput (p50)
66.0 tok/s
Llama Guard 4 12B
Provided by
Meta Llama
Hy4
Provided by
tencent

Benchmark data updated

Frequently asked questions

Is Llama Guard 4 12B cheaper than Hy4?

Llama Guard 4 12B is cheaper than Hy4 on OpenRouter: Llama Guard 4 12B costs $0.18/M tokens input and $0.18/M tokens output, while Hy4 costs $0.417/M tokens input and $1.251/M tokens output.

Which has the longer context window, Llama Guard 4 12B or Hy4?

Hy4 has the longer context window at 1,048,576 tokens, compared with 163,840 tokens for Llama Guard 4 12B.

Which is faster, Llama Guard 4 12B or Hy4?

Hy4 is faster on OpenRouter, generating a median 66.0 tokens per second compared with 44.0 tokens per second for Llama Guard 4 12B.