Llama 3.1 8B (Groq) API pricing (August 2026)

Prices verified 4 Aug 2026
Input
$0.050
per 1M tokens
Output
$0.080
per 1M tokens
Cached input
Not supported
no prompt caching
Batch discount
50% off
async batch endpoint

What it costs at real volumes

A chat-shaped workload: 800 input tokens and 300 output tokens per request, no caching, no batch.

VolumePer requestPer monthPer year
10K requests/day$6.40e-5$19.48$233.78Adjust →
100K requests/day$6.40e-5$194.82$2,337.79Adjust →
1M requests/day$6.40e-5$1,948.16$23.4KAdjust →

Specifications

Provider
Groq
Context window
128K tokens
Max output
8.2K tokens
Tier
small
Status
GA
Blended $/1M (3:1)
$0.058
Cache break-even hit rate
No caching
Prices verified
4 Aug 2026

Source: Groq pricing. Finitizer is not affiliated with Groq.

Similar models

Other llama models

Closest prices elsewhere

Frequently asked questions

How much does Llama 3.1 8B (Groq) cost per 1M tokens?

Llama 3.1 8B (Groq) costs $0.050 per million input tokens and $0.080 per million output tokens at Groq list prices. Output is 1.6x the input rate, so the input:output ratio of your workload drives the real cost more than the headline price.

Does Llama 3.1 8B (Groq) support prompt caching?

Llama 3.1 8B (Groq) has no published prompt-caching rate, so repeated context is billed at the full input rate on every request.

What is the batch discount for Llama 3.1 8B (Groq)?

Requests submitted through the asynchronous batch endpoint are billed at 50% off both input and output rates, bringing input to $0.025 and output to $0.040 per million tokens.

What is Llama 3.1 8B (Groq)'s context window?

128K tokens of context with up to 8.2K output tokens per request. A larger context window raises the ceiling on what you can send, not the price per token — but filling it on every request is one of the most common causes of an unexpected bill.

Running Llama 3.1 8B (Groq) in production?

Finitizer TokenOps attributes real token spend to teams, features, and prompts — so you find out which workload moved the bill before the invoice does.