Skip to main content
Groq

Llama 3.1 8B pricing, context window and limits

Llama 3.1 8B costs $0.05 per million input tokens and $0.08 per million output tokens at Groq list price. It accepts up to 131,072 tokens of context and returns up to 131,072 tokens.

  • Model id groq/llama-3.1-8b-instant
  • Snapshot

What does Llama 3.1 8B cost?​

List prices in US dollars per million tokens
Input$0.05
Output$0.08
Cached input (read)—
Cache write—

US dollars per million tokens. A dash means no price is published.

How much can Llama 3.1 8B read and write?​

Token limits
Context window131,072
Max output131,072

What can Llama 3.1 8B do?​

Capabilities
Vision (image input)No
Tool callingYes
Structured outputNo
ReasoningNo
Inputtext
Outputtext

What does a request to Llama 3.1 8B cost?​

Cost of example requests at list price, in US dollars
A typical request: 1,000 tokens in, 500 outunder $0.0001
A long request: 10,000 tokens in, 1,000 out$0.00058
1,000 typical requests$0.09
1 million tokens in and 1 million out$0.13

Among 10 Groq models with a published price, Llama 3.1 8B is the 4th cheapest by input price. Its context window is the largest of 14. List prices only; discounts, batch prices and prices above 200K tokens are not shown.

How do I call Llama 3.1 8B through DVARA?​

Configure the groq provider in the DVARA LLM Gateway and send the model id groq/llama-3.1-8b-instant. DVARA, the AI governance platform, applies your policies, audit and cost attribution to the call. See LLM cost attribution and budgets.

In DVARA, if you haven't set your own price for a model, its calls are costed at the price in the catalogue that ships with your DVARA version. A price you set in Flightdeck always wins. You can switch catalogue prices off. Then a model with no price you set is counted as costing nothing. Every cost record says which price it used.

Which other Groq models are there?​

All 16 Groq models · Search the full catalogue

Which models from other providers are similar to Llama 3.1 8B?​

These are the closest in context window and input price, one per provider.

Snapshot 4 October 2026. DVARA reviews every price weekly before it is published. Get the whole catalogue as models.json. Prices are list prices in US dollars per million tokens; check your provider contract before you budget.