Understand and compare
GPT-4
vs.
Claude 3 Haiku
Try
Podial
Turn your documents into engaging podcast discussions.
Overview
GPT-4 was released
almost 1 year before
Claude 3 Haiku.
GPT-4
|
Claude 3 Haiku
|
|
---|---|---|
Provider
The entity that provides this model.
|
OpenAI
|
Anthropic
|
Input Context Window
The number of tokens supported by the input context window.
|
8,192
tokens
|
200K
tokens
|
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
|
8,192
tokens
|
4,096
tokens
|
Release Date
When the model was first released.
|
2023-03-14
|
2024-03-13
|
Knowledge Cutoff
Limit on the knowledge base used by the model.
|
September 2021
|
August 2023
|
Open Source
|
|
|
API Providers
The providers that offer this model. (This is not an exhaustive list.)
|
|
|
Pricing
GPT-4 is
roughly 120x more expensive compared
to Claude 3 Haiku for input tokens and
roughly 48x more expensive
for output tokens.
GPT-4
|
Claude 3 Haiku
|
|
---|---|---|
Input
Cost of input data provided to the model.
|
$30.00
per million tokens
|
$0.25
per million tokens
|
Output
Cost of output tokens generated by the model.
|
$60.00
per million tokens
|
$1.25
per million tokens
|
Benchmarks
Compare relevant benchmarks between GPT-4
and Claude 3 Haiku.
GPT-4
|
Claude 3 Haiku
|
|
---|---|---|
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
|
86.4
(5-shot)
|
76.7
(5-shot CoT)
|
MMMU
A wide ranging multi-discipline and multimodal benchmark.
|
34.9
|
50.2
|
HellaSwag
A challenging sentence completion benchmark.
|
95.3
(10-shot)
|
85.9
(10-shot)
|
GSM8K
Grade-school math problems benchmark.
|
92.0
(5-shot)
|
Benchmark not available.
|
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
|
67.0
(0-shot)
|
Benchmark not available.
|
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
|
Benchmark not available.
|
Benchmark not available.
|
GPT-4, developed by OpenAI, features a context window of 8192 tokens. The model costs 3.0 cents per thousand tokens for input and 6.0 cents per thousand tokens for output. It was released on March 14, 2023, and has achieved impressive scores in benchmarks like HellaSwag with a score of 95.3 in a 10-shot scenario and MMLU with a score of 86.4 in a 5-shot scenario.
Claude 3 Haiku, developed by Anthropic, features a context window of 200,000 tokens. The model costs 0.025 cents per thousand tokens for input and 0.125 cents per thousand tokens for output. It was released on March 13, 2024. In benchmarks, it achieved a score of 50.2 in MMMU, 85.9 in HellaSwag in a 10-shot scenario, and 76.7 in MMLU in a 5-shot CoT scenario.
Measure & Improve LLM
Product Performance.
Get Started