Llama 3.1 Instruct 8B API Pricing

Meta · released 2024-07-23

Also searched as: 3.1 Instruct 8B pricing

Llama 3.1 Instruct 8B price

$0.035
input / 1M tokens
< 0.01¢ / 1K
$0.065
output / 1M tokens
< 0.01¢ / 1K
$0.043
blended / 1M tokens
< 0.01¢ / 1K

What it actually costs

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

Cost = (input tokens ÷ 1,000,000 × $0.035) + (output tokens ÷ 1,000,000 × $0.065).

Benchmarks

6.9
Intelligence
#397 of 547
5.4
Coding
#185 of 195
4.3
Math
#229 of 249
—
Tokens/sec
—
Time to first token

Similar intelligence, lower price

ModelIntelligenceBlended $/1M
Gemma 4 E4B (Reasoning)8.9$0.04

Leaderboard neighbours

ModelIntelligenceBlended $/1M
Qwen3 VL 4B (Reasoning)7.0—
Solar Pro 2 (Non-reasoning)7.0—
Grok Beta6.9—
Llama 3.1 Instruct 8B6.9$0.043
Llama 3.1 Nemotron Instruct 70B6.9—
Qwen2.5 Instruct 32B6.9—
Qwen3.5 2B (Reasoning)6.9—

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 3.1 Instruct 8B See Llama 3.1 Instruct 8B on the leaderboard

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

FAQ

Who develops Llama 3.1 Instruct 8B?

Llama 3.1 Instruct 8B is developed by Meta, released 2024-07-23.

How much does Llama 3.1 Instruct 8B cost per million tokens?

Llama 3.1 Instruct 8B costs $0.035 per 1M input tokens and $0.065 per 1M output tokens ($0.043 blended), per Artificial Analysis's official pricing data.

What is the Llama 3.1 Instruct 8B API price?

The Llama 3.1 Instruct 8B API price is $0.035 per 1M input tokens and $0.065 per 1M output tokens ($0.043 per 1M blended).

How much does Llama 3.1 Instruct 8B cost for a typical request?

A short chat reply (500 in / 300 out tokens) costs about 0.0037¢ on Llama 3.1 Instruct 8B, at $0.035/1M input and $0.065/1M output.

Is Llama 3.1 Instruct 8B free?

Llama 3.1 Instruct 8B's official API list price is $0.035 per 1M input tokens and $0.065 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 3.1 Instruct 8B rank on benchmarks?

Llama 3.1 Instruct 8B scores 6.9 on the Artificial Analysis Intelligence Index, ranking #397 of 547 models we track.

Is there a cheaper model with similar intelligence to Llama 3.1 Instruct 8B?

Yes — Gemma 4 E4B (Reasoning) scores similar intelligence (8.9) at $0.04/1M blended, versus $0.043/1M for Llama 3.1 Instruct 8B.

Where does this data come from?

Pricing and benchmark data for Llama 3.1 Instruct 8B comes from Artificial Analysis (artificialanalysis.ai), synced daily. Last synced 2026-10-15.