Llama Guard 4 12B vs Hy4 flash

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

Overview

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

Analysis

Llama Guard 4 12B vs Hy4 flash at a glance

Llama Guard 4 12B
Input price
$0.18/M tokens
Hy4 flash
Input price
$0.05/M tokens
Llama Guard 4 12B
Output price
$0.18/M tokens
Hy4 flash
Output price
$0.20/M tokens
Llama Guard 4 12B
Context window
163,840 tokens
Hy4 flash
Context window
1,048,576 tokens
Llama Guard 4 12B
Latency (p50)
0.64 s
Hy4 flash
Latency (p50)
3.20 s
Llama Guard 4 12B
Throughput (p50)
44.0 tok/s
Hy4 flash
Throughput (p50)
18.0 tok/s
Llama Guard 4 12B
Provided by
Meta Llama
Hy4 flash
Provided by
tencent

Frequently asked questions

Is Llama Guard 4 12B cheaper than Hy4 flash?

Llama Guard 4 12B and Hy4 flash trade off on price: Llama Guard 4 12B costs $0.18/M tokens input and $0.18/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 Llama Guard 4 12B is cheaper for output tokens.

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

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

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