Price Per TokenPrice Per Token
Meta-llama
Meta-llama
vs
Meta-llama
Meta-llama

Llama 3 8B Instruct (HF) vs Llama 3.1 405B Instruct

A detailed comparison of pricing, benchmarks, and capabilities

OpenClaw

Deploy OpenClaw in Under 1 Minute We handle hosting, scaling, and maintenance

107 out of our 480 tracked models have had a price change in March.

Get our weekly newsletter on pricing changes, new releases, and tools.

Key Takeaways

Llama 3 8B Instruct (HF) 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
Llama 3 8B Instruct (HF)
Benchmark Advantage
Llama 3.1 405B Instruct
Context Window
Llama 3.1 405B Instruct
Speed
Llama 3.1 405B Instruct

Pricing Comparison

Price Comparison

MetricLlama 3 8B Instruct (HF)Llama 3.1 405B InstructWinner
Input (per 1M tokens)$0.20$0.90 Llama 3 8B Instruct (HF)
Output (per 1M tokens)$0.20$0.90 Llama 3 8B Instruct (HF)
Cache Read (per 1M)$0.10$0.45 Llama 3 8B Instruct (HF)
Using a 3:1 input/output ratio, Llama 3 8B Instruct (HF) is 78% cheaper overall.

Llama 3 8B Instruct (HF) Providers

No provider data available

Llama 3.1 405B Instruct Providers

No provider data available

Benchmark Comparison

8
Benchmarks Compared
0
Llama 3 8B Instruct (HF) Wins
0
Llama 3.1 405B Instruct Wins

Benchmark Scores

BenchmarkLlama 3 8B Instruct (HF)Llama 3.1 405B InstructWinner
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

Llama 3 8B Instruct (HF)
N/A
tokens
Llama 3.1 405B Instruct
131,000
tokens

Speed Performance

MetricLlama 3 8B Instruct (HF)Llama 3.1 405B InstructWinner
Tokens/secondN/A30.4 tok/s
Time to First TokenN/A0.68s

Capabilities

Feature Comparison

FeatureLlama 3 8B Instruct (HF)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

PropertyLlama 3 8B Instruct (HF)Llama 3.1 405B Instruct
LicenseProprietaryOpen Source
AuthorMeta-llamaMeta-llama
ReleasedUnknownJul 2024

Llama 3 8B Instruct (HF) Modalities

Input
Output

Llama 3.1 405B Instruct Modalities

Input
text
Output
text

Related Comparisons

Compare Llama 3 8B Instruct (HF) with:

Compare Llama 3.1 405B Instruct with:

Frequently Asked Questions

Llama 3 8B Instruct (HF) has cheaper input pricing at $0.20/M tokens. Llama 3 8B Instruct (HF) has cheaper output pricing at $0.20/M tokens.
Llama 3.1 405B Instruct scores higher on coding benchmarks with a score of 14.5, compared to Llama 3 8B Instruct (HF)'s score of N/A.
Llama 3 8B Instruct (HF) has a unknown token context window, while Llama 3.1 405B Instruct has a 131,000 token context window.
Llama 3 8B Instruct (HF) does not support vision. Llama 3.1 405B Instruct does not support vision.
Advertise with us