Skip to main content
OpenRouter logo

Llama 3.1 8B API pricing on OpenRouter

Every OpenRouter Llama 3.1 8B rate we track, compared against 6 providers serving the same model.

Input from /1M
$0.050
Output /1M
$0.080
Price rank
#2 of 6
Last updated
August 4, 2026

The cheapest Llama 3.1 8B input price we currently track is $0.020/1M on Deep Infra.

OpenRouter Llama 3.1 8B rates

Prices per 1M tokens. Batch and cached-input rates are shown where the provider publishes them.

OpenRouter Llama 3.1 8B pricing by mode
ModeInputOutput
Standard$0.050/1M$0.080/1M

About Llama 3.1 8B

Creator
Meta
Context
128K
Modalities
text
Knowledge cutoff
Dec 2023
Tool calling
Yes
Open weights
Yes
Full Llama 3.1 8B details and every provider →

Llama 3.1 8B on other providers

About OpenRouter

OpenRouter provides a unified API for accessing hundreds of AI models from multiple providers. It aggregates models from OpenAI, Anthropic, Google, Meta, Mistral, and many others, offering a single endpoint with automatic fallback routing and provider optimization.

Frequently Asked Questions

How much does Llama 3.1 8B cost on OpenRouter?

OpenRouter serves Llama 3.1 8B from $0.050 per 1M input tokens, across 1 tracked pricing mode. Prices are collected daily — see the table above for current input, output, and cached-input rates.

Is OpenRouter the cheapest way to run Llama 3.1 8B?

OpenRouter ranks #2 of 6 providers we track serving Llama 3.1 8B. The cheapest input price right now is on Deep Infra. Price is only one factor — throughput, latency, and context limits differ between providers.

Does OpenRouter offer batch or cached pricing for Llama 3.1 8B?

We track 1 Llama 3.1 8B offering from OpenRouter. Batch and cached-input rates appear in the table above when the provider publishes them; blank cells mean we have no current figure for that mode.