Key Takeaways
Code Llama 13B Instruct wins:
- Cheaper input tokens
- Cheaper output tokens
Llama 3.1 405B Instruct wins:
- Larger context window
- Faster response time
- Higher intelligence benchmark
- Better at coding
- Better at math
- Supports tool calls
Price Advantage
Code Llama 13B Instruct
Benchmark Advantage
Llama 3.1 405B Instruct
Context Window
Llama 3.1 405B Instruct
Speed
Llama 3.1 405B Instruct
Pricing Comparison
Price Comparison
| Metric | Code Llama 13B Instruct | Llama 3.1 405B Instruct | Winner |
|---|---|---|---|
| Input (per 1M tokens) | $0.20 | $0.90 | Code Llama 13B Instruct |
| Output (per 1M tokens) | $0.20 | $0.90 | Code Llama 13B Instruct |
| Cache Read (per 1M) | $0.10 | $0.45 | Code Llama 13B Instruct |
Using a 3:1 input/output ratio, Code Llama 13B Instruct is 78% cheaper overall.
Code Llama 13B Instruct Providers
No provider data available
Llama 3.1 405B Instruct Providers
No provider data available
Benchmark Comparison
8
Benchmarks Compared
0
Code Llama 13B Instruct Wins
0
Llama 3.1 405B Instruct Wins
Benchmark Scores
| Benchmark | Code Llama 13B Instruct | Llama 3.1 405B Instruct | Winner |
|---|---|---|---|
Intelligence Index Overall intelligence score | - | 17.4 | - |
Coding Index Code generation & understanding | - | 14.5 | - |
Math Index Mathematical reasoning | - | 3.0 | - |
MMLU Pro Academic knowledge | - | 73.2 | - |
GPQA Graduate-level science | - | 51.5 | - |
LiveCodeBench Competitive programming | - | 30.5 | - |
Aider Real-world code editing | - | 66.2 | - |
AIME Competition math | - | 21.3 | - |
Llama 3.1 405B Instruct significantly outperforms in coding benchmarks.
Cost vs Quality
X-axis:
Y-axis:
Loading chart...
Other models
Context & Performance
Context Window
Code Llama 13B Instruct
N/A
tokens
Llama 3.1 405B Instruct
131,000
tokens
Speed Performance
| Metric | Code Llama 13B Instruct | Llama 3.1 405B Instruct | Winner |
|---|---|---|---|
| Tokens/second | N/A | 30.4 tok/s | |
| Time to First Token | N/A | 0.68s |
Capabilities
Feature Comparison
| Feature | Code Llama 13B Instruct | Llama 3.1 405B Instruct |
|---|---|---|
| Vision (Image Input) | ||
| Tool/Function Calls | ||
| Reasoning Mode | ||
| Audio Input | ||
| Audio Output | ||
| PDF Input | ||
| Prompt Caching | ||
| Web Search |
License & Release
| Property | Code Llama 13B Instruct | Llama 3.1 405B Instruct |
|---|---|---|
| License | Proprietary | Open Source |
| Author | Meta-llama | Meta-llama |
| Released | Unknown | Jul 2024 |
Code Llama 13B Instruct Modalities
Input
Output
Llama 3.1 405B Instruct Modalities
Input
text
Output
text
