---
title: "Llama 3.1 8B API Pricing (Meta): $0.05/$0.08 per Mtok"
description: "Llama 3.1 8B pricing (Meta): $0.05/1M input tokens, $0.08/1M output, 128K-token context. Small, fast open-weights model."
url: "https://modelpricewatch.com/models/meta-llama-3-1-8b/"
source: "Model Price Watch — modelpricewatch.com"
license: "Free to cite with attribution and a link back."
note: "Prices change often. For live values prefer https://modelpricewatch.com/api/v1/models.json"
---

# Llama 3.1 8B

by [Meta](https://modelpricewatch.com/providers/meta/) · 8B parameters

Retired open weights open weights cheap tier

[Email me when Llama 3.1 8B gets cheaper](https://modelpricewatch.com/alerts/#model=meta-llama-3-1-8b)

**Retired on Aug 16, 2026.** No longer served on the endpoint we price — the figures below are kept for historical reference only. [Full retirement status & replacements →](https://modelpricewatch.com/retired/meta-llama-3-1-8b/)

**Availability:** Meta does not sell this model per token; its developer rate card (dev.meta.ai/docs/pricing-rate-limits) prices only Muse models. The price on this row was Groq's, and Groq shut llama-3.1-8b-instant down for self-serve accounts on 2026-08-16 (console.groq.com/docs/deprecations; enterprise contracts are excepted). The same price on Groq's own row, groq-llama-3-1-8b-instant, has been Retired since then. The rate shown is the last public per-token price Groq charged, and you can no longer buy it.

## Today's price · per 1M tokens

- **Input:** $0.050 (per 1M tokens)
- **Output:** $0.080 (per 1M tokens)
- **Blended:** $0.058 (blended $/1M — 3:1 weighted input:output)

Source: [official Meta pricing](https://console.groq.com/docs/models) · read Oct 19, 2026 MODELPRICEWATCH.COM · 2026-11-13

## Price receipt

We read [Meta's own pricing page](https://console.groq.com/docs/models) on Aug 9, 2026 and found **Llama 3.1 8B** listed with a price on the same row — that read is where the number above comes from. We keep the page text we read; its content hash is 5268b840bd.

## Overview

Small, fast open-weights model. Cheapest hosted price via Groq: $0.05/$0.08 per 1M tokens.

Run it yourself

### Deploy this open model on rented GPUs

Open weights mean you can self-host instead of paying per-token API prices. These platforms let you serve it on demand — often cheaper at scale.

[

RunPod →

Rent GPUs by the second and serve any open-weight model yourself.

](https://runpod.io?ref=jxlnkmk6)[

Novita AI →

Serverless open-model inference billed per token — no GPU ops.

](https://novita.ai/?ref=zmi5ytl&utm_source=affiliate)[

Vast.ai →

GPU marketplace — rent spot/on-demand GPUs cheaply and serve any open-weight model.

](https://cloud.vast.ai/?ref_id=599146)

Partner links — we may earn a commission if you sign up, at no cost to you. We only list platforms we'd recommend regardless.

## Capabilities

Input 1/4

Text: yes; Image: no; Audio: no; Video: no

Output

Text: yes

Features 3/9

Prompt caching: no; Reasoning: no; Coding: no; Fast inference: yes; Long context: yes; Open weights: yes; Multimodal: no; Web search: no; Realtime: no

## Benchmark performance

accuracy % · higher is better

- **Avg benchmark score:** 34%
- **Perf per $/Mtok:** 591.3

GPQA Diamond

30%

SWE-Bench Verified

12%

Humanity's Last Exam

5%

ARC-AGI 2

6%

AIME 2025

20%

MMMLU

65%

BFCL

48%

HumanEval

72%

MATH 500

48%

Sources: Vellum LLM Leaderboard (Jun 2026), Kaggle dataset (GPQA Diamond, SWE-Bench Verified, Humanity's Last Exam, ARC-AGI 2, AIME 2025, MMMLU, BFCL, HumanEval, MATH 500)

Independent composite scores

-   **Epoch Capabilities Index:** 111.1 (CI 105.5–116.2) (Epoch AI's index fitted across many benchmarks)

[Source: Epoch AI (epoch.ai/benchmarks), CC BY 4.0](https://epoch.ai/benchmarks)

How it stacks up

-   Ranks **#96** of 100 benchmarked models by **average score**
-   Ranks **#185** of 189 comparably-measured models by **percentile score**, across 8 independent measurements
-   Ranks **#48** of 189 comparably-tested models by **normalized performance per dollar**
-   Strongest at **HumanEval** — 72%, **#11** of 12

**1800** tokens/sec output **0.32s** latency to first token (TTFT)

Throughput: Artificial Analysis via Vellum · [Source: Artificial Analysis (artificialanalysis.ai)](https://artificialanalysis.ai/)

Source: Vellum LLM Leaderboard (Jun 2026), Kaggle dataset · updated Jun 9, 2026 · [See full rankings →](https://modelpricewatch.com/rankings/)

## Specifications

Provider

[Meta](https://modelpricewatch.com/providers/meta/)

Context window

128K tokens

Modality

text

Parameters

8B

Open source

Yes — open weights available

Released

Jul 23, 2024

Status

Retired ended Aug 16, 2026

Last updated

Oct 19, 2026

Tags

open-weightsfastretired

**Availability verified:** Oct 19, 2026 — per [Meta's own deprecation notice](https://console.groq.com/docs/deprecations)

[Official pricing page](https://console.groq.com/docs/models)

## Cost calculator

copy a line

1K tokens (in)

$0.00005

1K tokens (out)

$0.00008

100K tokens (in)

$0.005

100K tokens (out)

$0.008

1M tokens (in)

$0.050

1M tokens (out)

$0.080

10M tokens (blended)

$0.575

[Full calculator →](https://modelpricewatch.com/calculator/)

## At a glance

$ per 1M tokens

Input

$0.050/M

Output

$0.080/M

Blended

$0.058/M

Context

128K

Tier

cheap

## Embed this price

A live, auto-updating badge for your README or docs:

![Llama 3.1 8B live API price](/badge/model/meta-llama-3-1-8b.svg)

## Price history

input $/1M

Last checked **Oct 19, 2026** · every price links to the official provider pricing page

No price changes detected — this model's pricing has been stable since we began tracking it.

## Related models

same category

[NVIDIA Nemotron 3.5 Lightning](https://modelpricewatch.com/models/deepinfra-nvidia-nemotron-3-5-lightning/)

DeepInfra · $0.085/M blended

[Pixtral 12B](https://modelpricewatch.com/models/mistral-pixtral-12b/)

Mistral · $0.150/M blended

[Llama 4 Scout](https://modelpricewatch.com/models/deepinfra-llama-4-scout/)

DeepInfra · $0.150/M blended

[Llama 4 Scout](https://modelpricewatch.com/models/meta-llama-4-scout/)

Meta · $0.168/M blended

[Llama 4 Maverick](https://modelpricewatch.com/models/deepinfra-llama-4-maverick/)

DeepInfra · $0.350/M blended

[Moondream 3.1 9B A2B](https://modelpricewatch.com/models/moondream-3-1-9b-a2b/)

Moondream · $0.475/M blended

## Structured data

```json
{
  "@context": "https://schema.org",
  "@graph": [
    {
      "@type": "Organization",
      "@id": "https://modelpricewatch.com/#org",
      "name": "Model Price Watch",
      "alternateName": [
        "ModelPriceWatch",
        "modelpricewatch",
        "Model Price Watch — The LLM Price Index"
      ],
      "url": "https://modelpricewatch.com/",
      "logo": "https://modelpricewatch.com/icon-512.png",
      "description": "Independent, automated tracker of LLM API pricing across all major providers. Every price is traced to the provider's official pricing page and re-verified on a schedule.",
      "foundingDate": "2026-06-24",
      "knowsAbout": [
        "LLM API pricing",
        "token cost per million tokens",
        "large language model cost comparison",
        "AI inference pricing",
        "prompt caching pricing"
      ],
      "publishingPrinciples": "https://modelpricewatch.com/about/#verified",
      "sameAs": [
        "https://huggingface.co/datasets/modelpricewatch/llm-token-price-history",
        "https://github.com/romanshumy/llm-prices-data",
        "https://www.npmjs.com/package/@modelpricewatch/mcp"
      ]
    },
    {
      "@type": "WebSite",
      "@id": "https://modelpricewatch.com/#website",
      "url": "https://modelpricewatch.com/",
      "name": "Model Price Watch",
      "publisher": {
        "@id": "https://modelpricewatch.com/#org"
      },
      "potentialAction": {
        "@type": "SearchAction",
        "target": {
          "@type": "EntryPoint",
          "urlTemplate": "https://modelpricewatch.com/?q={search_term_string}"
        },
        "query-input": "required name=search_term_string"
      }
    },
    {
      "@type": "Dataset",
      "@id": "https://modelpricewatch.com/#dataset",
      "name": "LLM API Pricing Dataset",
      "description": "Token pricing (input, output, and blended cost per million tokens), context windows, and price history for 315 tracked large language models across 42 providers. Every price links to the provider's official pricing page; the dataset is refreshed twice daily.",
      "url": "https://modelpricewatch.com/",
      "creator": {
        "@id": "https://modelpricewatch.com/#org"
      },
      "isAccessibleForFree": true,
      "license": "https://creativecommons.org/licenses/by/4.0/",
      "keywords": [
        "LLM API pricing",
        "token cost",
        "price per million tokens",
        "GPT pricing",
        "Claude pricing",
        "Gemini pricing",
        "LLM cost comparison"
      ],
      "variableMeasured": [
        "input price per million tokens",
        "output price per million tokens",
        "blended cost per million tokens",
        "context window"
      ],
      "temporalCoverage": "2026-06-24/",
      "dateModified": "2026-11-13T00:00:00Z",
      "distribution": [
        {
          "@type": "DataDownload",
          "encodingFormat": "application/json",
          "contentUrl": "https://modelpricewatch.com/api/v1/models.json"
        },
        {
          "@type": "DataDownload",
          "encodingFormat": "application/json",
          "contentUrl": "https://modelpricewatch.com/api/v1/price-history.json"
        }
      ]
    }
  ]
}
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Llama 3.1 8B",
  "applicationCategory": "AIModel",
  "operatingSystem": "Cloud",
  "image": "https://modelpricewatch.com/og-default.png",
  "offers": {
    "@type": "Offer",
    "price": "0.05",
    "priceCurrency": "USD",
    "description": "Per million input tokens",
    "priceValidUntil": "2026-12-14",
    "availability": "https://schema.org/Discontinued"
  },
  "description": "Small, fast open-weights model. Cheapest hosted price via Groq: $0.05/$0.08 per 1M tokens.",
  "manufacturer": "Meta"
}
{
  "@context": "https://schema.org",
  "@type": "BreadcrumbList",
  "itemListElement": [
    {
      "@type": "ListItem",
      "position": 1,
      "name": "Pricing",
      "item": "https://modelpricewatch.com/"
    },
    {
      "@type": "ListItem",
      "position": 2,
      "name": "Meta",
      "item": "https://modelpricewatch.com/providers/meta/"
    },
    {
      "@type": "ListItem",
      "position": 3,
      "name": "Llama 3.1 8B"
    }
  ]
}
```
