Llama 3.1 8B Instruct

Pick up to 3 models · pricing, context and capabilities · simulate your product cost

Data updated on November 14, 2026· 230 models

Meta8B Instruct

Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors.

Reasoning estimated
Speed estimated
Input
Output
Context
131 K tokens
Max output
16 K
Input, $ per 1M tokens
$0.020
Output, $ per 1M tokens
$0.040
Cache read, $ per 1M
—
Batch (input / output)
—
Tool calling
Yes
Released
07/23/2024
Knowledge cutoff
2024-07
API id
meta-llama/llama-3.1-8b-instruct

Summary from the data

Llama 3.1 8B Instruct is a Meta model available by API since 07/23/2024. It costs $0.020 per million input tokens and $0.040 per million output tokens, accepts 131 K tokens of context and generates up to 16 K tokens per response. Input: text; output: text. It has no reasoning mode. It supports tool calling. With 10,000 requests a month of 1,500 input and 400 output tokens it would cost about $0.46 a month.

Compare Llama 3.1 8B Instruct with…

All Meta models →

What would your product cost?

Estimate the monthly cost with your app's real volume. List prices, no cache or batch discounts.

Llama 3.1 8B Instruct
$0.46/mo

The 6 cheapest for this scenario (chat, last 12 months)

  1. 1Lyria 3 Pro Preview Google$0.00
  2. 2Lyria 3 Clip Preview Google$0.00
  3. 3Qwen3.7 Flash Qwen$0.97
  4. 4DeepSeek V4.1 Flash DeepSeek$1.57
  5. 5DeepSeek V4 Flash 0731 DeepSeek$1.85
  6. 6Ministral 3 3B 2512 Mistral$1.90

More free tools

See all

Frequently asked questions

How much does Llama 3.1 8B Instruct cost per million tokens?

Llama 3.1 8B Instruct costs $0.020 per million input tokens and $0.040 per million output tokens (USD, list price). Cache read: not published. Batch tier: not published.

What context window does Llama 3.1 8B Instruct have?

Llama 3.1 8B Instruct accepts 131 K tokens of context per request and generates up to 16 K tokens per response.

Does Llama 3.1 8B Instruct accept images, audio or files?

Input: text. Output: text.

Does Llama 3.1 8B Instruct have a reasoning mode and tool calling?

It has no reasoning mode. It supports tool calling.

When was Llama 3.1 8B Instruct released and what is its knowledge cutoff?

Llama 3.1 8B Instruct has been available by API since 07/23/2024. Knowledge cutoff: 2024-07.

What would an app built on Llama 3.1 8B Instruct cost?

With 10,000 requests a month of 1,500 input and 400 output tokens, Llama 3.1 8B Instruct would cost about $0.46 a month at list price, without cache or batch discounts.

What is the API id of Llama 3.1 8B Instruct?

The id is meta-llama/llama-3.1-8b-instruct. It is the name passed in the model parameter of the API (or on OpenRouter).

Where do the prices come from and how often are they updated?

From the public catalogs of OpenRouter, models.dev and LiteLLM, which publish each provider's list prices. They sync once a day and the last update date is shown above the comparison.

What does price per million tokens mean?

It is what the provider charges per million tokens you send (input) or the model generates (output). A token is roughly 4 characters. Output almost always costs more than input.

Sources: OpenRouter, models.dev and LiteLLM. Prices in USD per million tokens, list price, no volume discounts. Prompt tokens are an estimate; each provider's tokenizer may differ.