Across 8 comparable benchmarks, Llama3.1-8B and Qwen2.5-3B are evenly matched at 4 apiece.
Strong evidence8 of 8 shared results countedHow we compare
Price basis: Listed rates vs listed rates. The price section below shows the applicable periods.
| Fact | Llama3.1-8B | Qwen2.5-3B |
|---|---|---|
| Context window | 128K tokens | 32K tokens |
| Input / 1M | — | — |
| Output / 1M | — | — |
| Blended (4:1) | — | — |
| Status | Available | Available |
| Released | July 23, 2024 | September 18, 2024 |
Blended is 4:1 input to output with 90% cache hits at listed rates — set your own mix.
Mean of 6 shared benchmarks grouped by capability on a 0–100 scale. How averages are built
Qwen2.5-3B ahead on 2 of 2 counted
Llama3.1-8B ahead on 1 of 1 counted
Qwen2.5-3B ahead on 2 of 2 counted
Llama3.1-8B ahead on 1 of 1 counted
No shared comparable results for Computer & tool use, Research & search, Long context, Multimodal, Professional work & productivity, Cybersecurity.
Published scores, with matching modes where available. Gaps show Llama3.1-8B relative to Qwen2.5-3B. Reading the results
| Benchmark | Llama3.1-8B | Qwen2.5-3B | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · Accuracy | 33.5Normal · no tools | 42.1Normal · no tools | −8.6 pts#83 vs #72 of 100 |
| MBPPCode Generation & Editing · Pass rate (%) | 53.9Normal · no tools | 57.1Normal · no tools | −3.2 pts#44 vs #41 of 67 |
| BBHGeneral Reasoning · Average accuracy (%) | 57.7Normal · no tools | 56.3Normal · no tools | +1.4 pts#17 vs #18 of 20 |
| GSM8KMathematics · Accuracy | 55.3Normal · no tools | 79.1Normal · no tools | −23.8 pts#42 vs #25 of 67 |
| MATHMathematics · Accuracy | 20.5Normal · no tools | 42.6Normal · no tools | −22.1 pts#40 vs #37 of 42 |
| GPQA DiamondScientific Reasoning · Accuracy | 25.8Normal · no tools | 24.3Normal · no tools | +1.5 pts#198 vs #200 of 200 |
| MMLUKnowledge Exams · Accuracy | 66.6Normal · no tools | 65.6Normal · no tools | +1.0 pts#73 vs #76 of 114 |
| MMLU-ProKnowledge Exams · Accuracy | 36.6Reported best | 34.6≠Normal · no tools | +2.0 pts#138 vs #140 of 153 |
General Reasoning · Average accuracy (%)
Scientific Reasoning · Accuracy
Time-of-day providers use peak-hour rates; fixed-price providers use standard rates. Off-peak discounts remain in the published details.
Drag the handle above the bar for cache hits, the one below it for the input : output mix · 5% steps
Blended price = effective input rate at 90% cache hits × 80% + output rate × 20%
A blended cost needs a published input and output price on both sides, and one of these two does not have them yet.
Llama3.1-8B: Listed text rates; pricing tier not confirmed.
Qwen2.5-3B: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Llama3.1-8B | Qwen2.5-3B | Ratio |
|---|---|---|---|
| Input | — | — | — |
| Output | — | — | — |
| Cached input | — | — | — |
| Cache write | — | — | — |
| Blended | — | — | — |
Estimates use the selected token mix. Cache writes, tool fees and long-context surcharges are excluded.
Lower prices are highlighted. The cache hit rate applies to input tokens only; models without a published cached-input rate use their normal input price for those tokens.| Attribute | Llama3.1-8B | Qwen2.5-3B |
|---|---|---|
| Availability | Available | Available |
| Provider | Facebook AI Research Lab | Alibaba |
| Model type | Foundation model | Foundation model |
| First release | July 23, 2024 | September 18, 2024 |
| Context window | 128K tokens | 32K tokens |
| Total parameters | 8B | 3B |
| Architecture | Dense | Dense |
| Documented capabilities | — | Multilingual |
| Input modalities | — | Text |
| Output modalities | — | Text |
| Weights | Open weights | Open weights |
| Licence | LLAMA 3.1 COMMUNITY LICENSE AGREEMENT | Tongyi Qianwen RESEARCH LICENSE AGREEMENT |
| Commercial use | Commercial use allowed | Commercial use allowed |
These are reported-score comparisons, not controlled head-to-head tests.
What people found comparing these models, or using either one. Comments also appear on the models' own pages.
Sign in with Google to comment on Llama3.1-8B vs Qwen2.5-3B.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.