Key Takeaways
Llama 3.1 405B Instruct wins:
- Larger context window
- Higher intelligence benchmark
- Better at coding
Llama 3.1 8B Instruct wins:
- Cheaper input tokens
- Cheaper output tokens
- Faster response time
- Better at math
Price Advantage
Llama 3.1 8B Instruct
Benchmark Advantage
Llama 3.1 405B Instruct
Context Window
Llama 3.1 405B Instruct
Speed
Llama 3.1 8B Instruct
Pricing Comparison
Price Comparison
| Metric | Llama 3.1 405B Instruct | Llama 3.1 8B Instruct | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $4.00 | $0.02 | Llama 3.1 8B Instruct |
| Output (per 1M tokens) | $4.00 | $0.05 | Llama 3.1 8B Instruct |
Using a 3:1 input/output ratio, Llama 3.1 8B Instruct is 99% cheaper overall.
Llama 3.1 405B Instruct Providers
Hyperbolic $4.00 (Cheapest)
Google $5.00
Llama 3.1 8B Instruct Providers
Nebius $0.02 (Cheapest)
DeepInfra $0.02 (Cheapest)
Novita $0.02 (Cheapest)
Groq $0.05
SiliconFlow $0.06
Benchmark Comparison
8
Benchmarks Compared
7
Llama 3.1 405B Instruct Wins
1
Llama 3.1 8B Instruct Wins
Benchmark Scores
| Benchmark | Llama 3.1 405B Instruct | Llama 3.1 8B Instruct | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | 14.2 | 11.7 | |
Coding Index Code generation & understanding | 14.5 | 4.9 | |
Math Index Mathematical reasoning | 3.0 | 4.3 | |
MMLU Pro Academic knowledge | 73.2 | 47.6 | |
GPQA Graduate-level science | 51.5 | 25.9 | |
LiveCodeBench Competitive programming | 30.5 | 11.6 | |
Aider Real-world code editing | 66.2 | 37.6 | |
AIME Competition math | 21.3 | 7.7 |
Llama 3.1 405B Instruct significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Llama 3.1 405B Instruct
Other models
Context & Performance
Context Window
Llama 3.1 405B Instruct
131,000
tokens
Llama 3.1 8B Instruct
16,384
tokens
Max output: 16,384 tokens
Llama 3.1 405B Instruct has a 87% larger context window.
Speed Performance
| Metric | Llama 3.1 405B Instruct | Llama 3.1 8B Instruct | Winner |
|---|---|---|---|
| Tokens/second | 25.2 tok/s | 162.2 tok/s | |
| Time to First Token | 0.79s | 0.33s |
Llama 3.1 8B Instruct responds 544% faster on average.
Capabilities
Feature Comparison
| Feature | Llama 3.1 405B Instruct | Llama 3.1 8B Instruct |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Llama 3.1 405B Instruct | Llama 3.1 8B Instruct |
|---|---|---|
| License | Open Source | Open Source |
| Author | Meta-llama | Meta-llama |
| Released | Jul 2024 | Jul 2024 |
Llama 3.1 405B Instruct Modalities
Input
text
Output
text
Llama 3.1 8B Instruct Modalities
Input
text
Output
text
