Key Specifications

SpecificationLlama 2 70BLlama 3 70B
Vendormetameta
Version2-70b3-70b
Release Date2023-07-182024-04-18
Context Window4096 tokens8192 tokens
Input Modalitiestexttext
Output Modalitiestexttext
LicenseLlama 2 Community LicenseLlama 3 Community License
SOC2
HIPAA
GDPR
ISO 27001

Benchmark Results

BenchmarkLlama 2 70BLlama 3 70BWinner
ARC80.393.4Llama 3 70B
BBH62.577.6Llama 3 70B
GPQA27.238.2Llama 3 70B
GSM8K51.876.2Llama 3 70B
HUMANEVAL50.673Llama 3 70B
IFEVAL57.172.2Llama 3 70B
MATH22.450.1Llama 3 70B
MMLU5379.5Llama 3 70B
MUSR36.151.2Llama 3 70B
WINOGRANDE73.479.2Llama 3 70B

Pricing Comparison

Tier (per Mtok)Llama 2 70BLlama 3 70B
Input$0.9$0.9
Output$0.9$0.9
Cache Read$0$0
Cache Write$0$0

Llama 2 70B vs Llama 3 70B

Model Overview

Llama 2 70B and Llama 3 70B are both notable options in the AI model market. This page compares their benchmarks, pricing, and compliance.

Key Specifications

VendorRelease DateContext WindowLicense
Meta / Meta2023-07-18 / 2024-04-184K / 8KLlama 2 Community License / Llama 3 Community License

Benchmark Performance

BenchmarkLlama 2 70BLlama 3 70BWinner
ARC80.393.4B
BBH (BIG-Bench Hard)62.577.6B
GPQA27.238.2B
GSM8K (Grade School Math 8K)51.876.2B
HumanEval50.673.0B
IFEval57.172.2B
MATH22.450.1B
MMLU (Massive Multitask Language Understanding)53.079.5B
MUSR36.151.2B
WinoGrande73.479.2B

Pricing Comparison

InputOutputCache ReadCache Write
— / —— / —— / —— / —

per million tokens — A / B

Strengths & Weaknesses

Llama 2 70B

  • ✅ Reliable general-purpose model.
  • ⚠️ MMLU 53.0, weak knowledge reasoning.
  • ⚠️ Proprietary, not self-hostable.
  • ⚠️ Context window 4K is limited.

Llama 3 70B

  • ✅ Reliable general-purpose model.
  • ⚠️ Proprietary, not self-hostable.
  • ⚠️ Context window 8K is limited.

Editor’s Take

Llama 2 70B and Llama 3 70B each have their strengths. Choose based on workload (code, long context, vision), referencing the tables above.

FAQ

Which model is better for coding tasks?

Refer to the HumanEval benchmark table; the model with a higher score is better suited for coding tasks.

Which model is cheaper?

Refer to the pricing comparison table above; the model with lower input/output prices is more cost-effective.

Which has a longer context window?

Refer to the key specifications table; the model with a larger context window is better for long documents.

References

Editor's Take

See Editor's Take section.