Skip to content
llmmodels

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).

SpecLlama Guard 3 8BQwen/Qwen2.5-7B-Instruct
ProviderMetaAlibaba (Qwen)
ReleasedJul 23, 2024Sep 19, 2024 (better)
TypeChat LLMChat LLM
Parameters8B7.6B
Context window128K (better)33K
Max output128K (better)4K
Input price / 1M$0.055$0.05 (better)
Output price / 1M$0.055$0.05 (better)
Input modalitiestexttext
Open weightsYesYes
Licensellama3.1apache-2.0
Reasoning modeNoNo
Tool callingNoYes
API providers25 (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.