Skip to content
API Pricing

Llama API pricing

Llama API pricing on 2 platforms: 24 Llama endpoints by Meta and 50 current prices. The cheapest exact price is $0.02/M in for Llama 3.1 8B Instruct, on OpenRouter. Prices are read from each platform daily and tagged by task, resolution and duration.

Endpoints
24
Current prices
50
Platforms
2
Cheapest
$0.02/M in

Llama API pricing by platform

One row per model, matched across platforms by its model id; each cell is input / output per million tokens. Green is the cheapest platform for that model. Different models are never ranked against each other.

See all in the price library
Sold on one platform only (18)

Nothing to compare these with yet, so no price here is marked cheapest.

ModelPlatformUSD
Llama 3.3 70B InstructOpenRouter$0.71 in$0.71 out
Llama 3.2 1B InstructOpenRouter$0.027 in$0.201 out
Llama 3.2 3B InstructOpenRouter$0.05 in$0.33 out
Llama 3.1 70B InstructOpenRouter$0.72 in$0.72 out
AionLabs Aion-RP 1.0 (8B)OpenRouter$0.8 in$1.6 out
Llama 3.1 8B InstructOpenRouter$0.02 in$0.04 out
llama-3-70bReplicate$0.65 in$2.75 out
llama-3-70b-instructReplicate$0.65 in$2.75 out
llama-3-8bReplicate$0.05 in$0.25 out
llama-3-8b-instructReplicate$0.05 in$0.25 out
llama-2-13bReplicate$0.1 in$0.5 out
llama-2-13b-chatReplicate$0.1 in$0.5 out
llama-2-70bReplicate$0.65 in$2.75 out
llama-2-70b-chatReplicate$0.65 in$2.75 out
llama-2-7bReplicate$0.05 in$0.25 out
llama-2-7b-chatReplicate$0.05 in$0.25 out
Llama 3 8B LunarisOpenRouter$0.04 in$0.05 out
Llama 3.1 Euryale 70B v2.2OpenRouter$0.85 in$0.85 out

Llama API pricing FAQ

How much does the Llama API cost?

Llama 4 Maverick: from $0.25/M in ($0.95 output) on Replicate, up to $0.35/M in ($1 output). Llama 4 Scout: from $0.1/M in ($0.3 output) on OpenRouter, up to $0.17/M in ($0.65 output). Llama Guard 4 12B: from $0.18/M in ($0.18 output) on OpenRouter, up to $0.2/M in ($0.2 output). Each price is the platform’s own list price, read daily.

Which platform has the cheapest Llama API?

It depends on the version: OpenRouter in 2, Replicate in 1. No platform is cheapest for every version, so compare the one you will call.

Which platforms sell the Llama API?

2 of the platforms tracked here: OpenRouter, Replicate. Together they list 24 endpoints and 50 prices.

How current are these prices?

A collector reads each platform’s pricing API or page daily and keeps the response. Every price links to the listing it came from, so you can check it before you call.

Other text model families