Claude 2vsGPT-4

Claude 2
GPT-4
Specifications
Context window
100k8k
API pricing
Input price
$30.00
Output price
$60.00
Benchmarks
HumanEval
71.2%67%
MMLU
78.5%86.4%
GSM8K
88%92%
Overview
CompanyAnthropicOpenAI
Release dateJul 11 2023Mar 14 2023
AccessProprietaryProprietary

Frequently asked questions

GPT-4 leads Claude 2 on 2 of the 3 benchmarks they both report (HumanEval, MMLU, GSM8K). Only GPT-4 has a verified first-party API price: $30.00 per million input tokens and $60.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude 2. GPT-4 shipped 119 days before Claude 2, so benchmark comparisons should account for the intervening progress.

Context windows are 100k (Claude 2) vs 8k (GPT-4).

On HumanEval, Claude 2 leads at 71.2% vs GPT-4 at 67%. On MMLU, GPT-4 leads at 86.4% vs Claude 2 at 78.5%. On GSM8K, GPT-4 leads at 92% vs Claude 2 at 88%.

Claude 2 was released by Anthropic on Jul 11 2023.

GPT-4 was released by OpenAI on Mar 14 2023.

Claude 2 leads on HumanEval — Claude 2 71.2% vs GPT-4 67%.

GPT-4 leads on MMLU — Claude 2 78.5% vs GPT-4 86.4%.

Only GPT-4 has a verified first-party API price: $30.00 per million input tokens and $60.00 per million output tokens. No pay-as-you-go API rate is tracked for Claude 2. Rates are pay-as-you-go API prices verified on August 18, 2026.

Claude 2 has a 100k context window; GPT-4 has 8k.

Other comparisons