- input
- $0.05
- cached
- $0.025
- output
- $0.08
- Context
- 131Ktokens
- Released
- 2y ago
- Size
- 8Bparameters
Cost/1M tokens
Compact open Llama model for lightweight chat, drafting, and self-hosting
- Language model
- Open weights · 8B
- Tools
- Structured output
How it compares
Score vs. costArena Text
Each model at its best score · Dashed: the best score at each cost
- Meta
- Moonshot AI
- Thinking Machines Lab
- Z.ai
- OpenAI
- Google DeepMind
- Anthropic
- Xiaomi
- IBM
Small8BAn open-weight model of 5 to 25 billion parameters, the size that runs on a single consumer GPU.
Open models of a similar size from other labs
Add the models you use to see how this one compares.
Sign inAdditional source evidence
- Source model
- meta/llama-3.1-8b-instruct
- Source family
- llama
- Last updated
- 2024-07-23
- Knowledge cutoff
- 2023-12
- Model context
- 128K
- Model output limit
- 4K
- Open weights
- Yes
- File attachments
- No
- Reasoning
- No
- Tool calling
- Yes
- Temperature control
- Yes
Downloadable weights
Complete source record (JSON)
{
"id": "meta/llama-3.1-8b-instruct",
"name": "Llama-3.1-8B-Instruct",
"description": "Compact open Llama model for lightweight chat, drafting, and self-hosting",
"family": "llama",
"last_updated": "2024-07-23",
"knowledge": "2023-12",
"attachment": false,
"reasoning": false,
"tool_call": true,
"temperature": true,
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"limit": {
"context": 128000,
"output": 4096
},
"release_date": "2024-07-23",
"open_weights": true,
"weights": [
{
"label": "Hugging Face",
"url": "https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct"
}
]
}Frequently asked questions
Running locally
By our estimate, Llama 3.1 8B Instruct needs about 5.9 GB at Q4, 10.3 GB at Q8 and 18.9 GB at FP16 of VRAM. That covers the weights plus headroom for a short context, and longer contexts need more.
Yes, by our estimates Llama 3.1 8B Instruct fits on an 8 GB GPU at Q4 (about 5.9 GB) and at higher precision on larger cards.
Yes, a Mac with at least 8 GB of unified memory should run Llama 3.1 8B Instruct at Q4, which needs an estimated 5.9 GB. This assumes macOS gives the GPU about 75% of unified memory.
The smallest 4-bit or higher build of Llama 3.1 8B Instruct is llama3.1:8b-instruct-q4_0 (Q4_0), a 4.7 GB download that needs an estimated 5.9 GB of VRAM. Lower-bit builds are smaller but are not the ones we suggest.
Run ollama run llama3.1:latest to download and start Llama 3.1 8B Instruct in Ollama (4.9 GB). There are 88 other Ollama builds with different sizes and quantizations.
Vertical Tabs records support for Llama 3.1 8B Instruct in Ollama. It also has published Ollama builds.
The default Ollama build, llama3.1:latest, is a 4.9 GB download. Across 89 builds, sizes range from 3.2 GB to 812 GB.
API and pricing
Llama 3.1 8B Instruct is listed at $0.05 per 1M input tokens and $0.08 per 1M output tokens. Input prices across 4 providers range from $0.02 to $0.22 per 1M tokens.
DeepInfra has the lowest blended price for Llama 3.1 8B Instruct (3:1 input to output), at $0.02 per 1M input tokens and $0.04 per 1M output tokens.
Yes, cached input for Llama 3.1 8B Instruct costs $0.025 per 1M tokens, compared with $0.05 for uncached input, a 50% discount.
A request with 10,000 input tokens and 1,000 output tokens costs about $0.00024 with Llama 3.1 8B Instruct at the cheapest provider, DeepInfra.
4 of 4 tracked Llama 3.1 8B Instruct endpoints had 99% uptime or better over the last day. The best uptime was 100.0%, shared by Amazon Bedrock, CoreWeave, DeepInfra and 1 more.
Privacy and data
DeepInfra, Groq, Amazon Bedrock and CoreWeave offer zero data retention for Llama 3.1 8B Instruct, so prompts are not stored after the request.
Yes, Llama 3.1 8B Instruct has open weights, so you can run it on your own hardware and keep prompts on your own machines. The quickest start is ollama run llama3.1:latest.
Capabilities and specs
Llama 3.1 8B Instruct has a 131K token context window. It can write up to 118K output tokens per response.
No, Llama 3.1 8B Instruct takes text input only.
Yes, Llama 3.1 8B Instruct supports tool calling (function calling), so it can request calls to tools you define.
Yes, Llama 3.1 8B Instruct supports structured output, so responses can be constrained to JSON.
No, Llama 3.1 8B Instruct is not listed with a reasoning mode.
Llama 3.1 8B Instruct has a knowledge cutoff of 2023-12, so it does not know about later events unless you provide them.
Quality and benchmarks
Llama 3.1 8B Instruct ranks #354 on Arena Text, using Arena's published ranks.
Similar models from other labs include Command R7B (12-2024) (Cohere), Mistral Nemo (Mistral AI) and Llama 3 8B Lunaris (Sao10K). They are the closest matches by kind, price and release date.
Command R7B (12-2024)Llama 3.1 8B Instruct vs Command R7B (12-2024)Mistral NemoLlama 3.1 8B Instruct vs Mistral NemoLlama 3 8B LunarisLlama 3.1 8B Instruct vs Llama 3 8B Lunaris
Versions and lineage
Llama 3.1 8B Instruct costs $0.05 input and $0.08 output per 1M tokens, versus $0.72 and $0.72 for Llama 3.1 70B Instruct. Both have a 131K token context window.
Llama 3.1 70B InstructLlama 3.1 8B Instruct vs Llama 3.1 70B Instruct
Licensing and access
Llama 3.1 8B Instruct has open weights, so you can download and run it yourself.
The Llama 3.1 8B Instruct weights are on Hugging Face at meta-llama/Meta-Llama-3.1-8B-Instruct. There are also 89 Ollama builds.
Yes, Llama 3.1 8B Instruct is available on Amazon Bedrock. We do not track an endpoint on Azure or Google Vertex AI for it.
Basics
Llama 3.1 8B Instruct was made by Meta. It was released on July 23, 2024.
Yes, Llama 3.1 8B Instruct has open weights, so you can run it on your own hardware without API fees. Paid API access is listed at $0.05 per 1M input tokens and $0.08 per 1M output tokens.
Generated from Vertical Tabs data, updated November 30, 2026.

Discussion
No comments yet
Be the first to share your thoughts.