Skip to content
llmmodels

GPT-4 vs Llama 2-70B

GPT-4 wins 3 of 3 benchmarks both models report. Llama 2-70B has open weights, so you can self-host and fine-tune it; GPT-4 is API-only.

SpecGPT-4Llama 2-70B
ProviderOpenAIMeta
ReleasedNov 6, 2023 (better)Jul 18, 2023
TypeChat LLMChat LLM
Parameters—69B
Context window8K—
Max output8K—
Input price / 1M$30—
Output price / 1M$60—
Input modalitiestexttext
Open weightsNoYes
LicenseProprietaryllama2
Reasoning modeNoNo
Tool callingYesNo
API providers6 (better)—
Epoch Capabilities Index—105.7
GPQA Diamond42.4%—
OTIS Mock AIME1.1%—
MATH Level 540.0%—
METR Time Horizon5 min—
MMLU86.4% (better)69.9%
GSM8K92.0% (better)69.6%
HellaSwag95.3% (better)85.3%

About GPT-4

GPT-4 is a proprietary chat llm from OpenAI, released Nov 6, 2023. It has a 8K-token context window. API pricing starts at $30 per million input tokens and $60 per million output tokens. It is available from 6 API providers. Full GPT-4 specs →

About Llama 2-70B

Llama 2-70B is an open-weight chat llm from Meta, released Jul 18, 2023. It has 69B parameters. It scores 105.7 on the Epoch Capabilities Index. Full Llama 2-70B specs →

Compare other models

FAQ

Which is better, GPT-4 or Llama 2-70B?

GPT-4 wins 3 of 3 benchmarks both models report. Llama 2-70B has open weights, so you can self-host and fine-tune it; GPT-4 is API-only.

Are GPT-4 and Llama 2-70B open source?

GPT-4 is proprietary; Llama 2-70B is open-weight.