Skip to content

Llama Prompt Guard 2 22M vs Qwen3 4B

Both have similar output pricing, while Qwen3 4B offers a larger context window. Choose Llama Prompt Guard 2 22M or Qwen3 4B based on the trade-off between cost, context, and the benchmarks that matter for your use case.

SpecLlama Prompt Guard 2 22MQwen3 4B
ProviderGroqNovitaAI
Input / 1M tokens$0.03$0.03
Output / 1M tokens$0.03$0.03
Context window512128K
Parameters——
Open weightsYesYes
ReleasedMay 2025Apr 2025
GPQA Diamond score—52.3

FAQ

Is Llama Prompt Guard 2 22M or Qwen3 4B cheaper?

Llama Prompt Guard 2 22M and Qwen3 4B have comparable output pricing.

Which has the larger context window, Llama Prompt Guard 2 22M or Qwen3 4B?

Qwen3 4B has the larger context window (128K tokens).

Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.