---
title: Llama 2 (2023): Meta's open weights model for commercial use
url: https://llmsranked.com/history/llama-2/
updated: 2026-11-20
---

Open weights· [Instruction tuning and chat](https://llmsranked.com/history/#era-chat)

# Llama 2 (2023): Meta's open weights model for commercial use

Event date 18 July 2023

On 18 July 2023 Meta released Llama 2, pretrained and chat tuned models with up to 70 billion parameters, free for research and commercial use under a custom licence. It made capable open weights models usable by companies for the first time at scale.

- [Meta and Microsoft](https://llmsranked.com/providers/meta/)
- [LLMs Ranked editors](https://llmsranked.com/editorial-policy/)
- Published 20 Nov 2026
- 2 min read
- 4 sources

2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026

2023

On this page

- [Key numbers](#kn-h)
- [What was released](#what-was-released)
- [The licence](#the-licence)
- [The paper and its claims](#the-paper-and-its-claims)
- [Limits and caveats](#limits-and-caveats)
- [Why it mattered](#wm-h)
- [Questions](#hf-h)
- [On the timeline](#tl-h)
- [Sources](#hsrc-h)

## Key numbers

**Pretraining tokens per model (Meta model card)**
2 trillion[github.com](https://github.com/meta-llama/llama/blob/main/MODEL_CARD.md)

**Largest model size (Meta)**
70 billion parameters[arxiv.org](https://arxiv.org/abs/2307.09288)

## What was released

Meta published pretrained weights and starter code for Llama 2, plus conversational versions called Llama 2 Chat. The model card lists three sizes, 7, 13 and 70 billion parameters, each trained on 2 trillion tokens with a 4,000 token context. Pretraining data ended in September 2022, and the 70 billion model used grouped query attention.

Microsoft was named Meta's preferred partner and offered the models in the Azure AI catalogue. They were also available through Amazon Web Services and Hugging Face.

Sources: [ai.meta.com](https://ai.meta.com/blog/llama-2/), [github.com](https://github.com/meta-llama/llama/blob/main/MODEL_CARD.md)

## The licence

Llama 2 was free for research and commercial use, which LLaMA had not been. The licence was still a custom one, not a standard open source licence. A company whose products had more than 700 million monthly active users in the month before 18 July 2023 had to ask Meta for a licence, which Meta could refuse.

The licence also forbids using Llama materials or their outputs to improve any other large language model, apart from Llama 2 and its derivatives, and requires users to follow Meta's acceptable use policy.

Sources: [ai.meta.com](https://ai.meta.com/llama/license/)

## The paper and its claims

The accompanying paper, posted on 18 July 2023, covers models from 7 to 70 billion parameters. The authors said Llama 2 Chat outperformed open source chat models on most benchmarks they tested, and that on human evaluations of helpfulness and safety it could be a suitable substitute for closed models. Those are the authors' own comparisons.

The paper was also notable for describing the fine tuning and safety work in detail, which gave the open community a recipe to follow.

Sources: [arxiv.org](https://arxiv.org/abs/2307.09288)

## Limits and caveats

Llama 2 was open weights rather than open source in the strict sense: users received the models and code, but under conditions Meta wrote itself. The 4,000 token context was modest next to the 100,000 tokens that Anthropic offered the same week, and the model card says pretraining data stopped in September 2022. Meta's blog post names Microsoft Azure, Amazon Web Services and Hugging Face as places to get the models, so Llama 2 was usable through several clouds from day one. Meta's own chat evaluations are the main source for its safety claims; they should be read as lab reported.

Sources: [ai.meta.com](https://ai.meta.com/blog/llama-2/), [github.com](https://github.com/meta-llama/llama/blob/main/MODEL_CARD.md)

## Why it mattered

- It let companies build products on strong open weights without a separate deal, which broadened the market for self hosting.
- It gave the open community a documented recipe for chat tuning and safety work.
- It sharpened the debate over what open source means, because the licence set conditions that standard open source licences do not.

## Questions

When was Llama 2 released? Meta released Llama 2 on 18 July 2023.

Is Llama 2 free for commercial use? Yes, under Meta's custom licence. Companies with more than 700 million monthly active users must request a separate licence.

What sizes did Llama 2 come in? 7, 13 and 70 billion parameters, each with a pretrained and a chat version.

How much data was Llama 2 trained on? The model card lists 2 trillion tokens for each of the 7, 13 and 70 billion parameter models.

## About this page

Part of our [LLM history timeline](https://llmsranked.com/history/). The event happened on 18 July 2023; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our [editorial policy](https://llmsranked.com/editorial-policy/). Found an error? [Tell us](https://llmsranked.com/contact/) and we will correct it with a dated note.

## On the timeline

[Earlier11 Jul 2023
Claude 2 (2023): Anthropic's 100K token context model](https://llmsranked.com/history/claude-2/)[Later3 Aug 2023
Qwen (2023): Alibaba's first open weights language models](https://llmsranked.com/history/qwen/)

### Related milestones

- [2023 · 02LLaMA (2023): Meta's research-only open weights family](https://llmsranked.com/history/llama/)
- [2023 · 03GPT-4 (2023): OpenAI's multimodal model and technical report](https://llmsranked.com/history/gpt-4/)
- [2023 · 09Mistral 7B (2023): a small Apache 2.0 model from Mistral AI](https://llmsranked.com/history/mistral-7b/)
- [2024 · 04Llama 3 (2024): Meta releases 8B and 70B open models](https://llmsranked.com/history/llama-3/)

## Terms and labs

- [Open weights](https://llmsranked.com/glossary/#open-weights)
- [Licence](https://llmsranked.com/glossary/#licence)
- [Parameters](https://llmsranked.com/glossary/#parameters)
- [Model card](https://llmsranked.com/glossary/#model-card)
- [Meta models](https://llmsranked.com/providers/meta/)

## Sources

Papers and announcements we read for this page.

- [Meta AI, Llama 2 announcement](https://ai.meta.com/blog/llama-2/)
- [Touvron et al., Llama 2: Open Foundation and Fine-Tuned Chat Models (arXiv)](https://arxiv.org/abs/2307.09288)
- [Meta, Llama 2 model card (GitHub)](https://github.com/meta-llama/llama/blob/main/MODEL_CARD.md)
- [Meta, Llama 2 community licence agreement](https://ai.meta.com/llama/license/)
