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 release, Llama 3.2 Instruct 11B (Vision). We suggest considering it instead.

•

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
617.2 t/s
#2
NovitaNovita
168.6 t/s
#3
CoreWeaveCoreWeave
142.0 t/s
#4
DeepInfra (Turbo, FP8)DeepInfra (Turbo, FP8)
33.2 t/s
#5
DeepInfraDeepInfra
31.2 t/s

Output speed

Total 7 providers

Lowest Latency

#1
CoreWeaveCoreWeave
0.66 s
#2
GroqGroq
0.81 s
#3
DeepInfraDeepInfra
0.86 s
#4
NovitaNovita
0.96 s
#5
DeepInfra (Turbo, FP8)DeepInfra (Turbo, FP8)
1.05 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 (617.2 t/s), Novita (168.6 t/s), and CoreWeave (142.0 t/s). Speed varies significantly across providers, with a 1876% difference between the fastest and slowest.
  • For latency, CoreWeave (0.66s), Groq (0.81s), and DeepInfra (0.86s) 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.
Output tokens per second · Higher is better
Seconds to first answer token received · 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
--
616
0.80
1.61
--
Novita logoNovita
16.4k
Open
--
151
0.94
4.25
--
CoreWeave logoCoreWeave
128k
Open
--
142
0.67
4.20
--
Amazon Bedrock logoAmazon Bedrock
128k
Open
--
194
0.70
3.27
--
Cloudflare logoCloudflare
30k
Open
--
--
--
--
--
DeepInfra logoDeepInfra
131k
Open
--
26
1.26
20.31
--
DeepInfra logoDeepInfra
131k
Open
--
28
1.01
19.09
--

Frequently Asked Questions

Common questions about Llama 3.1 Instruct 8B providers