![logo](/img/logos/mistral_small.png)
Mixtral 8x7B Instruct: API Provider Benchmarking & Analysis
Analysis of API providers for Mixtral 8x7B Instruct across performance metrics including latency (time to first token), output speed (output tokens per second), price and others. API providers benchmarked include Mistral, Amazon Bedrock, Groq, Together.ai, Perplexity, Fireworks, Lepton AI, Deepinfra, Replicate, Databricks, and OctoAI.
Comparison Summary
Output Speed (tokens/s):
Groq (549 t/s) and
Fireworks (248 t/s) are the fastest providers of Mixtral 8x7B, followed by
Perplexity,
Replicate &
Together.ai.Latency (TTFT):
Groq (0.22s) and
Deepinfra (0.24s) have the lowest latency for Mixtral 8x7B, followed by
Perplexity,
Fireworks &
OctoAI.Blended Price ($/M tokens):
Groq ($0.24) and
Deepinfra ($0.24) are the most cost-effective providers for Mixtral 8x7B, followed by
OctoAI,
Replicate &
Fireworks.Input Token Price:
Groq ($0.24) and
Deepinfra ($0.24) offer the lowest input token prices for Mixtral 8x7B, followed by
Replicate,
Amazon &
OctoAI.Output Token Price:
Groq ($0.24) and
Deepinfra ($0.24) offer the lowest output token prices for Mixtral 8x7B, followed by
OctoAI,
Fireworks &
Lepton AI.
![Groq logo](/img/logos/groq_small.png)
![Fireworks logo](/img/logos/fireworks_small_revised.png)
![Perplexity logo](/img/logos/perplexity_small.png)
![Groq logo](/img/logos/groq_small.png)
![Deepinfra logo](/img/logos/deepinfra_small.webp)
![Perplexity logo](/img/logos/perplexity_small.png)
![Fireworks logo](/img/logos/fireworks_small_revised.png)
![OctoAI logo](/img/logos/octoai_small.png)
![Groq logo](/img/logos/groq_small.png)
![Deepinfra logo](/img/logos/deepinfra_small.webp)
![OctoAI logo](/img/logos/octoai_small.png)
![Fireworks logo](/img/logos/fireworks_small_revised.png)
![Groq logo](/img/logos/groq_small.png)
![Deepinfra logo](/img/logos/deepinfra_small.webp)
![Amazon logo](/img/logos/aws.webp)
![OctoAI logo](/img/logos/octoai_small.png)
![Groq logo](/img/logos/groq_small.png)
![Deepinfra logo](/img/logos/deepinfra_small.webp)
![OctoAI logo](/img/logos/octoai_small.png)
![Fireworks logo](/img/logos/fireworks_small_revised.png)
Highlights
Quality
Quality Index; Higher is better
Speed
Output Tokens per Second; Higher is better
Price
USD per 1M Tokens; Lower is better
Parallel Queries:
Prompt Length:
Quality
Quality Comparison by Provider (Preliminary Results)
Varied metrics by ability categorization; Higher is better
Quality Index (Index of evaluations)
MMLU (Reasoning & Knowledge)
Math (Maths & Quantitative)
HumanEval (Coding)
Quality comparison by provider: Quality can vary between providers due to differences in how the model is provided from both a software and hardware perspective. Providers can make optimizations, such as to improve speed, but which impact quality of model responses such as by serving the model at lower precision (quantization).
Summary Analysis
Output Speed vs. Price
Output Speed: Output Tokens per Second; Price: Price: USD per 1M Tokens
Most attractive quadrant
Mistral
Amazon Bedrock
Groq
Together.ai
Perplexity
Fireworks
Lepton AI
Deepinfra
Replicate
Databricks
OctoAI
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Price: Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).
Median: Figures represent median (P50) measurement over the past 14 days.
Latency vs. Output Speed
Latency: Seconds to First Tokens Chunk Received; Output Speed: Output Tokens per Second
Most attractive quadrant
Size represents Price (USD per M Tokens)
Mistral
Amazon Bedrock
Groq
Together.ai
Perplexity
Fireworks
Lepton AI
Deepinfra
Replicate
Databricks
OctoAI
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Latency: Time to first token of tokens received, in seconds, after API request sent.
Price: Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).
Median: Figures represent median (P50) measurement over the past 14 days.
Pricing
Pricing: Input and Output Prices
USD per 1M Tokens; Lower is better
Input price
Output price
Input price: Price per token included in the request/message sent to the API, represented as USD per million Tokens.
Output price: Price per token generated by the model (received from the API), represented as USD per million Tokens.
Speed
Measured by Output Speed (tokens per second)
Output Speed
Output Tokens per Second; Higher is better
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Median: Figures represent median (P50) measurement over the past 14 days.
Output Speed Variance
Output Tokens per Second; Results by percentile; Higher is better
Median, Other points represent 5th, 25th, 75th, 95th Percentiles respectively
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Boxplot: Shows variance of measurements
![Picture of the author](/_next/image?url=%2Fimg%2Fgeneral-frontend%2Fboxplot-diagram.png&w=640&q=75)
Output Speed, Over Time
Output Tokens per Second; Higher is better
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Over time measurement: Median measurement per day, based on 8 measurements each day at different times. Labels represent start of week's measurements.
Output Speed by Input token (context) length
Output Tokens per Second; Higher is better
Short (100 tokens)
Medium (1,000 tokens)
Long (10,000 tokens)
Input Tokens Length: Length of tokens provided in the request. See Prompt Options above to see benchmarks of different input prompt lengths across other charts.
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API).
Median: Figures represent median (P50) measurement over the past 14 days.
Latency
Measured by Time (seconds) to First Token
Latency
Seconds to First Tokens Chunk Received; Lower is better
Latency: Time to first token of tokens received, in seconds, after API request sent.
Median: Figures represent median (P50) measurement over the past 14 days.
Latency Variance
Seconds to First Tokens Chunk Received; Results by percentile; Lower median is better
Median, Other points represent 5th, 25th, 75th, 95th Percentiles respectively
Latency: Time to first token of tokens received, in seconds, after API request sent.
Boxplot: Shows variance of measurements
![Picture of the author](/_next/image?url=%2Fimg%2Fgeneral-frontend%2Fboxplot-diagram.png&w=640&q=75)
Latency, Over Time
Seconds to First Tokens Chunk Received; Lower is better
Latency: Time to first token of tokens received, in seconds, after API request sent.
Over time measurement: Median measurement per day, based on 8 measurements each day at different times. Labels represent start of week's measurements.
Latency by Input token (context) length
Seconds to First Tokens Chunk Received; Lower is better
Short (100 tokens)
Medium (1,000 tokens)
Long (10,000 tokens)
Input Tokens Length: Length of tokens provided in the request. See Prompt Options above to see benchmarks of different input prompt lengths across other charts.
Latency: Time to first token of tokens received, in seconds, after API request sent.
Median: Figures represent median (P50) measurement over the past 14 days.
Total Response Time
Time to receive 100 tokens output, calculated by latency and output speed metrics
Total Response Time vs. Price
Total: Response Time: Seconds to Output 100 Tokens; Price: Price: USD per 1M Tokens
Most attractive quadrant
Mistral
Amazon Bedrock
Groq
Together.ai
Perplexity
Fireworks
Lepton AI
Deepinfra
Replicate
Databricks
OctoAI
Price: Price per token, represented as USD per million Tokens. Price is a blend of Input & Output token prices (3:1 ratio).
Total Response Time: Time to receive a 100 token response. Estimated based on Latency (time to receive first chunk) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days.
Total Response Time
Seconds to Output 100 Tokens; Lower is better
Total Response Time: Time to receive a 100 token response. Estimated based on Latency (time to receive first chunk) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days.
Total Response Time, Over Time
Seconds to Output 100 Tokens; Lower is better
Total Response Time: Time to receive a 100 token response. Estimated based on Latency (time to receive first chunk) and Output Speed (output tokens per second).
Over time measurement: Median measurement per day, based on 8 measurements each day at different times. Labels represent start of week's measurements.
Total Response Time by Input token (context) length
Seconds to Output 100 Tokens; Lower is better
Short (100 tokens)
Medium (1,000 tokens)
Long (10,000 tokens)
Input Tokens Length: Length of tokens provided in the request. See Prompt Options above to see benchmarks of different input prompt lengths across other charts.
Total Response Time: Time to receive a 100 token response. Estimated based on Latency (time to receive first chunk) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days.
Summary Table of Key Comparison Metrics
Context | Model Quality | Price | Output tokens/s | Latency | |
---|---|---|---|---|---|
No results. |