Llama 3.1 8B Instruct
- Family
- Llama 3.1
- Released
- 2024-07-23
- Context
- 128K
- Parameters
- 8B
- Architecture
- Decoder Only
- Knowledge cutoff
- 2023-12
- Specialization
- general
- Openness
- Open weights
- License
- Llama 3 CommunityRestricted
- Weights
- Available
- Code
- Unknown
- Training
- Fine-tuned
Large-scale open-source AI for social technologies.
Cheapest of 12 routes · DeepInfra
Large-scale open-source AI for social technologies.
Cheapest of 12 routes · DeepInfra
About
The Llama 3.1 8B Instruct model, released on July 23, 2024, is a multilingual large language model with 8 billion parameters, optimized for instruction-following tasks. It features an enhanced transformer architecture, supporting languages like English, German, French, and others. The model excels in dialogue applications, having been fine-tuned using supervised fine-tuning and reinforcement learning with human feedback. Trained on approximately 15 trillion tokens with a December 2023 data cutoff, it outperforms many existing open-source and closed chat models in various benchmarks.
Providers(12)
Compare all 12Compare API pricing across 12 tracked provider routes for input and output tokens, batch, and cached reads when available.
| Provider | Input / 1M | Output / 1M | Cache | Route |
|---|---|---|---|---|
| DeepInfra | $0.020 | $0.050 | - | Serverless |
| Novita AI | $0.020 | $0.050 | - | Serverless |
| Featherless | $0.050 | $0.080 | - | Serverless |
| GroqCloud | $0.050 | $0.080 | - | Serverless |
| Hyperbolic AI Inference | $0.100 | $0.100 | - | Serverless |
| Fireworks AI | $0.200 | $0.200 | - | Serverless |
| AWS Bedrock | $0.220 | $0.220 | - | Serverless Scheduled retirement: March 30, 2027 |
| OpenRouter | $0.220 | $0.220 | read $0.220 | Serverless |
| Vercel AI Gateway | $0.220 | $0.220 | - | Serverless |
| Replicate API | $0.250 | $0.250 | - | Serverless |
| Cloudflare Workers AI | $0.152 | $0.287 | - | Serverless |
| Databricks Foundation Model Serving | - | - | - | ProvisionedPartial |
Deprecated provider routes(5)
| Provider | Status | Catalog ID |
|---|---|---|
| OctoAI API (Deprecated) | Deprecated | — |
| Together AI | DeprecatedRetired March 6, 2026 | meta-llama/Meta-Llama-3.1-8B-Instruct-Turbo |
| NVIDIA NIM | DeprecatedRetired August 25, 2026 | meta/llama-3.1-8b-instruct |
| Microsoft Foundry | DeprecatedRetired June 13, 2026 | Meta-Llama-3.1-8B-Instruct |
| IBM watsonx | DeprecatedRetired May 30, 2025 | — |
Available via routers & gateways(8)
LiteLLM
GatewayOpen-source Python SDK and proxy server that unifies 100+ LLM APIs behind a single OpenAI-compatible interface, with load balancing, cost tracking, and configurable failover.
OpenRouter
HybridUnified hybrid gateway to 500+ models from 80+ providers via a single OpenAI-compatible API, with an optional Auto Router that selects a model per prompt from market spend data.
Portkey
GatewayProduction AI gateway routing to 1,600+ LLMs with failover, load balancing, caching, and guardrails; MIT-licensed open-source core is self-hostable. Now part of Palo Alto Networks as Prisma AIRS AI Gateway.
Amazon Bedrock Intelligent Prompt Routing
RouterAWS Bedrock's native prompt router that predicts each model's performance per request and routes between two models of the same family (Anthropic Claude, Meta Llama or Amazon Nova).
Azure AI Foundry Model Router
RouterMicrosoft Azure AI Foundry's native model router that uses a trained ML model to route each prompt in real time to the optimal Azure-hosted model, with Balanced/Cost/Quality mode selection and automatic failover.
Helicone
GatewayObservability-first AI gateway with routing, caching, rate limiting, and request tracing; Apache-2.0 open-source platform with a managed hosted tier for logging and analytics.
Capabilities
Benchmark peer barsfor RAG
Benchmark scores(5)
| Benchmark | Score | Version | Evaluation | Source |
|---|---|---|---|---|
| 25.8 | v4Observed 2026-04-14 | — | ||
| 44.3 | —Observed 2026-04-14 | — | ||
| 77.0 | RULER (128K) (accuracy)Observed 2026-10-26 | — | ||
| 1211.0 | text_style_control overall 2026-10-22 (style control, default view)Observed 2026-10-26 | Configuration: Llama 3.1 8B Instruct Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena text style control leaderboard, overall category, published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @9761a3ce, latest split). Board entry 'Llama 3.1 8B Instruct': rank 345, Arena Score 1211.2 (95% CI 1207.1-1215.4), 49605 votes. Retrieved 2026-10-26. | Source Source: LMArena (lmarena.ai), CC BY 4.0 | |
| 1154.0 | text creative_writing 2026-10-22Observed 2026-10-22 | Configuration: Llama 3.1 8B Instruct Harness: LMArena blind pairwise human votes, Bradley-Terry Evaluator: LMArena Confidence: confirmed Notes: LMArena Text arena, Creative Writing category (no style control), board published 2026-10-22 (HF lmarena-ai/leaderboard-dataset @a467e6b9, text config, latest split). Board entry 'Llama 3.1 8B Instruct' (category creative_writing in text/latest-00000-of-00001.parquet): rank 331 of 416, rating 1154.1 (95% CI 1145.8-1162.4), 7346 votes. Source: LMArena (CC BY 4.0). Retrieved 2026-10-27. | Source Source: LMArena (lmarena.ai), CC BY 4.0 |
Migration checks
No linked migration route is available for this model yet.