# Llama 3

> Meta's first Llama 3 release: open-weight 8B and 70B text models trained on 15 trillion tokens, with an 8K context window.

- Maker: Meta
- Line: Llama 3
- Canonical page: https://ai-tldr.dev/models/llama-3/
- Updated: 2026-06-18

## In short

Llama 3 is Meta's third-generation open-weight large language model family, launched on April 18, 2024 in two dense sizes — Llama 3 8B and Llama 3 70B — each available as a pretrained base model and an instruction-tuned (Instruct) chat model. You can use it through Hugging Face (download weights) and Together AI (hosted).

## Facts

| Fact | Value | Source |
| --- | --- | --- |
| Context window | 8,192 tokens (8K) | [1] |
| Input price | $0.65 / 1M tokens (Llama 3 70B Instruct, cross-provider median) | [2] |
| Output price | $2.75 / 1M tokens (Llama 3 70B Instruct, cross-provider median) | [2] |
| Licence | Meta Llama 3 Community License (open weights; custom, not OSI-approved — free for most commercial use, with extra terms for products exceeding 700M monthly active users) · open weights | [1] |
| Released | 18 April 2024 | [3] |
| Parameters | Two dense sizes: 8B and 70B parameters | [1] |
| Knowledge cutoff | March 2023 (8B); December 2023 (70B) | [1] |

## Sources

1. [Llama 3 70B Instruct — Hugging Face model card](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct)
2. [Llama 3 70B — price & performance analysis](https://artificialanalysis.ai/models/llama-3-instruct-70b)
3. [Introducing Meta Llama 3 — official announcement](https://ai.meta.com/blog/meta-llama-3/)

## Overview

Llama 3 is Meta's third-generation open-weight large language model family, launched on April 18, 2024 in two dense sizes — Llama 3 8B and Llama 3 70B — each available as a pretrained base model and an instruction-tuned (Instruct) chat model. At release it was Meta's most capable openly available model and set a new bar for the small/mid open-weight tier, outperforming peers like Mistral 7B, Gemma and the earlier Llama 2 70B on standard reasoning and coding benchmarks.

Both Llama 3 sizes are text-only and use a decoder-only transformer with Grouped-Query Attention and a larger 128K-token tokenizer, trained on more than 15 trillion tokens of publicly available text. The context window is 8,192 tokens — modest by later standards but a doubling of Llama 2's 4K. Meta published the weights under the permissive Meta Llama 3 Community License, letting developers run, fine-tune and self-host the models, which is why Llama 3 became a default base for countless fine-tunes and on-prem deployments.

Llama 3 was a stepping stone: Meta explicitly framed it as an early release and shipped the much larger, longer-context Llama 3.1 (including the frontier-scale 405B) just three months later on July 23, 2024, followed by Llama 3.2 and Llama 3.3. For new projects the later Llama 3.x models are the recommended choice, but the original Llama 3 8B and 70B weights remain freely downloadable and historically important.

## Benchmarks

- MMLU (5-shot) — 70B Instruct: 82% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct))
- HumanEval (0-shot) — 70B Instruct: 81.7% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct))
- GSM-8K (8-shot, CoT) — 70B Instruct: 93% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct))
- MATH (4-shot, CoT) — 70B Instruct: 50.4% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct))
- GPQA (0-shot) — 70B Instruct: 39.5% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct))
- MMLU (5-shot) — 8B Instruct: 68.4% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct))
- HumanEval (0-shot) — 8B Instruct: 62.2% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct))
- GSM-8K (8-shot, CoT) — 8B Instruct: 79.6% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct))
- MATH (4-shot, CoT) — 8B Instruct: 30% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct))
- GPQA (0-shot) — 8B Instruct: 34.2% ([source](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct))

## Pricing

- Input: $0.65 / 1M tokens (Llama 3 70B Instruct, cross-provider median) / 1M tokens
- Output: $2.75 / 1M tokens (Llama 3 70B Instruct, cross-provider median) / 1M tokens

Llama 3 has open weights and no first-party Meta API, so price depends on the hosting provider; these are cross-provider median rates for the original Llama 3 70B Instruct. The smaller 8B was typically served around $0.10–0.20 / 1M tokens. Many providers have since retired the original Llama 3 endpoints in favor of Llama 3.1/3.3.

Source: https://artificialanalysis.ai/models/llama-3-instruct-70b

## Strengths

- Strong reasoning and coding for its size — Llama 3 70B Instruct scores 82.0 on MMLU and 81.7 on HumanEval, competitive with much larger closed models of its era
- Fully open weights under a permissive community license: free to download, fine-tune and self-host
- Efficient 8B model that runs on a single consumer GPU while still scoring 68.4 MMLU and 62.2 HumanEval
- Grouped-Query Attention on both sizes for faster, cheaper inference
- Huge ecosystem — became one of the most fine-tuned and widely hosted open models, supported across virtually every inference framework and cloud

## Best for

- Self-hosted chat assistants and internal tools where data must stay on-premises
- Fine-tuning a base model on domain-specific data for classification, extraction or instruction following
- Cost-sensitive, high-volume text generation and summarization via the lightweight 8B model
- Code generation and assistance using the strong-for-its-size 70B model
- Research, benchmarking and as an open baseline for building on top of frontier-quality open weights

## How to access

- [Hugging Face (download weights)](https://huggingface.co/collections/meta-llama/meta-llama-3-66214712577ca38149ebb2b6) — model id `meta-llama/Meta-Llama-3-70B-Instruct`
- [Together AI (hosted)](https://www.together.ai/models/llama-3-70b) — model id `meta-llama/Llama-3-70b-chat-hf`

## Llama 3 versions

- [Llama 3.3 70B](https://ai-tldr.dev/models/llama-3-3/) (6 December 2024)
- [Llama 3.2](https://ai-tldr.dev/models/llama-3-2/) (25 September 2024)
- [Llama 3.1](https://ai-tldr.dev/models/llama-3-1/) (23 July 2024)
- Llama 3 (18 April 2024) — this page

## FAQ

### When was Llama 3 released and by whom?

Meta released Llama 3 on April 18, 2024, in two open-weight sizes: 8B and 70B parameters, each with a pretrained base and an instruction-tuned chat variant.

### What is Llama 3's context window?

Both Llama 3 sizes support an 8,192-token (8K) context window — double Llama 2's 4K. The longer 128K context arrived later with Llama 3.1.

### Is Llama 3 free and open source?

The weights are freely downloadable under the Meta Llama 3 Community License, which permits most commercial use. It is 'open weights' rather than strictly OSI open source: the license adds restrictions (notably extra terms for products with over 700 million monthly active users).

### Should I use Llama 3 or Llama 3.1?

For new projects, Llama 3.1 (released July 23, 2024) or a later point release is recommended — they add a 128K context window, more languages, and the frontier-scale 405B model. The original Llama 3 8B and 70B weights remain available but are superseded.

## Links

- [Introducing Meta Llama 3 — official announcement](https://ai.meta.com/blog/meta-llama-3/)
- [Llama 3 70B Instruct — Hugging Face model card](https://huggingface.co/meta-llama/Meta-Llama-3-70B-Instruct)
- [Llama 3 8B Instruct — Hugging Face model card](https://huggingface.co/meta-llama/Meta-Llama-3-8B-Instruct)
- [Llama — official site](https://www.llama.com/)
- [Llama 3 70B — price & performance analysis](https://artificialanalysis.ai/models/llama-3-instruct-70b)
- [Llama (language model) — Wikipedia](https://en.wikipedia.org/wiki/Llama_(language_model))

Source: AI/TLDR LLM registry, https://ai-tldr.dev/models/llama-3/
