
Llama 3 8B Instruct API pricing
Made by Meta
12 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is DeepInfra at $25.20 a month; the dearest costs $498.00, 19.8× as much.
- Input from
- $0.03
- Output from
- $0.04
- Context up to
- 8K tokens
- Batch rates
- None listed
Every route, cheapest first
Prices per 1M tokens. Month is the sample workload: 300,000 requests, 2,000 tokens in and 400 out per request, half the input cached. Cache writes are not counted.
ProviderInputOutputCache readCache writeBatch in / outContextMonth
DeepInfraLiteLLM$0.03$0.06———8K$25.20 ReplicateLiteLLM$0.05$0.25———8K$60.00 AnyscaleLiteLLM$0.15$0.15———8K$108.00 Gradient AILiteLLM$0.20$0.20———8K$144.00 Amazon Bedrockus-east-1, us-west-1 · LiteLLM$0.30$0.60———8K$252.00 Amazon Bedrockeu-west-1 · LiteLLM$0.32$0.65———8K$270.00 Amazon Bedrockca-central-1 · LiteLLM$0.35$0.69———8K$292.80 Amazon Bedrockap-south-1 · LiteLLM$0.36$0.72———8K$302.40 Amazon Bedrockeu-west-2 · LiteLLM$0.39$0.78———8K$327.60 Amazon Bedrocksa-east-1 · LiteLLM$0.50$1.01———8K$421.20 Amazon BedrockLiteLLM$0.30$2.65———8K$498.00 Other Llama models