All models

Llama Guard 4 12B vs Qwen3 30B A3B

Llama Guard 4 12B at $0.207 in and $0.207 out and Qwen3 30B A3B at $0.138 in and $0.575 out — per million tokens, from the same wallet.

M

Llama Guard 4 12B

Meta

0.12¢

for a client proposal

$0.207 in · $0.207 out / 1M

164K context · released April 2025

Full page →
Q

Qwen3 30B A3B

Qwen

0.11¢

for a client proposal

$0.138 in · $0.575 out / 1M

41K context · released April 2025

Full page →

Asking all both at once — identical prompt, identical context — costs about 0.24¢ for a typical client proposal.

At a glance

  • Cheapest input: Qwen3 30B A3B at $0.138 per million tokens.
  • Cheapest output: Llama Guard 4 12B at $0.207 per million tokens.
  • Largest context: Llama Guard 4 12B at 164K tokens — about 230 pages.

Cost per task

Estimated totals at the rates above. Solid bar is input, lighter bar is output.

Quick code fix

2K in · 500 out
Llama Guard 4 12B
0.05¢
Qwen3 30B A3B
0.06¢

Draft a client proposal from notes

5K in · 800 out
Llama Guard 4 12B
0.12¢
Qwen3 30B A3B
0.11¢

Context-heavy session (Alyph workspace)

155K in · 4K out
Llama Guard 4 12B
3.3¢
Qwen3 30B A3B
needs 155K ctx

Analyze a 50-page legal contract

35K in · 1K out
Llama Guard 4 12B
0.75¢
Qwen3 30B A3B
0.54¢

Large architecture refactor

250K in · 3K out
Llama Guard 4 12B
needs 250K ctx
Qwen3 30B A3B
needs 250K ctx

Solid part of each bar is input tokens, the lighter part is output. Models that don’t fit a task are marked instead of priced.

Cost vs Token Amount

Drag the slider to adjust the split between input and output workload.

80% Input20% Output
free$0.11$0.230 tokens250k500k750k1000k
Llama Guard 4 12B
Qwen3 30B A3B

Adjust the ratio slider to change how output tokens influence the final price for equivalent workloads.

Pricing

Llama Guard 4 12B
Qwen3 30B A3B
Input / 1M tokens
$0.207
$0.138
Output / 1M tokens
$0.207
$0.575

Specs

Llama Guard 4 12B
Qwen3 30B A3B
Provider
Released
April 2025
April 2025
Context window
164K
41K
Max output
16K
16K
Input
Images and Text
Text
Output
Text
Text
Reasoning
Answers directly
Shows its thinking
Knowledge cutoff
2024-08-31
2025-03-31

Try it with real numbers

2K tokens in · 500 tokens out.

Llama Guard 4 12B

Meta

0.05¢

for this task

80% input · 20% output

Full pricing →

Qwen3 30B A3B

Qwen

0.06¢

for this task

49% input · 51% output

Full pricing →

All 2, same prompt and context: 0.11¢. That is the entire cost of the comparison.

Your $5 welcome credit covers about 4,625 of these.

Which should you pick?

For long documents, Llama Guard 4 12B has the largest context window here — 164K tokens.

On price, Qwen3 30B A3B is the cheapest of the two on a typical task, at about 0.11¢.

For images or files, Llama Guard 4 12B can read them directly; Qwen3 30B A3B is text-only.

If you want to watch the model think, Qwen3 30B A3B shows reasoning; the other answers directly.

Or don’t pick. Send the identical prompt to all both, read the answers side by side, and keep the winner. How to run a fair bake-off →

Questions, answered

Which is cheaper, Llama Guard 4 12B or Qwen3 30B A3B?

On a typical client proposal (5K tokens in, 800 out): Qwen3 30B A3B at 0.11¢; Llama Guard 4 12B at 0.12¢. Long prompts can change the order when long-context rates apply.

Which has the largest context window?

Llama Guard 4 12B — 164K tokens, about 230 pages.

Can I run Llama Guard 4 12B and Qwen3 30B A3B side by side on Alyph?

Yes — that is what Alyph is built for: the identical prompt with identical context to all 2, answers rendered side by side, billed from one wallet. This exact combination costs about 0.24¢ for a typical task.

Ask both at once

Identical prompt, identical context, answers side by side — about 0.24¢ for a typical client proposal. Free to start, with $5 of credit.