Enter opens the highlighted result. Esc closes.

Llama Guard 4 12B vs Qwen3 30B A3B Instruct 2507

Llama Guard 4 12B costs 1.7x less per output token than Qwen3 30B A3B Instruct 2507 ($0.18 vs $0.30 per million). Updated October 22, 2026; no benchmark has tested both models yet.

Llama Guard 4 12BMeta Llama
Coding
No data
Overall
No data
Output $/M
$0.18
Qwen3 30B A3B Instruct 2507Qwen
Coding
No data
Overall
41.5
Output $/M
$0.30
vs $0.18 vs $0.30 per 1M output tokens. Llama Guard 4 12B is 1.7x cheaper.

Llama Guard 4 12B or Qwen3 30B A3B Instruct 2507: which to pick

Neither model has a coding score yet, so the two cannot be ranked on coding.

Pick Llama Guard 4 12B for output tokens 1.7x cheaper ($0.18 vs $0.30 per million).

No benchmark has tested both yet. Llama Guard 4 12B has none yet; Qwen3 30B A3B Instruct 2507 on LiveCodeBench (Artificial Analysis run), SciCode and Terminal-Bench Hard (Artificial Analysis run). Compare them on price and context instead.

Which one for your work

Each card is decided by one number both models carry. Where only one has it, the card says so and makes no call.

At a glance

Coding index
Llama Guard 4 12B not benchmarked, Qwen3 30B A3B Instruct 2507 not benchmarked.
Widest category
None yet: no category has been tested on both models.
Widest single gap
None yet: no benchmark has tested both models.
Output price
Llama Guard 4 12B $0.18 against Qwen3 30B A3B Instruct 2507 $0.30 per million output tokens, 1.7x apart.
Context window
Llama Guard 4 12B takes 164K tokens, Qwen3 30B A3B Instruct 2507 262K.

Benchmark by benchmark

Every board either model has a result on, a category to a fold; bars are each result on a 0 to 100 scale. Only one model is measured on each, so no row names a leader.

CodingDirectional onlySix of these boards feed the Vibe Coding Index5 boards measured
Coding benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
LiveCodeBench (Artificial Analysis run)Not measured70.7%Only Qwen3 30B A3B Instruct 2507 measured
SciCodeNot measured33.0%Only Qwen3 30B A3B Instruct 2507 measured
Terminal-Bench Hard (Artificial Analysis run)Not measured6.1%Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: codingNot measured1416Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: software and ITNot measured1417Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 38 boards here
IntelligenceDirectional onlyPublic boards, shown as published, kept out of the index1 board measured
Intelligence benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
AA Intelligence IndexNot measured7.5Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 1 board here
Agentic workDirectional onlyPublic boards, shown as published, kept out of the index2 boards measured
Agentic work benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
τ²-Bench TelecomNot measured28.1%Only Qwen3 30B A3B Instruct 2507 measured
Berkeley Function Calling Leaderboard (BFCL)Not measured41.4%Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 40 boards here
ReasoningDirectional onlyPublic boards, shown as published, kept out of the index6 boards measured
Reasoning benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
GPQA Diamond (Artificial Analysis run)Not measured70.7%Only Qwen3 30B A3B Instruct 2507 measured
Humanity's Last Exam (Artificial Analysis run)Not measured10.3%Only Qwen3 30B A3B Instruct 2507 measured
GPQA Diamond (Epoch AI run)Not measured55.6%Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: hard promptsNot measured1398Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: expertNot measured1397Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: hard prompts in EnglishNot measured1406Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 17 boards here
MathDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
Math benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
AA Math IndexNot measured66.3Only Qwen3 30B A3B Instruct 2507 measured
AIME 2025 (Artificial Analysis run)Not measured66.3%Only Qwen3 30B A3B Instruct 2507 measured
OTIS Mock AIMENot measured62.2%Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: mathNot measured1394Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: mathematical workNot measured1411Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 9 boards here
KnowledgeDirectional onlyPublic boards, shown as published, kept out of the index5 boards measured
Knowledge benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
MMLU Pro (Artificial Analysis run)Not measured80.5%Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: scienceNot measured1393Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: medicine and healthcareNot measured1392Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: legal and governmentNot measured1387Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: business and financeNot measured1389Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 15 boards here
GeneralDirectional onlyPublic boards, shown as published, kept out of the index21 boards measured
General benchmarks for Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
BenchmarkLlama Guard 4 12BQwen3 30B A3B Instruct 2507Leader
IFBenchNot measured50.7%Only Qwen3 30B A3B Instruct 2507 measured
Long context reasoning (AA-LCR)Not measured61.3%Only Qwen3 30B A3B Instruct 2507 measured
DTBenchNot measured67.2%Only Qwen3 30B A3B Instruct 2507 measured
LMCANot measured22.4%Only Qwen3 30B A3B Instruct 2507 measured
LMArena TextNot measured1384Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: instruction followingNot measured1363Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: creative writingNot measured1317Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: EnglishNot measured1391Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: non-EnglishNot measured1372Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: ChineseNot measured1432Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: GermanNot measured1379Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: JapaneseNot measured1337Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: KoreanNot measured1330Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: FrenchNot measured1419Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: SpanishNot measured1404Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: RussianNot measured1369Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: PolishNot measured1353Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: multi-turnNot measured1378Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: longer queriesNot measured1378Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: writing and languageNot measured1336Only Qwen3 30B A3B Instruct 2507 measured
LMArena Text: entertainment and mediaNot measured1334Only Qwen3 30B A3B Instruct 2507 measured
Neither model has a result on the other 27 boards here

What each workload costs

Three fixed token mixes at each model's listed price, so per-token rates become a bill.

Chat turn

1K input + 500 output tokens

Llama Guard 4 12B$0.0003Fits in one request
Qwen3 30B A3B Instruct 2507$0.0002Fits in one request

Qwen3 30B A3B Instruct 2507 costs less

Repository review

50K input + 3K output tokens

Llama Guard 4 12B$0.0095Fits in one request
Qwen3 30B A3B Instruct 2507$0.0054Fits in one request

Qwen3 30B A3B Instruct 2507 costs less

Agent loop

200K input + 10K output tokens

Llama Guard 4 12B$0.038Exceeds the context window
Qwen3 30B A3B Instruct 2507$0.021Fits in one request

Qwen3 30B A3B Instruct 2507 costs less

Listed OpenRouter rates, without cache or batch discounts. A workload that does not fit a model's context window would need splitting.

Specification differences

The leading value in a row is marked; a row with a missing value names no leader. Our two rows are marked in red.

Specifications of Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507
SpecificationMeta Llama Guard 4 12BQwen3 30B A3B Instruct 2507
MakerMeta LlamaQwen
WeightsOpen weightsOpen weights
ReleasedApril 30, 2025July 29, 2025
Context window164K262K
Input $/Mtok$0.18$0.09
Output $/Mtok$0.18$0.30
Coding indexNot benchmarkedNot benchmarked
Independent measurements behind it00
Cost per solved taskNot computableNot computable
SourceOpenRouter listingOpenRouter listing

Questions

Is Llama Guard 4 12B better than Qwen3 30B A3B Instruct 2507 for coding?

Neither model has a coding score yet, so the two cannot be ranked on coding. Pick Llama Guard 4 12B for output tokens 1.7x cheaper ($0.18 vs $0.30 per million).

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

Llama Guard 4 12B costs $0.18 per million input tokens and $0.18 per million output tokens; Qwen3 30B A3B Instruct 2507 costs $0.09 and $0.30. Cost per solved task is known for neither of them.

Which has the bigger context window, Llama Guard 4 12B or Qwen3 30B A3B Instruct 2507?

Qwen3 30B A3B Instruct 2507, with 262K tokens against 164K.

Has any benchmark tested both Llama Guard 4 12B and Qwen3 30B A3B Instruct 2507?

No benchmark has tested both yet. Llama Guard 4 12B has none yet; Qwen3 30B A3B Instruct 2507 on LiveCodeBench (Artificial Analysis run), SciCode and Terminal-Bench Hard (Artificial Analysis run). Compare them on price and context instead. Data as of October 22, 2026.

Compare next