getcheapaicredits

Meta · live price

Llama 3.1 8B Instruct API pricing

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to...

Small and cheap (under $1 per 1M)Tool calling
Input
$0.05
per 1M tokens
Output
$0.08
per 1M tokens
Cached input
$0.025
per 1M tokens
Context
131K
118K max output

List price from OpenRouter, which passes Meta's price through without markup. Refreshed hourly. Released July 23, 2024. Model id meta-llama/llama-3.1-8b-instruct.

What Llama 3.1 8B Instruct costs in practice

At list price, before any batch or caching discount.

1,000 chat messages

$0.09

1,000 input + 500 output tokens each

1,000 RAG questions

$0.44

8,000 input + 500 output tokens each

100 coding-agent steps

$0.17

30,000 input + 2,000 output tokens each, no caching

Llama 3.1 8B Instruct price history

No price change since we started tracking on 2026-10-01. We record prices daily; changes will show here.

Llama 3.1 8B Instruct price by host

DeepInfra serves it below list price right now. Route to it to pay less on every token.

Where to buy Meta credits for less

Llama 3.1 8B Instruct costs the same per token everywhere it's sold through OpenRouter. What changes is the price of the credits. Live quotes for $100 of usage:
#Where you buyYou pay
1
OrbioCardCheapest right now
$85.10
incl. $2.60 card processing
2
smaaartCard
$95.00
+ card processing and tax at checkout (not in this number)
3
Direct from the labCard
$100.00
no top-up fee
4
OpenRouterCrypto
$105.00
fees included
5
OpenRouterCard
$105.50
fees included

Disclosure: this site is run by the team behind smaaart, one of the options compared. Tables are ranked by price only, from live quotes and published fees, including when smaaart isn't first. How we compare

Llama 3.1 8B Instruct cost calculator

Enter your monthly tokens to price your own usage.
Usage at list price$3.30/ month(quotes below are for $5.00: purchases run from $5.00 to $10,000.00)

Cheaper alternatives to Llama 3.1 8B Instruct

Other labs' models in the same price range or the one below, cheaper per token.
ModelInput / 1MOutput / 1M
Qwen: Qwen3.7 Flash$0.03$0.13
DeepSeek: DeepSeek V4 Flash 0423$0.042$0.084
OpenAI: gpt-oss-20b$0.018$0.09
Mistral: Mistral Nemo$0.019$0.03
inclusionAI: Ling 3.0 Flash VL$0.021$0.062
Nex AGI: Nex-N2.5-Mini$0.025$0.1

Other Meta models

ModelInput / 1MOutput / 1M
Llama 3.1 70B Instruct$0.4$0.4
Llama 3.2 1B Instruct$0.027$0.201
Llama 3.2 3B Instruct$0.05$0.33
Llama 3.3 70B Instruct$0.1$0.32
Llama 4 Scout$0.1$0.3
Llama 4 Maverick$0.188$0.652
All Meta API prices

Llama 3.1 8B Instruct pricing FAQ