Llama Guard 4 12B vs Qwen2.5 Coder 32B Instruct

Price, context window & benchmark comparison

M

Llama Guard 4 12B

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

Qwen2.5 Coder 32B Instruct

Qwen (Alibaba)
$0.66 / $1.00
Input / Output · per 1M tokens
Compare different models
M
Q
Verdict: Llama Guard 4 12B is 4.1× cheaper than Qwen2.5 Coder 32B Instruct on a typical 3:1 input/output mix. Llama Guard 4 12B has the larger context window (164K vs 33K).
Llama Guard 4 12BQwen2.5 Coder 32B Instruct
Input price / 1M$0.18$0.66
Output price / 1M$0.18$1.00
Blended price (3:1)$0.18$0.74
Cached input / 1M
Context window164K33K
Max output16K29K
Intelligence index
Coding index
Providers1
Best provider uptime (30m)100.0%
Vision inputYesNo
ReasoningNoNo
Tool callingNoNo
Released2025-04-302024-11-11
Retirement

Cost calculator

FAQ

Which is cheaper, Llama Guard 4 12B or Qwen2.5 Coder 32B Instruct?

Llama Guard 4 12B is 4.1× cheaper than Qwen2.5 Coder 32B Instruct on a typical 3:1 input/output mix.

Llama Guard 4 12B vs Qwen2.5 Coder 32B Instruct: which has a bigger context window?

Llama Guard 4 12B: 163,840 tokens. Qwen2.5 Coder 32B Instruct: 32,768 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Llama Guard 4 12B ≈ $450.00, Qwen2.5 Coder 32B Instruct ≈ $1,820.

More comparisons