Menu

logo
Artificial Analysis
HOME
logo

Claude 3.5 Haiku: API Provider Benchmarking & Analysis

Analysis of API providers for Claude 3.5 Haiku across performance metrics including latency (time to first token), output speed (output tokens per second), price and others. API providers benchmarked include Amazon Bedrock, Anthropic, and Google.
For comparison of Claude 3.5 Haiku to other models, see
Owner:
Anthropic
License:
Proprietary
Context window:
200k
Link:

Comparison Summary

Output Speed (tokens/s):Claude 3.5 Haiku Latency Optimized, Amazon logo Amazon Latency Optimized (101 t/s) and  Claude 3.5 Haiku Vertex, Google logo Google Vertex (68 t/s) are the fastest providers of Claude 3.5 Haiku, followed by  Claude 3.5 Haiku, Anthropic logo Claude 3.5 Haiku, Anthropic &  Claude 3.5 Haiku Standard, Amazon logo Claude 3.5 Haiku Standard, Amazon.Latency (TTFT):Claude 3.5 Haiku Latency Optimized, Amazon logo Amazon Latency Optimized (0.62s) and  Claude 3.5 Haiku Standard, Amazon logo Amazon Standard (0.70s) have the lowest latency for Claude 3.5 Haiku, followed by  Claude 3.5 Haiku, Anthropic logo Claude 3.5 Haiku, Anthropic &  Claude 3.5 Haiku Vertex, Google logo Claude 3.5 Haiku Vertex, Google.Blended Price ($/M tokens):Claude 3.5 Haiku Standard, Amazon logo Amazon Standard ($1.60) and  Claude 3.5 Haiku Latency Optimized, Amazon logo Amazon Latency Optimized ($1.60) are the most cost-effective providers for Claude 3.5 Haiku, followed by  Claude 3.5 Haiku Vertex, Google logo Claude 3.5 Haiku Vertex, Google &  Claude 3.5 Haiku, Anthropic logo Claude 3.5 Haiku, Anthropic.Input Token Price:Claude 3.5 Haiku Standard, Amazon logo Amazon Standard ($0.80) and  Claude 3.5 Haiku Latency Optimized, Amazon logo Amazon Latency Optimized ($0.80) offer the lowest input token prices for Claude 3.5 Haiku, followed by  Claude 3.5 Haiku Vertex, Google logo Claude 3.5 Haiku Vertex, Google &  Claude 3.5 Haiku, Anthropic logo Claude 3.5 Haiku, Anthropic.Output Token Price:Claude 3.5 Haiku Standard, Amazon logo Amazon Standard ($4.00) and  Claude 3.5 Haiku Latency Optimized, Amazon logo Amazon Latency Optimized ($4.00) offer the lowest output token prices for Claude 3.5 Haiku, followed by  Claude 3.5 Haiku Vertex, Google logo Claude 3.5 Haiku Vertex, Google &  Claude 3.5 Haiku, Anthropic logo Claude 3.5 Haiku, Anthropic.

Highlights

Quality
Artificial Analysis 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:

Summary Analysis

Output Speed vs. Price

Output Speed: Output Tokens per Second; Price: USD per 1M Tokens
Most attractive quadrant
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).
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 or otherwise to reflect sustained changes in performance.

Latency vs. Output Speed

Latency: Seconds to First Token Received; Output Speed: Output Tokens per Second
Most attractive quadrant
Size represents Price (USD per M Tokens)
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).
Latency: Time to first token of tokens received, in seconds, after API request sent. For models which do not support streaming, this represents time to receive the completion.
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 or otherwise to reflect sustained changes in performance.

Context Window

Context Window: Tokens Limit; Higher is better
Context window: Maximum number of combined input & output tokens. Output tokens commonly have a significantly lower limit (varied by model).
Variance between providers: While models have their own context window, in cases this is limited by providers.

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 for models which support streaming).
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

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 for models which support streaming).
Boxplot: Shows variance of measurements
Picture of the author

Output Speed, Over Time

Output Tokens per Second; Higher is better
Smaller, emerging providers offer high output speed, though precise speeds delivered vary day-to-day.
Output Speed: Tokens per second received while the model is generating tokens (ie. after first chunk has been received from the API for models which support streaming).
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 Count (Context Length)

Output Tokens per Second; Higher is better
100 input tokens
1k input tokens
10k input tokens
100k input 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 for models which support streaming).
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Latency

Measured by Time (seconds) to First Token

Latency

Seconds to First Token Received; Lower is better
Latency: Time to first token of tokens received, in seconds, after API request sent. For models which do not support streaming, this represents time to receive the completion.
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Latency Variance

Seconds to First Token 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. For models which do not support streaming, this represents time to receive the completion.
Boxplot: Shows variance of measurements
Picture of the author

Latency, Over Time

Seconds to First Token Received; Lower is better
Latency: Time to first token of tokens received, in seconds, after API request sent. For models which do not support streaming, this represents time to receive the completion.
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 Count (Context Length)

Seconds to First Token Received; Lower is better
100 input tokens
1k input tokens
10k input tokens
100k input 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. For models which do not support streaming, this represents time to receive the completion.
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Total Response Time

Time to receive 100 tokens output, calculated from latency and output speed metrics

Total Response Time vs. Price

Total Response Time: End-to-End Seconds to Output 100 Tokens; Price: USD per 1M Tokens
Most attractive quadrant
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. Calculated based on Latency (time to receive first token) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Total Response Time

End-to-End Seconds to Output 100 Tokens; Lower is better
Total Response Time: Time to receive a 100 token response. Calculated based on Latency (time to receive first token) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Total Response Time, Over Time

End-to-End Seconds to Output 100 Tokens; Lower is better
Total Response Time: Time to receive a 100 token response. Calculated based on Latency (time to receive first token) 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 Count (Context Length)

End-to-End Seconds to Output 100 Tokens; Lower is better
100 input tokens
1k input tokens
10k input tokens
100k input 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. Calculated based on Latency (time to receive first token) and Output Speed (output tokens per second).
Median: Figures represent median (P50) measurement over the past 14 days or otherwise to reflect sustained changes in performance.

Quality & Capabilities

Supported Capabilities

ModelsVision Support
Amazon Standard logoAmazon Standard
Amazon Latency Optimized logoAmazon Latency Optimized
Google Vertex logoGoogle Vertex
Anthropic logoAnthropic
Supported Capabilities: Indicates which features are supported by the different providers associated with a model.

Quality Evaluations (Preliminary Results)

Evaluation results measured independently by Artificial Analysis; Higher is better
Artificial Analysis Quality Index
Reasoning & Knowledge (MMLU)
Quantitative Reasoning (MATH-500)
Coding (HumanEval)
Artificial Analysis Quality Index: Represents the the average of each provider's results across evaluations.

API Features

API Features: Function (Tool) Calling & JSON Mode

ModelsFunction callingJSON Mode
Amazon Standard logoAmazon Standard
Amazon Latency Optimized logoAmazon Latency Optimized
Google Vertex logoGoogle Vertex
Anthropic logoAnthropic
Function (Tool) Calling: Indicates whether the provider supports function calling in their API. Function calling is also known as 'Tool Calling'.
JSON Mode: Indicates whether the provider supports JSON mode in their API. When JSON mode is enabled, the models will always return a valid JSON object.

Summary Table of Key Comparison Metrics

Features
Price
Output tokens/s
Latency
Amazon Bedrock Standard logo
Anthropic logo
Claude 3.5 Haiku Standard
200k
68
$1.60
57.8
0.70
Amazon Bedrock Latency Optimized logo
Anthropic logo
Claude 3.5 Haiku Latency Optimized
200k
68
$1.60
101.2
0.62
Google Vertex logo
Anthropic logo
Claude 3.5 Haiku Vertex
200k
68
$1.60
68.0
1.01
Anthropic logo
Anthropic logo
Claude 3.5 Haiku
200k
68
$1.60
64.6
0.86