# Llama 3 (8B)

> Reference dense Llama stack used to contrast OLMo 2's normalization and attention choices.

| Property | Value |
| --- | --- |
| Lab | Meta (United States) |
| Released | 2024-04-18 |
| Decoder type | Dense |
| Family | Dense |
| Scale | 8B parameters |
| Context window | 8,192 tokens |
| Attention | GQA with RoPE |
| Layer mix | 32 GQA |
| KV cache / token (bf16) | 128 KiB (Moderate) |
| License | Llama 3 Community License Agreement |

**Key detail:** Pre-norm baseline; wider than OLMo 2 at a similar scale.

## Architecture concepts

- [Grouped-Query Attention (GQA)](https://llm-atlas-7or.pages.dev/concepts/gqa.md): Several query heads share one key/value head, shrinking the KV cache with little quality loss.

## Benchmark (Artificial Analysis Intelligence Index)

- AA Intelligence Index v4.3.2: total 4.8 (Scientific 2.5)

## Links

- Architecture diagram: https://sebastianraschka.com/llm-architecture-gallery/images/architectures/llama-3-8b.webp
- View in article: https://magazine.sebastianraschka.com/p/the-big-llm-architecture-comparison#%C2%A723-olmo-2-summary
- From scratch: https://github.com/rasbt/LLMs-from-scratch/tree/main/ch05/07_gpt_to_llama
- config.json: https://huggingface.co/meta-llama/Meta-Llama-3-8B/blob/main/config.json
- License: https://huggingface.co/meta-llama/Meta-Llama-3-8B/blob/main/LICENSE
- Tech report: https://arxiv.org/pdf/2407.21783
- Source card (source of truth): https://sebastianraschka.com/llm-architecture-gallery/#card-llama-3-8b
- Web page: https://llm-atlas-7or.pages.dev/models/llama-3-8b/
- JSON: https://llm-atlas-7or.pages.dev/api/models/llama-3-8b.json

_Data from Sebastian Raschka's LLM Architecture Gallery (https://sebastianraschka.com/llm-architecture-gallery/). Synced 2026-11-04._
