Pricing and availability as of
Compact Llama 3.1 for efficient text generation.
llama-3.1-8b-instructCompare price, limits and live performance side by side. LLM Gateway routes each request to the best provider that can handle your prompt size and parameters.
6 providers · select a column to sort
| Provider | Actions | |||||||
|---|---|---|---|---|---|---|---|---|
Deactivated | 16.4k | 16.4k | $0.02 | $0.05 | ||||
Deactivated | 128k | — | $0.10 | $0.10 | ||||
Deactivated | 128k | — | $0.06 | $0.06 | ||||
Deactivated | 128k | 2.0k | $0.22 | $0.22 | ||||
Deactivated | 128k | — | $0.02 | $0.06 | ||||
Deactivated | 128k | — | $0.07 | $0.33 |
Prices are per provider at standard rates; open a row for regions, tiers and cache pricing. Throughput, latency and uptime come from LLM Gateway traffic over the last 24 hours and are hidden under 1,000 requests.
Llama 3.1 8B Instruct API pricing starts at $0.02 per 1M input tokens and $0.05 per 1M output tokens through LLM Gateway, on NovitaAI.
| Provider | Input / 1M tokens | Output / 1M tokens | Cached input / 1M tokens | Context window |
|---|---|---|---|---|
| NovitaAI | $0.02 | $0.05 | — | 16,384 tokens |
| Nebius AI | $0.02 | $0.06 | — | 128,000 tokens |
| Together AI | $0.06 | $0.06 | — | 128,000 tokens |
| Cerebras | $0.10 | $0.10 | — | 128,000 tokens |
| Inference.net | $0.07 | $0.33 | — | 128,000 tokens |
| AWS Bedrock | $0.22 | $0.22 | — | 128,000 tokens |
| Monthly usage | Cost on NovitaAI |
|---|---|
| 1M input + 250K output tokens | $0.0325 |
| 10M input + 2.5M output tokens | $0.325 |
| 100M input + 25M output tokens | $3.25 |
Compact Llama 3.1 for efficient text generation. You can access it through LLM Gateway's OpenAI-compatible API with automatic provider routing, fallback, and cost analytics.
Pricing for Llama 3.1 8B Instruct on LLM Gateway starts at $0.02 per million input tokens and $0.05 per million output tokens, depending on the provider. The pricing table above always reflects the current per-provider rates.
Llama 3.1 8B Instruct supports a context window of up to 128,000 tokens on its largest provider deployment.
Llama 3.1 8B Instruct is served by NovitaAI, Cerebras, Together AI, AWS Bedrock, Nebius AI, Inference.net through LLM Gateway. Requests are automatically routed to the best available provider, with fallback when a provider has issues.
Llama 3.1 8B Instruct supports tool (function) calling and soft JSON output, but NOT strict JSON output schema (its upstream provider does not enforce it).
Llama 3.1 8B Instruct was released on July 23, 2024.