LLaMA
Meta's open-weight large language model family, distributed as inference code and downloadable model weights for research and local deployment.
LLaMA is a family of large language models released by Meta (Facebook). Unlike hosted model APIs, Meta publishes the model weights, so researchers and engineering teams can download the models and run inference on their own hardware.
The public GitHub repository at meta-llama/llama is described as inference code for Llama models, and it serves as a minimal example of how to load a model and generate text.
The repository as reviewed covers the Llama 2 generation, with pre-trained and fine-tuned models ranging from 7B to 70B parameters. Access is gated: you request the weights through the Meta website, accept the license, and receive a signed download URL by email, which you then pass to the included download.sh script.
The same models are also distributed through Hugging Face, where access is granted after acknowledging the license and completing the form on the model card, typically within about an hour.
What you get is not a product but a starting point. The repo ships example scripts for text completion and chat completion, a requirements file, a setup script, a model card, a responsible-use guide and a use policy. There is no hosted endpoint, no dashboard and no managed scaling.
You supply the compute, the environment and the serving layer, and you are responsible for how the model is used under Meta's license and acceptable-use terms.
The project has moved on. The repository carries a deprecation note stating that as part of the Llama 3.1 release, Meta consolidated its GitHub presence into an end-to-end Llama Stack.
New work is directed to llama-models for foundation models and licensing, PurpleLlama for safety and inference-time mitigations, llama-toolchain for inference, fine-tuning and synthetic data interfaces, llama-agentic-system for agentic applications, and llama-cookbook for community scripts and integrations.
The original llama repo remains online with roughly 59.6k stars and 9.8k forks, but it is no longer the place to start.
In practice, LLaMA is the reference point for teams that want model weights they can inspect, fine-tune and keep on their own infrastructure, rather than an API they call over the network. The trade-off is that everything around the model, from GPU provisioning to serving and evaluation, is your responsibility.
Our take
LLaMA is best understood as a licensing and weights distribution channel rather than a tool you install and use. For a team that needs data to stay on its own machines, or that wants to fine-tune a model on proprietary material, the open-weight release is the whole point: you get 7B to 70B parameter models, a minimal inference example and a clear license path, and you can build whatever serving stack you prefer on top. The Hugging Face route is the practical one for most engineers, since access is granted within about an hour instead of waiting on an emailed signed URL.
The limitation is maintenance and scope. The repository reviewed is explicitly deprecated in favour of the Llama Stack repos, and the model code for different generations does not live in one place, so a buyer following an old tutorial will hit dead ends. There is also no managed inference, no SLA and no support contract here. Choose LLaMA if you have GPU capacity and engineering time and want weights you control; choose a hosted model API if you want an endpoint today. Before committing, check the current license and use policy, because commercial use is permitted but constrained.
What it does
- Open weights: Model weights are published for download, so teams can inspect, fine-tune and self-host rather than call a remote API.
- Model sizes: The Llama 2 release covers pre-trained and fine-tuned models from 7B to 70B parameters.
- Inference examples: The repo includes example_text_completion.py and example_chat_completion.py as minimal starting points for local generation.
- Gated download: Weights are requested through the Meta website with license acceptance, returning a signed URL that expires after 24 hours.
- Hugging Face access: The same models are available on Hugging Face after acknowledging the license and completing the model card form, usually within an hour.
- Download script: A bundled download.sh handles fetching weights and tokenizer, requiring wget and md5sum on the host machine.
- Governance documents: The repository ships a model card, responsible-use guide, use policy and code of conduct alongside the code.
- Llama Stack successors: Development has moved to llama-models, PurpleLlama, llama-toolchain, llama-agentic-system and llama-cookbook.
Best for
- Research teams that need direct access to model weights for experiments and benchmarking.
- Organisations with a data-residency requirement that rules out sending prompts to a third-party API.
- Engineers planning to fine-tune a model on domain-specific or proprietary data.
- Teams with existing GPU capacity and an in-house serving stack.
- Developers who want a well-documented, widely forked reference implementation to learn from.
Not ideal for
- Buyers who want a ready-to-use chat product or hosted endpoint out of the box.
- Teams without GPU hardware or the engineering time to build a serving layer.
- Anyone needing a vendor SLA, support contract or managed autoscaling.
- Users who require unconstrained commercial terms, since the weights are governed by Meta's license and use policy.
Pros
- Weights are open and downloadable, enabling inspection, fine-tuning and on-premises deployment.
- Data can stay on your own infrastructure with no dependency on an external API.
- A clear upgrade path exists across model generations and sizes, from 7B to 70B parameters.
- Two distribution routes, the Meta website and Hugging Face, with documented access steps.
- License, model card and responsible-use documentation are included in the repository.
Cons
- The reviewed repository is marked deprecated, with development moved to separate Llama Stack repos.
- Model code for different generations is split across repositories, which confuses newcomers.
- No hosted inference, SLA or support is provided; you supply compute and serving.
- Download links from the Meta site expire after 24 hours and have usage limits, requiring re-requests.
Pricing and facts
| Pricing model | Free · from Free |
|---|---|
| Free tier | Yes, the weights and inference code are downloadable at no cost after license acceptance, though you pay for your own hardware. |
| Pricing detail | No price is published in the sources reviewed. The model weights and inference code are distributed at no charge, subject to accepting Meta's license and use policy; the real cost is the GPU compute and engineering time needed to run the models yourself. |
| Platforms | Linux, macOS, Windows (via WSL), Hugging Face |
| Developer | Meta |
| Website | https://github.com/facebookresearch/llama?utm_source=aibookmarks.net |
| Last reviewed | 2026-11-27 |
Example prompt
Using the Llama 2 7B chat model, summarise this support ticket in three bullet points and flag any refund request.Alternatives to LLaMA
Questions about LLaMA
What is LLaMA?
LLaMA is a family of large language models released by Meta (Facebook). Unlike hosted model APIs, Meta publishes the model weights, so researchers and engineering teams can download the models and run inference on their own hardware.
The public GitHub repository at meta-llama/llama is described as inference code for Llama models, and it serves as a minimal example of how to load a model and generate text.
The repository as reviewed covers the Llama 2 generation, with pre-trained and fine-tuned models ranging from 7B to 70B parameters. Access is gated: you request the weights through the Meta website, accept the license, and receive a signed download URL by email, which you then pass to the included download.sh script.
The same models are also distributed through Hugging Face, where access is granted after acknowledging the license and completing the form on the model card, typically within about an hour.
What you get is not a product but a starting point. The repo ships example scripts for text completion and chat completion, a requirements file, a setup script, a model card, a responsible-use guide and a use policy. There is no hosted endpoint, no dashboard and no managed scaling.
You supply the compute, the environment and the serving layer, and you are responsible for how the model is used under Meta's license and acceptable-use terms.
The project has moved on. The repository carries a deprecation note stating that as part of the Llama 3.1 release, Meta consolidated its GitHub presence into an end-to-end Llama Stack.
New work is directed to llama-models for foundation models and licensing, PurpleLlama for safety and inference-time mitigations, llama-toolchain for inference, fine-tuning and synthetic data interfaces, llama-agentic-system for agentic applications, and llama-cookbook for community scripts and integrations.
The original llama repo remains online with roughly 59.6k stars and 9.8k forks, but it is no longer the place to start.
In practice, LLaMA is the reference point for teams that want model weights they can inspect, fine-tune and keep on their own infrastructure, rather than an API they call over the network. The trade-off is that everything around the model, from GPU provisioning to serving and evaluation, is your responsibility.
Is LLaMA free?
LLaMA is free. Yes, the weights and inference code are downloadable at no cost after license acceptance, though you pay for your own hardware.
What is LLaMA best for?
Research teams that need direct access to model weights for experiments and benchmarking.; Organisations with a data-residency requirement that rules out sending prompts to a third-party API.; Engineers planning to fine-tune a model on domain-specific or proprietary data.; Teams with existing GPU capacity and an in-hou
What are alternatives to LLaMA?
Alternatives reviewed on this site: Llama 3, OpenBMB, SiliconFlow.
Listed in Open Models & Runtimes. Something out of date? Tell us.