Llama 2 Chat 7B API Pricing
Meta · released 2023-07-18
Pricing
< 0.01¢ / 1K
0.025¢ / 1K
0.010¢ / 1K
What it actually costs
| Workload | Tokens | Cost |
|---|---|---|
| Short chat reply | 500 in / 300 out | 0.01¢ |
| RAG query | 4,000 in / 500 out | 0.0325¢ |
| Long document summary | 50,000 in / 1,000 out | 0.275¢ |
| Code review of a 2k-line file | 30,000 in / 2,000 out | 0.2¢ |
| 1,000 chat replies/day for 30 days | 30,000 × (500 in / 300 out) | $3.00 |
Cost = (input tokens ÷ 1,000,000 × $0.05) + (output tokens ÷ 1,000,000 × $0.25).
Benchmarks
#455 of 533
Similar intelligence, lower price
| Model | Intelligence | Blended $/1M |
|---|---|---|
| Llama 3.1 Instruct 8B | 6.9 | $0.028 |
| Sarvam 30B (high) | 6.6 | $0.047 |
| Nova Micro | 5.9 | $0.061 |
| Granite 4.1 8B | 6.6 | $0.063 |
| NVIDIA Nemotron Nano 9B V2 (Reasoning) | 7.4 | $0.07 |
Leaderboard neighbours
| Model | Intelligence | Blended $/1M |
|---|---|---|
| Phi-4 Multimodal Instruct | 5.8 | — |
| Qwen2.5 Coder Instruct 7B | 5.8 | — |
| Jamba Reasoning 3B | 5.7 | — |
| Llama 2 Chat 7B | 5.7 | $0.10 |
| Llama 3.2 Instruct 3B | 5.7 | — |
| MiniCPM-V 4.6 1.3B | 5.7 | — |
| Mixtral 8x22B Instruct | 5.7 | — |
More from Meta
| Model | Intelligence | Blended $/1M |
|---|---|---|
| Muse Spark 1.3 (max) | 48.1 | $2.00 |
| Muse Spark 1.2 (xhigh) | 39.6 | $2.00 |
| Muse Spark 1.1 (xhigh) | 33.7 | $2.00 |
| Muse Spark | 31.3 | — |
| Muse Glimmer (high) | 17.5 | $0.637 |
| Llama 4 Maverick | 10.0 | $0.422 |
| Llama 4 Scout | 8.1 | $0.313 |
| Llama 3.3 Instruct 70B | 7.7 | $0.712 |
Count tokens & estimate cost for Llama 2 Chat 7B See Llama 2 Chat 7B on the leaderboard
Source: Artificial Analysis · last synced 2026-09-22
FAQ
Who develops Llama 2 Chat 7B?
Llama 2 Chat 7B is developed by Meta, released 2023-07-18.
How much does Llama 2 Chat 7B cost per million tokens?
Llama 2 Chat 7B costs $0.05 per 1M input tokens and $0.25 per 1M output tokens ($0.10 blended), per Artificial Analysis's official pricing data.
How does Llama 2 Chat 7B rank on benchmarks?
Llama 2 Chat 7B scores 5.7 on the Artificial Analysis Intelligence Index, ranking #455 of 533 models we track.
Is there a cheaper model with similar intelligence to Llama 2 Chat 7B?
Yes — Llama 3.1 Instruct 8B scores similar intelligence (6.9) at $0.028/1M blended, versus $0.10/1M for Llama 2 Chat 7B.
Where does this data come from?
Pricing and benchmark data for Llama 2 Chat 7B comes from Artificial Analysis (artificialanalysis.ai), synced daily. Last synced 2026-09-22.