Llama Guard 4 12B vs Mercury 2

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

Inception
$0.25 / $0.75
Input / Output · per 1M tokens
Compare different models
M
I
Verdict: Llama Guard 4 12B is 2.1× cheaper than Mercury 2 on a typical 3:1 input/output mix. Llama Guard 4 12B has the larger context window (164K vs 128K).
Llama Guard 4 12BMercury 2
Input price / 1M$0.18$0.25
Output price / 1M$0.18$0.75
Blended price (3:1)$0.18$0.38
Cached input / 1M$0.025
Context window164K128K
Max output16K50K
Intelligence index
Coding index31.1
Providers1
Best provider uptime (30m)100.0%
Vision inputYesNo
ReasoningNoYes
Tool callingNoYes
Released2025-04-302026-03-04
Retirement

Cost calculator

FAQ

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

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

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

Llama Guard 4 12B: 163,840 tokens. Mercury 2: 128,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 ≈ $875.00.

More comparisons