Meta Llama · LLM API pricing
Llama-3.1-8B-Instruct API pricing: cheapest provider
10 providers sell Llama-3.1-8B-Instruct. Novita AI is cheapest; the most expensive charges 8.0× as much for the same model.
- Cheapest$0.0275per 1M · Novita AI
- Input · output$0.02 / $0.05per 1M tokens
- Price gap8.0×across 10 providers
- Accuracy27.0%GPQA
- Context131Kmax tokens
Standard list prices in USD from each provider's pricing page · last price change Sep 28, 2026 · How we collect and rank prices
Ranked for your volume
Llama-3.1-8B-Instruct monthly cost by provider
Change the monthly tokens and the ranking updates instantly, using each provider's standard list price.
More requirements: caching, context, features, provider
| Provider | Estimated / month | Input / 1M | Output / 1M | Context |
|---|---|---|---|---|
1 Novita AIInference provider - lowest for your volumePricing page | $0.30 | $0.02 | $0.05 | 16,384 |
2 Nebius Token FactoryCloud platformPricing page | $0.32 | $0.02 | $0.06 | 128,000 |
3 LambdaInference providerPricing page | $0.33 | $0.025 | $0.04 | 131,072 |
4 NscaleInference providerPricing page | $0.36 | $0.03 | $0.03 | Not listed |
5 DeepInfraInference providerPricing page | $0.40 | $0.03 | $0.05 | 131,072 |
6 Fireworks AIInference providerPricing page | $1.20 | $0.10 | $0.10 | 131,072 |
7 OVHcloud AI EndpointsCloud platformBilled in EUR: €0.10 input, €0.10 output per 1M tokens. USD at the ECB rate of Oct 30, 2026 (1.1172).Pricing page | $1.34 | $0.1117 | $0.1117 | 131,000 |
8 PerplexityAI platformPricing page | $2.40 | $0.20 | $0.20 | 131,072 |
9 Amazon BedrockCloud platformPricing page | $2.64 | $0.22 | $0.22 | 128,000 |
10 W&B Inference (CoreWeave)Inference providerPricing page | $2.64 | $0.22 | $0.22 | 131,000 |
Order depends on listed price for your volume only. No provider pays for its position.
Input volume includes the cached share, not an additional token volume. This is a list-price estimate, not a quote: cache-write charges, cache eligibility/TTL, batch discounts, long-context surcharges, regional pricing and taxes are excluded. Check the provider's terms for your workload before switching.
Accuracy: GPQA Diamond (graduate-level science questions) measured by Epoch AI (CC BY 4.0) on Llama-3.1-8B-Instruct, run Aug 27, 2026. The model is the same at every provider, though quantized deployments can score lower.
Price history
The cheapest price has not changed since tracking started on Sep 28, 2026: $0.0275 per 1M tokens at Novita AI. All price changes
Switch to the cheapest provider
Already using the OpenAI SDK? Change the base URL, key and model name:
from openai import OpenAI
import os
client = OpenAI(
base_url="https://api.novita.ai/openai",
api_key=os.environ["NOVITA_API_KEY"],
)
response = client.chat.completions.create(
model="meta-llama/llama-3.1-8b-instruct",
messages=[{"role": "user", "content": "Hello"}],
)Compare Llama-3.1-8B-Instruct with another model
Or pick any model
Before you pick a provider
Context windows differ by provider, from 16K to 131K tokens. A cheaper host may not accept your longest prompts.
Keep comparing
More Meta Llama models
Llama-3.3-70B-Instruct, Llama 3.2 3B Instruct, Llama 4 Scout 17B 16E Instruct, llama-3.1-70b-instruct, Llama 4 Maverick 17B 128E Instruct FP8, Llama 3.2 11B Vision Instruct, Llama 3.2 1B Instruct, Llama Guard 3 8B
All Meta Llama API prices - All LLM API prices - Watch Llama-3.1-8B-Instruct prices (RSS) - Methodology