Across 9 comparable benchmarks, Qwen2.5-7B has better reported results on 9 and worse on 0.
Strong evidence9 of 9 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-7B |
|---|---|---|
| Context window | 128K tokens | 128K 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-7B ahead on 2 of 2 counted
Qwen2.5-7B ahead on 1 of 1 counted
Qwen2.5-7B ahead on 2 of 2 counted
Qwen2.5-7B 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-7B. Reading the results
| Benchmark | Llama3.1-8B | Qwen2.5-7B | Gap |
|---|---|---|---|
| HumanEvalCode Generation & Editing · Accuracy | 33.5Normal · no tools | 57.9Normal · no tools | −24.4 pts#83 vs #61 of 100 |
| MBPPCode Generation & Editing · Pass rate (%) | 53.9Normal · no tools | 74.9Normal · no tools | −21.0 pts#44 vs #23 of 67 |
| ARCCommonsense · Accuracy | 59.3Normal · no tools | 63.7Normal · no tools | −4.4 pts#4 vs #2 of 4 |
| GSM8KMathematics · Accuracy | 55.3Normal · no tools | 85.4Normal · no tools | −30.1 pts#42 vs #21 of 67 |
| MATHMathematics · Accuracy | 20.5Normal · no tools | 49.8Normal · no tools | −29.3 pts#40 vs #34 of 42 |
| GPQA DiamondScientific Reasoning · Accuracy | 25.8Normal · no tools | 36.4Normal · no tools | −10.6 pts#198 vs #190 of 200 |
| MMLUKnowledge Exams · Accuracy | 66.6Normal · no tools | 74.2Normal · no tools | −7.6 pts#73 vs #59 of 114 |
| MMLU-ProKnowledge Exams · Accuracy | 36.6Reported best | 45.0≠Normal · no tools | −8.4 pts#138 vs #129 of 153 |
| ECICapability Indices · ECI score (capability index, higher is better) | 116Reported best | 118Reported best | 0.98×#138 vs #134 of 168 |
Commonsense · Accuracy
Scientific Reasoning · Accuracy
A dash means no result is available.
| Benchmark | Llama3.1-8B | Qwen2.5-7B |
|---|---|---|
| Pinch Bench | — | 40.3 |
| BALROG | — | 7.8 |
| BBH | 57.7 | — |
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-7B: Listed text rates; pricing tier not confirmed.
| Price / 1M tokens | Llama3.1-8B | Qwen2.5-7B | 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-7B |
|---|---|---|
| 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 | 128K tokens |
| Total parameters | 8B | 7B |
| Architecture | Dense | Dense |
| Documented capabilities | — | Multilingual |
| Input modalities | — | Text |
| Output modalities | — | Text |
| Weights | Open weights | Open weights |
| Licence | LLAMA 3.1 COMMUNITY LICENSE AGREEMENT | Apache 2.0 |
| 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-7B.
No community comments on either model yet.
Alternatives with the most benchmark overlap for this matchup.