PriceIndex
Meta logo

Llama 3.1 8B Instruct Pricing & API Specs

llama-3.1-8b-instruct

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... Built by Meta.

Prices updated

Input price

$0.05

per 1M tokens · Standard

Output price

$0.08

per 1M tokens · Standard

Input limit

131K

tokens

Output limit

118K

tokens

Input formats

TextImageVideoAudioPDF

Output formats

TextImageVideoAudioPDF
Compare

Llama 3.1 8B Instruct price history

10 price records since 9/25/2026 · 8 changes

Llama 3.1 8B Instruct cost calculator

Input20M tokens
Output5M tokens

$1.40/month

Standard pricing

    Overview

    What is Llama 3.1 8B Instruct?

    Llama 3.1 8B Instruct is a text & reasoning model from Meta priced at $0.05 input and $0.08 output per 1M tokens, with a 131K context window. Its low input price suits high-volume work and it scores 6.9 on AA Intelligence.

    Price: Mistral Small 3 (+$0.000)Price: Schematron V2 Turbo (+$0.002)Price: Qwen3.7 Flash (−$0.003)Score: Command A (AA +0)Score: GPT-4 Turbo (AA +0)Score: Mistral Large 2407 (AA −0)

    Benchmarks

    Llama 3.1 8B Instruct benchmarks & speed

    How Llama 3.1 8B Instruct scores on standardized evaluations, and where it lands among every model we track.

    6.9

    Intelligence Index

    Better than 10% of 153 models

    141tok/s

    Output speed

    Better than 73% of 119 models

    Reasoning

    GPQA Diamond

    25.9%

    Graduate-level scientific reasoning · top 99%

    HLE

    5.3%

    Humanity's Last Exam · top 78%

    Latency & design

    Time to first token
    0.86s

    Independent scores from Artificial Analysis and DesignArena · updated 10/5/2026. Higher is better; ranks compare against every model we track with that score.

    Rates

    Llama 3.1 8B Instruct pricing

    Pricing is based on token usage. Provider-specific caching, batch, regional, and tool charges may affect the final cost.

    Input · Standard

    $0.05

    Per 1M tokens

    Cached input · Standard

    $0.03

    Per 1M tokens

    Capabilities

    Llama 3.1 8B Instruct Tools

    Tools available when using Llama 3.1 8B Instruct through supported provider APIs.

    Where to run it

    Llama 3.1 8B Instruct API providers

    4 providers serve Llama 3.1 8B Instruct. Prices are per 1M tokens; uptime is the last 24 hours.

    DeepInfrafp8
    Input
    $0.02
    Output
    $0.04
    Cached
    —
    Context
    131K
    Uptime
    100%
    Groq
    Input
    $0.05
    Output
    $0.08
    Cached
    $0.03
    Context
    131K
    Uptime
    100%
    Amazon Bedrock
    Input
    $0.22
    Output
    $0.22
    Cached
    —
    Context
    131K
    Uptime
    100%
    CoreWeavebf16
    Input
    $0.22
    Output
    $0.22
    Cached
    $0.22
    Context
    131K
    Uptime
    100%

    Strengths and limitations

    Strengths

    • Price rank 6 of 330 tracked models (1 = cheapest, by blended price).
    • Blended price at 3 input : 1 output is $0.058 per 1M tokens.
    • 1M input + 250K output tokens costs about $0.070.
    • Context window 131K vs a median of 262K (2.0× smaller).

    Limitations

    • Real-world cost still depends on prompt length, response length and provider-specific billing rules.
    • The 131K context window is smaller than several long-context alternatives.
    • Benchmarks are directional; test accuracy, latency and reliability on your own workload before committing.

    Public listed prices, checked Dec 4, 2026. Benchmarks as published by their sources. Confirm with the provider.

    Same provider

    More models from Meta

    View provider →

    $0.72 in · $0.72 out

    View model

    $0.03 in · $0.20 out

    View model

    $0.05 in · $0.33 out

    View model

    $0.59 in · $0.79 out

    View model

    Frequently asked questions about Llama 3.1 8B Instruct

    Llama 3.1 8B Instruct is a text & reasoning model from Meta. 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...

    Llama 3.1 8B Instruct costs $0.05 per million input tokens and $0.08 per million output tokens on standard pricing. A workload of 20M input and 5M output tokens a month is about $1.40.

    Llama 3.1 8B Instruct accepts up to 131,072 tokens (131K) of input and can return up to 117,964 tokens in one response.

    Yes, Llama 3.1 8B Instruct supports function/tool calling and structured (JSON) outputs. Supported tools: Function calling, Structured outputs, JSON mode, Log probabilities, Deterministic seed, Prompt caching.

    Llama 3.1 8B Instruct accepts Text as input and produces Text as output.

    Llama 3.1 8B Instruct is available from 4 API providers: DeepInfra, Groq, Amazon Bedrock, CoreWeave. Prices can differ by provider.

    Llama 3.1 8B Instruct was released by Meta in 2024-07-23.