Skip to main content
Groq logo

Llama 3.1 8B API pricing on Groq

Every Groq Llama 3.1 8B rate we track, compared against 6 providers serving the same model.

Input from /1M
$0.050
Output /1M
$0.080
Price rank
#2 of 6
Last updated
August 3, 2026

The cheapest Llama 3.1 8B input price we currently track is $0.020/1M on Deep Infra.

Groq Llama 3.1 8B rates

Prices per 1M tokens. Batch and cached-input rates are shown where the provider publishes them.

Groq Llama 3.1 8B pricing by mode
ModeInputOutput
Standard$0.050/1M$0.080/1M

About Llama 3.1 8B

Creator
Meta
Context
128K
Modalities
text
Knowledge cutoff
Dec 2023
Tool calling
Yes
Open weights
Yes
Full Llama 3.1 8B details and every provider →

Llama 3.1 8B on other providers

About Groq

Groq runs LLM inference on its custom LPU (Language Processing Unit) hardware, offering an OpenAI-compatible API for open-weight models alongside dedicated bare-metal capacity for production inference.

Frequently Asked Questions

How much does Llama 3.1 8B cost on Groq?

Groq serves Llama 3.1 8B from $0.050 per 1M input tokens, across 1 tracked pricing mode. Prices are collected daily — see the table above for current input, output, and cached-input rates.

Is Groq the cheapest way to run Llama 3.1 8B?

Groq ranks #2 of 6 providers we track serving Llama 3.1 8B. The cheapest input price right now is on Deep Infra. Price is only one factor — throughput, latency, and context limits differ between providers.

Does Groq offer batch or cached pricing for Llama 3.1 8B?

We track 1 Llama 3.1 8B offering from Groq. Batch and cached-input rates appear in the table above when the provider publishes them; blank cells mean we have no current figure for that mode.