Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

Llama 3.1 8B Instruct

by Meta Llama

Small chat model by Meta.

Text and agentsRuns on 16 GB

Hugging FaceDemos

1. Commercial use

“prominently display “Built with Llama” on a related website, user interface, blogpost, about page, or product documentation.”

Allowed with a visible "Built with Llama" credit, the acceptable use policy, and a separate Meta license above 700 million monthly users.

github.com/meta-llama/llama-models/blob/main/models/llama3_1/LICENSE

Checked against its official pages on Nov 23, 2026. Tap a verdict to see its source.How we checkedReport an error

What Llama 3.1 8B Instruct does

Llama 3.1 8B Instruct is an open text model by Meta that powers assistant-style chat in eight languages. The files are on Hugging Face after you accept Meta's license. It is free for most commercial use under the Llama 3.1 Community License, with a "Built with Llama" credit and extra rules.

What people use it for

Small chat assistant

Run a chatbot or helper inside your product, in English or seven other languages.

Call your own functions

Give the model a list of your functions (weather, search, orders) and let it ask for the right one with the right inputs.

Chat in eight languages

Answer users in English, German, French, Italian, Portuguese, Hindi, Spanish or Thai.

Make training data for another model

Use its answers to create training examples or to teach a smaller model, which Meta's license allows with naming rules.

Long inputs

Read up to 128k tokens at once, such as a long report or a long chat history.

Llama 3.1 8B Instruct popularity

9,102
likes on Hugging Face
4M
downloads, last 30 days
33
Hugging Face trending score

As reported by Hugging Face, checked Nov 26, 2026. Downloads include automated ones; some repositories report none.

Where to run Llama 3.1 8B Instruct

Through an API

Provider$ per 1M in / outToolsContext
Groq (100% up, 24h)$0.05 / $0.08Yes131K
OpenRouter$0.05 / $0.08Yes131K
Amazon Bedrock (100% up, 24h)$0.22 / $0.22Yes131K
CoreWeave (99.7% up, 24h)$0.22 / $0.22Yes131K

As reported by each provider via Hugging Face Inference Providers and OpenRouter, checked Nov 26, 2026.

On your machine

Parameters

8.0B

Memory at 4-bit

about 4.8 GB

Our estimate: 0.6 GB per billion parameters, with room for the context.

GGUF builds

77 on Hugging Face

For llama.cpp, Ollama and LM Studio; e.g. ggml-org/Meta-Llama-3.1-8B-Instruct-Q4_0-GGUF

MLX builds

1 on Hugging Face

For Apple silicon

Llama 3.1 8B Instruct license

Free to use in paid products under Meta's Llama 3.1 Community License, but you must show "Built with Llama" and follow Meta's acceptable use policy. Very large companies (over 700 million monthly users) need a separate license.

In a paid product
With conditions

Allowed with a visible "Built with Llama" credit, the acceptable use policy, and a separate Meta license above 700 million monthly users.

“prominently display “Built with Llama” on a related website, user interface, blogpost, about page, or product documentation.” source

Ship the weights to users
With conditions

Include a copy of the license and a Notice text file with Meta's attribution line in every copy.

“Llama 3.1 is licensed under the Llama 3.1 Community License, Copyright © Meta Platforms, Inc. All Rights Reserved.” source

Train other models on its outputs
With conditions

You may use its outputs to train another model, but a shared model must have a name that starts with "Llama".

“If you use the Llama Materials or any outputs or results of the Llama Materials to create, train, fine tune, or otherwise improve an AI model, which is distributed or made available, you shall also include “Llama” at the beginning of any such AI model name.” source

Work for clients
With conditions

You may build client products with it; the client's product must carry the same credit and follow the same rules.

“If you distribute or make available the Llama Materials (or any derivative works thereof), or a product or service (including another AI model) that contains any of them” source

Alternatives

Llama 3.1 8B Instruct This page

9,102 likesLlama 3.1 license

Qwen3.8-27B

Qwen · image-text-to-text

21.7K likesApache 2.0

Kimi-K3

moonshotai · image-text-to-text

12K likesCustom license

Qwen3.8-Flash-Next

Qwen · image-text-to-text

7,502 likesCustom license

DeepSeek-V4.1-Flash-1017

deepseek-ai · image-text-to-text

6,665 likesMIT

All text and agents models

Get started

Tell your AI assistant

“After the person has been granted access to meta-llama/Llama-3.1-8B-Instruct and set HF_TOKEN, run it with transformers>=4.43.0 via transformers.pipeline("text-generation", model_kwargs={"torch_dtype": torch.bfloat16}, device_map="auto"), and add a visible "Built with Llama" credit to the product.”

  1. The person accepts Meta's license on the model page and waits for approval (see human steps).

    From huggingface.co/meta-llama/Llama-3.1-8B-Instruct

  2. Update Transformers.

    pip install --upgrade transformers

    From huggingface.co/meta-llama/Llama-3.1-8B-Instruct

  3. Run the chat pipeline from the first recipe above.

    From huggingface.co/meta-llama/Llama-3.1-8B-Instruct

Model id to use

OpenAI-compatible: base URL https://openrouter.ai/api/v1

meta-llama/llama-3.1-8b-instruct

Mistakes to avoid

Shipping a product on Llama without any credit
Show "Built with Llama" on your site, app screen, about page or docs, and include a copy of the license

The license requires both when you make the model or a product with it available.

Publishing a fine-tuned model under a name without "Llama"
Start the model's name with "Llama", for example Llama-3.1-8B-YourName

The license requires it for any shared model trained with Llama or its outputs.

Running it with an old Transformers version
Use transformers 4.43.0 or newer (pip install --upgrade transformers)

The model card supports chat in Transformers only from 4.43.0 on.

Downloading the files before access is approved, or without a Hugging Face token
Accept the license on the model page, wait for approval, then download with a token of the approved account

Requests are approved by Meta first; until then the files are locked.

Shipping the model files without the notice file
Add a Notice text file with the line Meta gives in the license

The license asks for this attribution in every copy you distribute.

Questions

Can I use Llama 3.1 8B in a paid app?

Yes, under the Llama 3.1 Community License. Show "Built with Llama", follow Meta's acceptable use policy, and get a separate license if you had over 700 million monthly users.

Why can't I download the files?

The model is gated. Accept the license on its Hugging Face page and wait until Meta approves the request.

Which languages does it support?

English, German, French, Italian, Portuguese, Hindi, Spanish and Thai.

Can I train my own model on its answers?

Yes. If you share that model, its name must start with "Llama".