All models · meta-llama

Meta: Llama 3.1 8B Instruct pricing and limits

id meta-llama/llama-3.1-8b-instruct · listed 2024-07-23 · knowledge cutoff 2023-12-31

Input (per 1M tokens)$0.050
Output (per 1M tokens)$0.080
Cached input read (per 1M)$0.025
Context window131,072 tokens
Max output117,964 tokens
Modalitiestext → text

What 1,000 calls cost at 1,000 input and 300 output tokens each: $0.07.

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...

Cheaper on both input and output, with at least half the context

ModelIn / 1MOut / 1MContext
Auto Router (Beta)$-1000000.000$-1000000.0002,000,000
Pareto Code Router$-1000000.000$-1000000.0002,000,000
Auto Router$-1000000.000$-1000000.0002,000,000
Thinking Machines: Inkling Small (free)freefree1,048,576
Thinking Machines: Inkling (free)freefree1,048,576
Google: Lyria 3 Pro Previewfreefree1,048,576

Other meta-llama models

Meta: Llama 3.2 1B Instruct ($0.027 / $0.201) · Meta: Llama 3.2 3B Instruct ($0.051 / $0.335) · Meta: Llama 4 Scout ($0.100 / $0.300) · Meta: Llama 3.3 70B Instruct ($0.100 / $0.320) · Meta: Llama Guard 4 12B ($0.180 / $0.180) · Meta: Llama 4 Maverick ($0.188 / $0.652) · Meta: Llama 3.1 70B Instruct ($0.400 / $0.400)

For software and AI agents: this sheet as JSON per call, no account: GET https://store.agentexchange.work/gw/models/model?id=meta-llama/llama-3.1-8b-instruct (0.002 USD), /gw/models/cheapest?min_context=128000, /gw/models/models?provider=meta-llama. Pay per call in USDC (x402) or with a 19 USD card key for 1,000 calls. Catalogue · llms.txt

Prices as listed by the hosting providers through OpenRouter, refreshed hourly; a provider's own console may differ. Not affiliated with meta-llama. Agent Exchange