Llama 2 Chat 7B API Pricing

Meta · released 2023-07-18

Pricing

$0.05
input / 1M tokens
< 0.01¢ / 1K
$0.25
output / 1M tokens
0.025¢ / 1K
$0.10
blended / 1M tokens
0.010¢ / 1K

What it actually costs

WorkloadTokensCost
Short chat reply500 in / 300 out0.01¢
RAG query4,000 in / 500 out0.0325¢
Long document summary50,000 in / 1,000 out0.275¢
Code review of a 2k-line file30,000 in / 2,000 out0.2¢
1,000 chat replies/day for 30 days30,000 × (500 in / 300 out)$3.00

Cost = (input tokens ÷ 1,000,000 × $0.05) + (output tokens ÷ 1,000,000 × $0.25).

Benchmarks

5.7
Intelligence
#455 of 533
Coding
Math
Tokens/sec
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
Llama 3.1 Instruct 8B6.9$0.028
Sarvam 30B (high)6.6$0.047
Nova Micro5.9$0.061
Granite 4.1 8B6.6$0.063
NVIDIA Nemotron Nano 9B V2 (Reasoning)7.4$0.07

Leaderboard neighbours

ModelIntelligenceBlended $/1M
Phi-4 Multimodal Instruct5.8
Qwen2.5 Coder Instruct 7B5.8
Jamba Reasoning 3B5.7
Llama 2 Chat 7B5.7$0.10
Llama 3.2 Instruct 3B5.7
MiniCPM-V 4.6 1.3B5.7
Mixtral 8x22B Instruct5.7

More from Meta

ModelIntelligenceBlended $/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 Spark31.3
Muse Glimmer (high)17.5$0.637
Llama 4 Maverick10.0$0.422
Llama 4 Scout8.1$0.313
Llama 3.3 Instruct 70B7.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.