Llama Guard 4 12B vs Mercury 2.5

Price, context window & benchmark comparison

M

Llama Guard 4 12B

Meta Llama
$0.18 / $0.18
Input / Output · per 1M tokens
VS
I

Mercury 2.5

Inception
$0.04 / $0.15
Input / Output · per 1M tokens
Compare different models
M
I
Verdict: Mercury 2.5 is 2.7× cheaper than Llama Guard 4 12B on a typical 3:1 input/output mix. Mercury 2.5 has the larger context window (260K vs 164K).
Llama Guard 4 12BMercury 2.5
Input price / 1M$0.18$0.04
Output price / 1M$0.18$0.15
Blended price (3:1)$0.18$0.0675
Cached input / 1M$0.004
Context window164K260K
Max output16K66K
Intelligence index
Coding index
Providers1
Best provider uptime (30m)100.0%
Vision inputYesNo
ReasoningNoYes
Tool callingNoYes
Released2025-04-302026-09-08
Retirement

Cost calculator

FAQ

Which is cheaper, Llama Guard 4 12B or Mercury 2.5?

Mercury 2.5 is 2.7× cheaper than Llama Guard 4 12B on a typical 3:1 input/output mix.

Llama Guard 4 12B vs Mercury 2.5: which has a bigger context window?

Llama Guard 4 12B: 163,840 tokens. Mercury 2.5: 260,000 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Llama Guard 4 12B ≈ $450.00, Mercury 2.5 ≈ $155.00.

More comparisons