Llama 2 7b
Provider: replicate ·
replicate/meta/llama-2-7b Pricing per million tokens
| Component | USD per 1M tokens |
|---|---|
| Input | $0.05 |
| Output | $0.25 |
Monthly cost estimates
Assuming 30% prompt-cache hit rate where available. Adjust for your actual usage.
Small
1M in / 200k out
$0.10
per month
Medium
10M in / 2000k out
$1.00
per month
Large
100M in / 20000k out
$10.00
per month
Context
- Input window
- 4,096 tokens
- Max output
- 4,096 tokens
Capabilities
- ⬜ Vision (image input)
- ⬜ Function / tool calling
- ⬜ Prompt caching
- ⬜ Web search
- ⬜ JSON / response schema
Compare Llama 2 7b 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.