Overview
Claude 2 was released
4 months after
GPT-4.
Claude 2
|
GPT-4
|
|
---|---|---|
Provider
The entity that provides this model.
|
Anthropic
|
OpenAI
|
Input Context Window
The number of tokens supported by the input context window.
|
100K
tokens
|
8,192
tokens
|
Maximum Output Tokens
The number of tokens that can be generated by the model in a single request.
|
Not specified.
|
8,192
tokens
|
Release Date
When the model was first released.
|
2023-07-11
|
2023-03-14
|
Knowledge Cutoff
Limit on the knowledge base used by the model.
|
Early 2023
|
September 2021
|
Open Source
|
|
|
API Providers
The providers that offer this model. (This is not an exhaustive list.)
|
|
|
Pricing
Claude 2 is
roughly 3.7x cheaper compared
to GPT-4 for input tokens and
roughly 2.5x cheaper
for output tokens.
Claude 2
|
GPT-4
|
|
---|---|---|
Input
Cost of input data provided to the model.
|
$8.00
per million tokens
|
$30.00
per million tokens
|
Output
Cost of output tokens generated by the model.
|
$24.00
per million tokens
|
$60.00
per million tokens
|
Benchmarks
Compare relevant benchmarks between Claude 2
and GPT-4.
Claude 2
|
GPT-4
|
|
---|---|---|
MMLU
Evaluating LLM knowledge acquisition in zero-shot and few-shot settings.
|
78.5
(5-shot)
|
86.4
(5-shot)
|
MMMU
A wide ranging multi-discipline and multimodal benchmark.
|
Benchmark not available.
|
34.9
|
HellaSwag
A challenging sentence completion benchmark.
|
Benchmark not available.
|
95.3
(10-shot)
|
GSM8K
Grade-school math problems benchmark.
|
Benchmark not available.
|
92.0
(5-shot)
|
HumanEval
A benchmark to measure functional correctness for synthesizing programs from docstrings.
|
Benchmark not available.
|
67.0
(0-shot)
|
MATH
Benchmark performance on Math problems ranging across 5 levels of difficulty and 7 sub-disciplines.
|
Benchmark not available.
|
Benchmark not available.
|
Claude 2, developed by Anthropic, features a large context window of 100,000 tokens. The model costs 0.8 cents per thousand tokens for input and 2.4 cents per thousand tokens for output. It was released on July 11, 2023, and has shown strong performance in the MMLU benchmark with a score of 78.5 in a 5-shot scenario.
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.
Measure & Improve LLM
Product Performance.
Get Started