Meta Llama 3: What It Is and How to Use It
Meta Llama 3 is a family of open-weight language models released in April 2024. This guide explains the 8B and 70B models, what they can do, and how to run them.
On this page
Short answer
Meta Llama 3 is a family of large language models released by Meta on April 18, 2024, with downloadable weights that developers can run, fine-tune and build on. It arrived in two sizes, 8 billion and 70 billion parameters, in both base and instruction-tuned versions.
What is Meta Llama 3?
Meta Llama 3 is a family of large language models released by Meta on April 18, 2024, with downloadable weights that developers can run, fine-tune and build on. It arrived in two sizes, 8 billion and 70 billion parameters, in both base and instruction-tuned versions.
Llama 3 was trained on more than 15 trillion tokens of publicly available data, about seven times the training data used for Llama 2, with four times as much code. The models use a decoder-only Transformer design with grouped-query attention, and a tokenizer with a vocabulary of 128,000 tokens. The context length of the original models is 8,192 tokens.
The weights are open in the sense that anyone can download them, but the licence is not a standard open-source licence. Llama 3 ships under the Meta Llama 3 Community License, which adds an acceptable use policy and requires products with more than 700 million monthly active users to request a separate licence from Meta.
What are the four Llama 3 models?
The original Llama 3 release has four models: two sizes, each in a base version and an instruction-tuned version. The base models predict text; the instruction-tuned models are trained to follow instructions and hold a conversation.
| Model | Size | Best for | Trade-off |
|---|---|---|---|
| Llama 3 8B | 8 billion parameters | Fine-tuning and experiments | Lower capability than 70B |
| Llama 3 8B Instruct | 8 billion parameters | Chatbots and prototypes | Smaller quality ceiling |
| Llama 3 70B | 70 billion parameters | Custom downstream training | Needs much more hardware |
| Llama 3 70B Instruct | 70 billion parameters | Dialogue, coding and reasoning | Higher serving cost |
Meta also released safety tools alongside the models, including Llama Guard 2 for filtering unsafe inputs and outputs. For teams weighing open models against each other, the Mistral vs Llama 3 comparison covers where each one fits best.
What can you build with Llama 3?
You can build chatbots, summarisation tools, coding assistants, search and retrieval systems, and content tools with Llama 3. Because the weights are downloadable, you can run the model on your own hardware or in a cloud account you control, rather than calling an external API.
The 8B model suits tasks where speed and cost matter: local assistants, prototypes, and features that run on modest hardware. The 70B model suits work where quality matters more: longer documents, harder reasoning, and tasks where a wrong answer is costly. An LLM development team can help you pick the right size and set up the serving stack.
Llama 3 is a text model, so it does not see images or hear audio on its own. Teams that need those inputs usually pair it with other tools, or move to a later model in the family. The model also has a knowledge cutoff from its training data, so it does not know about events after that date unless you give it fresh information through retrieval or fine-tuning.
How do you run Llama 3?
You run Llama 3 by downloading the weights, loading them with a serving tool, and sending prompts to the model. The simplest path for a prototype is a local runner such as Ollama or llama.cpp, which can run the 8B model on a good laptop or desktop.
For production, teams usually host the model on cloud GPUs or use a managed provider that offers Llama 3 as a hosted endpoint. The 70B model needs several high-memory GPUs, so most teams rent them rather than buying hardware. Quantized versions of both models trade a little accuracy for much lower memory use, which is how the 8B model fits on consumer hardware.
Before you deploy, plan for safety and cost. Add input and output filters, set a maximum output length, and measure the cost per thousand requests so a traffic spike does not surprise you. The Llama vs GPT comparison is useful if you are deciding between running your own model and using a hosted API.
What does the Llama 3 licence allow?
The Llama 3 licence allows you to download the weights, fine-tune them, and use them in commercial products, as long as you follow the acceptable use policy. You must display "Built with Meta Llama 3" where the licence requires it, and you may not use the outputs to improve another large language model, except Llama 3 itself.
The main limit is scale. If your product reaches more than 700 million monthly active users, you must request a separate licence from Meta before continuing to use the models. That clause matters mostly to very large platforms, but it is worth knowing before you build a business on the model.
The licence is also why Llama 3 is often called open-weight rather than open-source: the weights are available, but the training data is not published, so nobody can fully reproduce the model from scratch. If your project needs a fully open licence, check the terms of the alternative models before you commit.
Example (hypothetical): a support assistant on Llama 3 8B
Example (hypothetical): a small software company wants a support assistant that answers questions from its help centre. The team chooses Llama 3 8B Instruct and runs it on a single rented GPU, using retrieval to ground answers in the help centre articles.
Each help centre article is about 500 tokens long, and the model's context length is 8,192 tokens. The team retrieves 12 articles per question, which uses 12 times 500, or 6,000 tokens, leaving 2,192 tokens for the question and the answer. That budget is enough for a short answer with a link to the full article.
After a month of testing, the assistant answers about two thirds of questions without a human. The team keeps a human review step for billing questions, where a wrong answer costs more than a slow one. The 8B model was the right size here: the 70B model would have cost more per request without changing the outcome for most questions.
What are the common mistakes?
The most common Meta Llama 3 mistakes are picking the wrong model size, skipping retrieval, and ignoring the licence terms.
- Using 70B for everything. The larger model costs more per request and is slower; 8B handles most routine tasks well.
- Skipping retrieval. Asking the model questions it cannot know, instead of giving it your documents to work from.
- Ignoring the licence. Missing the 700 million user clause or the "Built with Meta Llama 3" attribution.
- No output filters. Deploying without checks on what the model returns to users.
- Trusting old knowledge. The model's training data has a cutoff, so it can be wrong about recent events.
- Forgetting the 8,192-token context. Long documents need chunking, or the model will never see the whole text.
Key takeaways
- Llama 3 arrived on April 18, 2024, in 8B and 70B sizes
- Base models predict text; Instruct models follow instructions
- The 8,192-token context means long documents need chunking
- The Community License has a 700 million user clause and an attribution rule
- Start with 8B plus retrieval, and move to 70B only when it fails
Frequently asked questions
Is Llama 3 free to use?
The weights are free to download and use under the Meta Llama 3 Community License, including for commercial products. You must follow the acceptable use policy, show the required attribution, and request a separate licence if your product passes 700 million monthly active users.
What is the difference between Llama 3 and Llama 3.1?
Llama 3.1 came later, in July 2024, and added a 405B model, a 128K-token context window, and multilingual support. The original Llama 3 is the April 2024 release with 8B and 70B models and an 8,192-token context.
Can Llama 3 run on a laptop?
The 8B model can run on a good laptop or desktop with a local runner such as Ollama, especially in a quantized form. The 70B model needs much more memory and is normally run on cloud GPUs.
Does Llama 3 know about recent events?
No. Its training data has a cutoff, so it does not know about events after that date. For current information, give it fresh documents through retrieval, or use a tool that fetches live data.
Is Llama 3 really open source?
Not in the strict sense. The weights are downloadable, but the training data is not published, and the licence adds conditions that standard open-source licences do not have. Most people call it open-weight rather than open-source.
What hardware does Llama 3 70B need?
It needs several high-memory GPUs, so most teams rent cloud GPUs or use a managed hosting provider. The exact requirement depends on the quantization and the serving setup, so check the provider's guidance before budgeting.