llama-3.1-8b-instant API pricing

Checked 12 Sept 2026 LLMs
$ per 1M input $0.050
$ per 1M output $0.080

Blended at 3:1 input to output: $0.058 per million tokens.

Groq charges $0.050 per million input tokens and $0.080 per million output tokens.

$0.050
$/1M input
$0.080
$/1M output
131,072
Context window
$4.44
1k req/day, monthly

Against the models nearest in price

Blended at a 3:1 input to output ratio.

Calculator →
llama-3.1-8b-instant against comparable models — checked 12 Sept 2026
Source
llama-3.1-8b-instant This model Groq $0.050 $0.080 131,072 $0.058

Last checked . Methodology

Questions

How much does llama-3.1-8b-instant cost per million tokens?

$0.050 per million input tokens and $0.080 per million output tokens. At a 3:1 input to output mix that blends to $0.058. Checked 12 Sept 2026.

What would llama-3.1-8b-instant cost for a real workload?

A thousand requests a day at 2,000 input and 600 output tokens each comes to $4.44 a month.

What is the context window for llama-3.1-8b-instant?

131,072 tokens of input, with up to 131,072 tokens of output.

llama-3.1-8b-instruct · llama-3.2-1b-instruct · llama-3.2-3b-instruct · gemini-2.0-flash-lite · gemini-2.0-flash-lite-001 · All Groq models · Cost calculator