VOOZH about

URL: https://pricepertoken.com/pricing-page/model/meta-llama-llama-3.1-8b-instruct

⇱ Llama 3.1 8B Instruct API Pricing 2026 - Costs, Performance & Providers


New: give your AI agents live LLM pricing & benchmarks with the Price Per Token MCP. Get the MCP

Llama 3.1 8B Instruct API Pricing 2026

Compare pricing, benchmarks, and providers for Llama 3.1 8B Instruct. Find the best value for your use case.

👁 The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM APISponsored

Change 3 lines of code and let providers compete for your requests in real time.

Get started for free
8 Ways to Use Fewer Tokens
Last updated: June 28, 2026 at 08:35 AM

Overview

Llama 3.1 8B Instruct was released on July 23, 2024. Pricing starts at $0.020 per million input tokens and $0.030 per million output tokens. The model supports a context window of up to 16K tokens. API access is available through Meta-llama.

Context Window
16K
tokens
Pricing
Input$0.020
Output$0.030
Cached$0.100
per 1M tokens
Speed
Output172 tok/s
TTFT0.51s
median latency
Capabilities
Tools

Pricing Comparison

Compare Llama 3.1 8B Instruct with 0 similar models by price.

Current Pricing (per 1M tokens)

1 models

Sponsored 👁 The Grid | Spot Priced LLM API
The Grid | Spot Priced LLM API — Why pay list price when providers will bid for your API usage? Up to 80% off.
View spot prices
Provider
Model
Input $/M
Output $/M
Coding
MMLU
GPQA
Context
Actions
$0.020
$0.030
11.6
47.6
25.9
16,384

* Some models use tiered pricing based on prompt length. Displayed prices are for prompts ≤ 200k tokens.

Compare Providers

Llama 3.1 8B Instruct is available from multiple providers with different pricing and availability.

No multi-provider data available for this model

This model may only be available from a single provider

Community Rankings

How does Llama 3.1 8B Instruct perform? Vote based on your experience.

Cost vs. Quality

Compare Llama 3.1 8B Instruct's benchmark performance against all models.

X-axis:
Y-axis:
Loading chart...
Llama 3.1 8B Instruct
Other models

Detailed Benchmark Scores

Intelligence
6.1 (16th pct)
Coding
-
Math
4.3 (6th pct)
MMLU Pro
47.6 (15th pct)
GPQA
25.9 (8th pct)
LiveCodeBench
11.6 (7th pct)
AIME
7.7 (15th pct)
Aider
37.6 (15th pct)
Benchmark data from Artificial Analysis and HuggingFace Open LLM Leaderboard

Try Llama 3.1 8B Instruct

Use our Calculator

Estimate your costs based on expected token usage.

Open Cost Calculator

Try in Playground

Test Llama 3.1 8B Instruct directly in your browser.

Open Playground

Frequently Asked Questions

Llama 3.1 8B Instruct costs $0.000020 per 1,000 input tokens and $0.000030 per 1,000 output tokens.

All Meta-llama Models

See pricing for all Meta-llama models.

View all Meta-llama models →

Built by @aellman

Follow us:

2026 68 Ventures, LLC. All rights reserved.