Llama Guard 4 12B vs Qwen3 235B A22B Instruct 2507

Price, context window & benchmark comparison

Meta Llama

Llama Guard 4 12B

Meta Llama
$0.18 / $0.18
Input / Output · per 1M tokens
VS
Qwen (Alibaba)

Qwen3 235B A22B Instruct 2507

Qwen (Alibaba)
$0.14 / $0.80
Input / Output · per 1M tokens
Compare different models
Meta Llama
Qwen (Alibaba)
Verdict: Llama Guard 4 12B is 41% cheaper than Qwen3 235B A22B Instruct 2507 on a typical 3:1 input/output mix. Qwen3 235B A22B Instruct 2507 has the larger context window (262K vs 164K).
Llama Guard 4 12BQwen3 235B A22B Instruct 2507
Input price / 1M$0.18$0.14
Output price / 1M$0.18$0.80
Blended price (3:1)$0.18$0.31
Cached input / 1M—$0.05
Context window164K262K
Max output16K118K
Intelligence index——
Coding index——
Providers3—
Best provider uptime (30m)100.0%—
Vision inputYesNo
ReasoningNoNo
Tool callingNoYes
Released2025-04-302025-07-21
Retirement——

Cost calculator

FAQ

Which is cheaper, Llama Guard 4 12B or Qwen3 235B A22B Instruct 2507?

Llama Guard 4 12B is 41% cheaper than Qwen3 235B A22B Instruct 2507 on a typical 3:1 input/output mix.

Llama Guard 4 12B vs Qwen3 235B A22B Instruct 2507: which has a bigger context window?

Llama Guard 4 12B: 163,840 tokens. Qwen3 235B A22B Instruct 2507: 262,144 tokens.

How much would 1 million requests cost?

At 2,000 input + 500 output tokens per request: Llama Guard 4 12B ≈ $450.00, Qwen3 235B A22B Instruct 2507 ≈ $680.00.

More comparisons