Compare / Gemini 3.1 Pro Preview vs Llama 3.1 8B Instruct
Gemini 3.1 Pro Preview vs Llama 3.1 8B Instruct
Which is cheaper, which is more capable, and which does better at each kind of work, from 18 results on 3 sources that measured both models.
Gemini 3.1 Pro Preview or Llama 3.1 8B Instruct? The short answer
- Llama 3.1 8B Instruct is cheaper: $0.058 against $4.50 per million tokens, 78 times less.
- Gemini 3.1 Pro Preview scores higher on the Artificial Analysis Intelligence Index: 29.7 against 6.9.
- On our business benchmarks, Gemini 3.1 Pro Preview ranks higher for agents and tool use, reasoning and knowledge and writing.
At a glance
| Gemini 3.1 Pro Preview | Llama 3.1 8B Instruct | |
|---|---|---|
| Price per million tokens | $2.00 in · $12.00 out | $0.050 in · $0.080 out |
| Blended (3 in : 1 out) | $4.50 | $0.058 |
| Cheapest host, blended | $2.25 (Google) | $0.025 (DeepInfra, FP8) |
| Intelligence Index | 29.7 | 6.9 |
| Spring Prompt overall | 47 | – |
| Output speed, tokens a second | 121 | – |
| Context window | 1,048,576 tokens | 131,072 tokens |
| Weights | Closed | Open |
| Developer based in | the US | the US |
Prices are the developer's list price where we have read it, otherwise the typical host on OpenRouter; see every model's price. Intelligence and speed from Artificial Analysis.
Which is better for what
Each model's rank among models available today, for each kind of work, from our own benchmarks and licensed sources. The better rank is in green.
| Use case | Gemini 3.1 Pro Preview | Llama 3.1 8B Instruct |
|---|---|---|
| Product listingsTurning a sparse product feed and photos into listings that can go live | 8 of 19 | not measured |
| Decks from an analysisTurning a finished analysis into a deck you could present as it is | 12 of 18 | not measured |
| Marketing planningPlanning a year of ad spend without overspending | 9 of 18 | not measured |
| Agents and tool useMulti-step tasks with tools: support desks, coding agents, function calls | 60 of 161 | 154 of 161 |
| Professional workReal tasks from banking, consulting and law, business documents and freelance projects | 36 of 51 | not measured |
| Reasoning and knowledgeHard questions across science, maths and general knowledge | 23 of 195 | 173 of 195 |
| WritingWhat people prefer in blind comparisons, and judged writing quality | 9 of 187 | 178 of 187 |
| Sticking to the factsSummarising without inventing things, and factual answers | 35 of 153 | not measured |
| Speed under pressureGood decisions against a real clock (fast chess) | 5 of 21 | not measured |
Every shared result
| Benchmark | Metric | Gemini 3.1 Pro Preview | Llama 3.1 8B Instruct |
|---|---|---|---|
| Arena (formerly LMArena)reported | Business, management and financeArena rating | 1,477 | 1,210 |
| Arena (formerly LMArena)reported | Creative writingArena rating | 1,480 | 1,177 |
| Arena (formerly LMArena)reported | Expert promptsArena rating | 1,509 | 1,198 |
| Arena (formerly LMArena)reported | Instruction followingArena rating | 1,479 | 1,191 |
| Arena (formerly LMArena)reported | OverallArena rating | 1,487 | 1,211 |
| Arena (formerly LMArena)reported | Writing, literature and languageArena rating | 1,480 | 1,182 |
| Artificial Analysisreported | Artificial Analysis Coding Indexindex score | 68.8 | 5.40 |
| Artificial Analysisreported | Artificial Analysis Intelligence Indexindex score | 29.7 | 6.90 |
| Artificial Analysisreported | GPQA Diamond% of questions | 94.1% | 25.9% |
| Artificial Analysisreported | Humanity's Last Exam% of questions | 47.0% | 5.3% |
| Artificial Analysisreported | IFBench% of instructions | 77.1% | 28.6% |
| Artificial Analysisreported | Long-context reasoning (AA-LCR)% of questions | 82.0% | 18.0% |
| Artificial Analysisreported | Terminal-Bench 2.1% of tasks | 73.8% | 1.5% |
| Artificial Analysisreported | Terminal-Bench Hard% of tasks | 53.8% | 0.8% |
| Artificial Analysisreported | Τ²-bench telecom% of tasks | 95.6% | 16.4% |
| UGI Leaderboardreported | Requested-length error% off the requested word count | 19.0% | 20.0% |
| UGI Leaderboardreported | Style adherencescore from 0 to 1 | 0.34 | 0.34 |
| UGI Leaderboardreported | Writing scorescore out of 100 | 72.2 | 24.8 |
Bold green marks the better value on that metric. Where a source reports ranges that overlap, the difference may not be meaningful; see the benchmark page for ranges.
Quick answers
Is Gemini 3.1 Pro Preview better than Llama 3.1 8B Instruct?
It depends on the task. Among models available today, on our benchmarks and licensed sources, Gemini 3.1 Pro Preview ranks higher for agents and tool use, reasoning and knowledge and writing.
Which is cheaper, Gemini 3.1 Pro Preview or Llama 3.1 8B Instruct?
Llama 3.1 8B Instruct costs $0.058 per million tokens (three input to one output), against $4.50 for Gemini 3.1 Pro Preview.
Run Gemini 3.1 Pro Preview and Llama 3.1 8B Instruct on your own prompt
Benchmarks aren't your data. Try both side by side in the playground, with the cost of every answer.