Meta

Llama 3 8B API pricing

Made by Meta

2 provider routes, checked 27 Nov 2026. For a sample chat workload, the cheapest is Vercel AI Gateway at $39.60 a month; the dearest costs $60.00, 1.5× as much.

Input from
$0.05
Output from
$0.08
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
Vercel AI GatewayLiteLLM$0.05$0.08———8K$39.60
ReplicateLiteLLM$0.05$0.25———8K$60.00

Other Llama models