Llama-3.1-8B-Instruct
NVIDIA NIM for GPU accelerated Llama-3.1-8B-Instruct inference through OpenAI compatible APIs
Certified NIM: NVIDIA-validated and supported for production use with NVIDIA AI Enterprise. Browse all Certified NIM.
Llama-3.1-8B-Instruct
Description:
This container houses the Llama-3.1-8B-Instruct, which is an 8 billion parameter, instruction-tuned large language model created by Meta. This model is part of the Llama 3.1 family of open-access models and is specifically optimized for dialogue and conversational use cases, making it highly capable of following user instructions to perform a wide variety of natural language processing tasks.
The container components are ready for commercial/non-commercial use.
Documentation
Visit the NIM Container LLM page for release documentation, deployment guides, and more.
The model is developed by Meta; the NIM container is built and published by NVIDIA. Given a text prompt or chat messages, the NIM returns generated text or code.
Key Features
- 8 billion parameter instruction-tuned, text-only model from the Meta Llama 3.1 collection, optimized for dialogue use cases.
- Context length of 128k tokens, with multilingual text input and multilingual text and code output.
- Supported languages: English, German, French, Italian, Portuguese, Hindi, Spanish and Thai.
- Single-GPU NIM profiles in BF16, FP8 and NVFP4 precision, each also available with LoRA adapter support.
- Delivered as a NIM microservice: a prebuilt, GPU-optimized inference container with OpenAI-compatible chat completions, completions and responses endpoints.
Use Cases
- Conversational assistants: Build assistant-like chat applications that follow user instructions.
- Content generation and summarization: Draft, rewrite and summarize text.
- Coding assistance: Generate and explain code from natural-language requests.
Third-Party Community Consideration
This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party's requirements for this application and use case; see link to Non-NVIDIA [meta-llama/Llama-3.1-8B-Instruct](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct).
License/Terms of Use:
GOVERNING TERMS: The NIM container is governed by the NVIDIA Software License Agreement and the Product-Specific Terms for AI Products.
The use of any models in this container is governed by the NVIDIA Open Model Agreement in addition to any terms which govern the specific models used.
You are responsible for ensuring that your use of any provided models complies with all applicable laws.
Use of this model is governed by the NVIDIA Open Model Agreement. The underlying model is also licensed under the Llama 3.1 Community License Agreement. Built with Llama.
Deployment Geography:
Global
Release Date:
Dates show when each version was published on NGC. This overview was last updated on November 20, 2026.
| Release | Date |
|---|---|
| NIM container 2.1.7 on NGC | November 17, 2026 |
| NIM container 2.1.6 on NGC | November 3, 2026 |
| NIM container 2.1.5 on NGC | October 27, 2026 |
| NIM container 2.1.4 on NGC | October 9, 2026 |
| NIM container 2.0.13 on NGC | September 16, 2026 |
| NIM container 2.0.12 on NGC | August 28, 2026 |
| NIM container 2.0.11 on NGC | August 19, 2026 |
| NIM container 2.0.10 on NGC | August 5, 2026 |
| NIM container 2.0.9 on NGC | July 23, 2026 |
| NIM container 2.0.8 on NGC | July 9, 2026 |
| NIM container 1.1.0 on NGC (first release) | July 23, 2024 |
Build.NVIDIA.com 07/23/2024 via
https://build.nvidia.com/meta/llama-3_1-8b-instruct
Huggingface 07/23/2024 via
https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct
Program Classes
Llama-3.1-8B-Instruct Container includes the following model:
| Model Name & Link | Use Case | How to Pull the Model |
|---|---|---|
| Llama-3.1-8B-Instruct | A conversational AI model for instruction-following, content generation, summarization, and coding assistance. | Automatic |
Container Version(s)
nvcr.io/nim/meta/llama-3.1-8b-instruct:2.1.7(current)
System Requirements
The values below come from the support matrix and prerequisites for NVIDIA NIM for LLM and VLM. The GPUs listed are the ones NVIDIA has verified for this model; the NIM selects a profile automatically for the detected hardware.
| Requirement | Details |
|---|---|
| GPU | Verified on A100-SXM4-40GB, A100-SXM4-80GB, B200, B300-SXM6-AC, GB10 (DGX Spark), GB200, GB300, GB300-WS (DGX Station), GH200-144G-HBM3e, GH200-480GB, H100-80GB-HBM3, H100-NVL, H200, H200-NVL, L40S, RTX PRO 4500 Blackwell Server Edition and RTX PRO 6000 Blackwell Server Edition. |
| GPU memory | Minimum of 24 GB |
| Number of GPUs | 1 (all profiles use tensor parallelism 1) |
| Precision | BF16, FP8 and NVFP4, each with a LoRA variant |
| Optimized profiles | NVFP4 on one B200; FP8 on one H200; both tuned for throughput |
| CPU architecture | AMD64 (x86_64) or ARM64 |
| Operating system | Linux; Ubuntu 22.04 LTS or later recommended |
| NVIDIA GPU driver | 580 or later |
| CUDA | CUDA SDK 12.9 or later |
| Container runtime | Docker 24.0 or later with NVIDIA Container Toolkit 1.14.0 or later |
Deployment Details:
Our AI models are designed and/or optimized to run on NVIDIA GPU-accelerated systems. By leveraging NVIDIA’s hardware (e.g. GPU cores) and software frameworks (e.g., CUDA libraries), the model achieves faster training and inference times compared to CPU-only solutions.
Pull and start the container with an NGC API key:
echo "$NGC_API_KEY" | docker login nvcr.io --username '$oauthtoken' --password-stdin
export NIM_LLM_IMAGE=nvcr.io/nim/meta/llama-3.1-8b-instruct:2.1.7
docker run --gpus=all \
-e NGC_API_KEY=$NGC_API_KEY \
-e NIM_SERVED_MODEL_NAME="meta/llama-3.1-8b-instruct" \
-v "$LOCAL_NIM_CACHE:/opt/nim/.cache" \
-p 8000:8000 \
${NIM_LLM_IMAGE}
Follow the getting started guide to start the container and send the first request.
References
Security Common Vulnerabilities and Exposures (CVEs)
Please review the Security Scanning tab on NGC to view the latest security scan results. For certain open-source vulnerabilities listed in the scan results, NVIDIA provides a response in the form of a Vulnerability Exploitability eXchange (VEX) document. The VEX information can be reviewed and downloaded from the Security Scanning tab.
Ethical Considerations:
NVIDIA believes Trustworthy AI is a shared responsibility and we have established policies and practices to enable development for a wide array of AI applications. When downloaded or used in accordance with our terms of service, developers should work with their internal developer team to ensure this model meets requirements for the relevant industry and use case and addresses unforeseen product misuse.
Please report quality, risk, security vulnerabilities or NVIDIA AI Concerns here.
Get Help
Enterprise Support
Get access to knowledge base articles and support cases or submit a ticket.