Llama 2 Chat 7B API Pricing

Meta · released 2023-07-18

Also searched as: 2 Chat 7B pricing

Llama 2 Chat 7B price

$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
#467 of 547
—
Coding
—
Math
—
Tokens/sec
—
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
Llama 3.1 Instruct 8B6.9$0.043
Sarvam 30B (High)6.6$0.047
Mistral Small 36.7$0.058
Nova Micro5.9$0.061
NVIDIA Nemotron Nano 9B V2 (Reasoning)7.4$0.07

Leaderboard neighbours

ModelIntelligenceBlended $/1M
Phi-4 Multimodal Instruct5.8$0.14
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 Wonder Full (Max)55.8—
Muse Wonder (Max)52.4$8.00
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.525
Llama 4 Maverick9.3$0.405

Count tokens & estimate cost for Llama 2 Chat 7B See Llama 2 Chat 7B on the leaderboard

Source: Artificial Analysis · last synced 2026-10-15

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.

What is the Llama 2 Chat 7B API price?

The Llama 2 Chat 7B API price is $0.05 per 1M input tokens and $0.25 per 1M output tokens ($0.10 per 1M blended).

How much does Llama 2 Chat 7B cost for a typical request?

A short chat reply (500 in / 300 out tokens) costs about 0.01¢ on Llama 2 Chat 7B, at $0.05/1M input and $0.25/1M output.

Is Llama 2 Chat 7B free?

Llama 2 Chat 7B's official API list price is $0.05 per 1M input tokens and $0.25 per 1M output tokens. This site tracks list prices only, not free tiers or trial credits — check Meta's site for those.

How does Llama 2 Chat 7B rank on benchmarks?

Llama 2 Chat 7B scores 5.7 on the Artificial Analysis Intelligence Index, ranking #467 of 547 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.043/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-10-15.