Llama Prompt Guard 2 22M vs Llama 3.1 8B
Llama Prompt Guard 2 22M is cheaper on output tokens, while Llama 3.1 8B offers a larger context window. Choose Llama Prompt Guard 2 22M or Llama 3.1 8B based on the trade-off between cost, context, and the benchmarks that matter for your use case.
| Spec | Llama Prompt Guard 2 22M | Llama 3.1 8B |
|---|---|---|
| Provider | Groq | Groq |
| Input / 1M tokens | $0.03 | $0.05 |
| Output / 1M tokens | $0.03 | $0.08 |
| Context window | 512 | 131K |
| Parameters | — | — |
| Open weights | Yes | Yes |
| Released | May 2025 | Jul 2024 |
FAQ
Pricing is indicative — confirm with the provider before production use. Highlighted values indicate the better figure for that row.