Llama 3 8b

Provider: vercel ai gateway · vercel_ai_gateway/meta/llama-3-8b

Pricing per million tokens

Component USD per 1M tokens
Input $0.05
Output $0.08

Monthly cost estimates

Assuming 30% prompt-cache hit rate where available. Adjust for your actual usage.

Small
1M in / 200k out
$0.07
per month
Medium
10M in / 2000k out
$0.66
per month
Large
100M in / 20000k out
$6.60
per month

Context

Input window
8,192 tokens
Max output
8,192 tokens

Capabilities

  • ⬜ Vision (image input)
  • ⬜ Function / tool calling
  • ⬜ Prompt caching
  • ⬜ Web search
  • ⬜ JSON / response schema

Compare Llama 3 8b with similar models

Pricing data sourced from LiteLLM and refreshed regularly. Last updated May 20, 2026. Always verify with the provider's official pricing page before making business decisions.