Meta

Llama 3.1 8B API Pricing / Price per 1M tokens

Meta • API Price Comparison

Also known as: meta-llama-3-1-8b-instruct · meta llama 3 1 8b instruct · metallama318binstruct · meta-llama3-1-8b-instruct · meta llama3 1 8b instruct · llama-3.1-8b · llama3.18b · llama3.1-8b · llama3.1 8b

Updated on · Published currencies / per 1M tokens; cheapest ranked by input

Official and cheapest channel API pricing
ChannelInput / 1MOutput / 1MCache read / 1MUpdated / verified on
OfficialNo official quote recorded
OpenRouterLowest inputUSD 0.05USD 0.08USD 0.0252026-10-15

— means the price or date is not recorded. Cross-currency ranking uses exchange rates.

📏 Context: 131,072 tokensReleased Jul 23, 2024

Llama 3.1 8B is a large language model by Meta with a 131K-token context window. Across the 1 API channels tracked here, input pricing ranges from $0.05 per 1M input tokens; the cheapest is OpenRouter at $0.05 per 1M input tokens. None of the tracked channels are directly reachable from mainland China without a proxy or VPN. Prices are collected daily from official provider pages and every tracked channel, then cross-checked by a data-accuracy audit.

💰 Cheapest Option
OpenRouter
$0.05/1M input
$0.08/1M output
🏢 Official Price
N/A
No official channel available
🇨🇳 Best in China
No China-friendly options
📊 Channel Price Comparison
Compare llama-3.1-8b API prices across all available channels • 1 channels available
ChannelTypeInput / 1MOutput / 1MRate LimitChinavs Official
OpenRouter7 variants💰 Best Price
聚合平台$0.05$0.08---
Show all price variants for this channel
OpenRouter Auto / default routeDefault
$0.05 / $0.08 per 1M
default_route
Cheapest endpoint: DeepInfra
$0.02 / $0.04 per 1M
cheapest_endpoint
Novita | meta-llama/llama-3.1-8b-instruct
$0.02 / $0.05 per 1M
upstream_provider
DeepInfra | meta-llama/llama-3.1-8b-instruct
$0.02 / $0.04 per 1M
upstream_provider
Groq | meta-llama/llama-3.1-8b-instruct
$0.05 / $0.08 per 1M
upstream_provider
Cloudflare | meta-llama/llama-3.1-8b-instruct
$0.15 / $0.29 per 1M
upstream_provider
CoreWeave | meta-llama/llama-3.1-8b-instruct
$0.22 / $0.22 per 1M
upstream_provider
📈 Price History
Every scraper-detected price change is recorded. Same-day multiple changes take the last value; unchanged channels carry the last observed price forward.
No price history yet. New price changes will appear after the next scraper run.
💵 Estimated Monthly Costs
Based on typical usage patterns (input:output = 2:1 ratio); all channels converted to USD for comparison
Usage LevelTokens/MonthOpenRouter
🐣 Light0.1M in + 0.1M out$0.01
📊 Medium1.0M in + 0.5M out$0.09
🚀 Heavy10.0M in + 5.0M out$0.90
🏢 Enterprise100.0M in + 50.0M out$9.00

Frequently asked questions about llama-3.1-8b

How much does the Llama 3.1 8B API cost?

The lowest input rate is USD 0.05 per 1M tokens; output on that channel is USD 0.08 per 1M tokens.

Which channel has the cheapest Llama 3.1 8B API?

OpenRouter has the lowest input rate: USD 0.05 per 1M tokens. Cross-currency ranking uses exchange rates; compare output and cache prices separately.

What is the Llama 3.1 8B cache-read price?

OpenRouter: USD 0.025 per 1M cache-read tokens.

When was Llama 3.1 8B pricing last updated?

Updated on 2026-10-15. This is the latest recorded price update or verification; see the table for individual channel dates.

Related models from the same producer