This model is deprecated. We only continue performance benchmarking for the default 10k input token workload. Results for other workloads are historical and no longer updated.

Meta has launched a newer model, Llama 3.2 11B (Vision). We suggest considering it instead.

For more information, see comparison of Llama 3.2 11B (Vision) to other models and API provider benchmarks for Llama 3.2 11B (Vision).

Open weights model

Released July 2024

Llama 3.1 Instruct 8B API Provider Benchmarking & Analysis

Model Comparison

This analysis is intended to support you in choosing the best API provider of Llama 3.1 Instruct 8B for your use-case.

Fastest

#1
GroqGroq
616.6 t/s
#2
AmazonAmazon
178.1 t/s
#3
NovitaNovita
156.4 t/s
#4
CoreWeaveCoreWeave
139.1 t/s
#5
DeepInfra (Turbo, FP8)DeepInfra (Turbo, FP8)
23.5 t/s

Output speed

Total 7 providers

Lowest Latency

#1
AmazonAmazon
0.66 s
#2
CoreWeaveCoreWeave
0.69 s
#3
NovitaNovita
0.85 s
#4
DeepInfra (Turbo, FP8)DeepInfra (Turbo, FP8)
0.92 s
#5
DeepInfraDeepInfra
0.95 s

Time to first token

Total 7 providers

Lowest Price

#1
CloudflareCloudflare
$0.00
#2
DeepInfra (Turbo, FP8)DeepInfra (Turbo, FP8)
$0.02
#3
NovitaNovita
$0.02
#4
DeepInfraDeepInfra
$0.02
#5
GroqGroq
$0.05

Blended price (per 1M tokens)

Total 7 providers

Llama 3.1 8B is available through 7 API providers, each offering different performance characteristics and pricing. Below is a comparison of the key metrics across providers.

  • For output speed, the top providers are Groq (616.6 t/s), Amazon (178.1 t/s), and Novita (156.4 t/s). Speed varies significantly across providers, with a 2667% difference between the fastest and slowest.
  • For latency, Amazon (0.66s), CoreWeave (0.69s), and Novita (0.85s) offer the lowest time to first token.
  • For pricing, Cloudflare (0.00), DeepInfra (Turbo, FP8) (0.02), and Novita (0.02) offer the lowest blended prices per 1M tokens.

Highlights

Output tokens per second · Higher is better
Seconds · Lower is better
USD per 1M tokens (blended) · Lower is better

Pricing

Pricing: Cache Hit, Input, and Output

Price (USD per M Tokens) · Lower is better · 10,000 input tokens

Pricing: Blended Price

Blended at 7:2:1 (cache-input-output) · USD per 1M tokens (blended) · Lower is better

Output Speed vs. Price

Blended at 7:2:1 (cache-input-output) · Output speed: output tokens per second · USD per 1M tokens (blended)
Most attractive quadrant
Pareto line

Speed

Measured by Output Speed (tokens per second)

Output Speed: Llama 3.1 Instruct 8B

Output speed: output tokens per second · 10,000 input tokens

Latency vs. Output Speed

Latency: seconds to first token received · Output speed: output tokens per second · 10,000 input tokens
Most attractive quadrant
Pareto line

Latency

Measured by Time (seconds) to First Token

Time to First Token

Seconds to first token received · Lower is better · 10,000 input tokens

End-to-End Response Time

Seconds to output 500 tokens, calculated based on time to first token, 'thinking' time for reasoning models, and output speed

End-to-End Response Time

Seconds to output 500 tokens, including reasoning model 'thinking' time · Lower is better · 10,000 input tokens

Key Comparison Metrics & API Features

Groq logoGroq
131k
Open
--
617
0.94
1.75
--
Novita logoNovita
16.4k
Open
--
156
0.85
4.05
--
CoreWeave logoCoreWeave
128k
Open
--
139
0.69
4.29
--
Amazon Bedrock logoAmazon Bedrock
128k
Open
--
179
0.67
3.47
--
Cloudflare logoCloudflare
30k
Open
--
--
--
--
--
DeepInfra logoDeepInfra
131k
Open
--
25
0.92
20.83
--
DeepInfra logoDeepInfra
131k
Open
--
20
0.98
25.70
--

Frequently Asked Questions

Common questions about Llama 3.1 Instruct 8B providers