Gemma 4 26B A4B vs Llama Guard 4 12B

Price, context window & benchmark comparison

G

Gemma 4 26B A4B

Google
$0.09 / $0.30
Input / Output · per 1M tokens
VS
M

Llama Guard 4 12B

Meta Llama
$0.18 / $0.18
Input / Output · per 1M tokens
Compare different models
G
M
Verdict: Gemma 4 26B A4B is 21% cheaper than Llama Guard 4 12B on a typical 3:1 input/output mix. Gemma 4 26B A4B has the larger context window (262K vs 164K).
Gemma 4 26B A4B Llama Guard 4 12B
Input price / 1M$0.09$0.18
Output price / 1M$0.30$0.18
Blended price (3:1)$0.14$0.18
Cached input / 1M$0.05
Context window262K164K
Max output236K16K
Intelligence index
Coding index39.3
Providers1
Best provider uptime (30m)100.0%
Vision inputYesYes
ReasoningYesNo
Tool callingYesNo
Released2026-04-032025-04-30
Retirement

Cost calculator

FAQ

Which is cheaper, Gemma 4 26B A4B or Llama Guard 4 12B?

Gemma 4 26B A4B is 21% cheaper than Llama Guard 4 12B on a typical 3:1 input/output mix.

Gemma 4 26B A4B vs Llama Guard 4 12B: which has a bigger context window?

Gemma 4 26B A4B : 262,144 tokens. Llama Guard 4 12B: 163,840 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Gemma 4 26B A4B ≈ $330.00, Llama Guard 4 12B ≈ $450.00.

More comparisons