Llama Guard 3 8B vs Qwen/Qwen2.5-7B-Instruct
Qwen/Qwen2.5-7B-Instruct is slightly cheaper on a blended (3:1 input:output) token price. Llama Guard 3 8B has the larger context window (128K vs 33K).
| Spec | Llama Guard 3 8B | Qwen/Qwen2.5-7B-Instruct |
|---|---|---|
| Provider | Meta | Alibaba (Qwen) |
| Released | Jul 23, 2024 | Sep 19, 2024 (better) |
| Type | Chat LLM | Chat LLM |
| Parameters | 8B | 7.6B |
| Context window | 128K (better) | 33K |
| Max output | 128K (better) | 4K |
| Input price / 1M | $0.055 | $0.05 (better) |
| Output price / 1M | $0.055 | $0.05 (better) |
| Input modalities | text | text |
| Open weights | Yes | Yes |
| License | llama3.1 | apache-2.0 |
| Reasoning mode | No | No |
| Tool calling | No | Yes |
| API providers | 2 | 5 (better) |
| GPQA Diamond | — | 35.5% |
| OTIS Mock AIME | — | 2.5% |
| MMLU | — | 72.9% |
Cost example
For a workload of 10M input + 2M output tokens per month: Llama Guard 3 8B costs $0.66 and Qwen/Qwen2.5-7B-Instruct costs $0.60 at list price (edenai / siliconflow pricing).
About Llama Guard 3 8B
Llama Guard 3 8B is an open-weight chat llm from Meta, released Jul 23, 2024. It has 8B parameters and a 128K-token context window. API pricing starts at $0.055 per million input tokens and $0.055 per million output tokens. It is available from 2 API providers. Full Llama Guard 3 8B specs →
About Qwen/Qwen2.5-7B-Instruct
Qwen/Qwen2.5-7B-Instruct is an open-weight chat llm from Alibaba (Qwen), released Sep 19, 2024. It has 7.6B parameters and a 33K-token context window. API pricing starts at $0.05 per million input tokens and $0.05 per million output tokens. It is available from 5 API providers. Full Qwen/Qwen2.5-7B-Instruct specs →
Compare other models
FAQ
Which is better, Llama Guard 3 8B or Qwen/Qwen2.5-7B-Instruct?
Qwen/Qwen2.5-7B-Instruct is slightly cheaper on a blended (3:1 input:output) token price. Llama Guard 3 8B has the larger context window (128K vs 33K).
Is Llama Guard 3 8B cheaper than Qwen/Qwen2.5-7B-Instruct?
Llama Guard 3 8B costs $0.055 input / $0.055 output per 1M tokens; Qwen/Qwen2.5-7B-Instruct costs $0.05 / $0.05. Qwen/Qwen2.5-7B-Instruct is cheaper overall.
Which has a bigger context window?
Llama Guard 3 8B: 131,072 tokens. Qwen/Qwen2.5-7B-Instruct: 33,000 tokens.
Are Llama Guard 3 8B and Qwen/Qwen2.5-7B-Instruct open source?
Llama Guard 3 8B is open-weight; Qwen/Qwen2.5-7B-Instruct is open-weight.