Groq

Llama 3.1 8B Instant (Groq) token cost calculator

Ultra-cheap Groq 8B tier for classification, routing, and lightweight agents at extreme speed.

Published list rates

Input

$0.05

per 1M tokens

Output

$0.08

per 1M tokens

Context window

131,072

tokens

Pricing source: Groq pricing

Token cost calculator

List prices are stored in US dollars. Conversions use the units-per-dollar exchange-rate snapshot last checked 2026-07-31

Estimate from text

Calculate from a token total

Project monthly volume

Uses the input/output mix above and a 30-day month: requests per day × tokens per request × 30.

Estimated cost

Estimated tokens
Characters
Words
Input tokens
Output tokens
Input cost
Output cost
Total cost
Combined price per 1M tokens
Estimated monthly cost
Estimated daily cost

Cost by token volume

Compare input-only, output-only, and 70/30 mixed workloads from one token to 100 billion. Intermediate bands make smaller production steps easier to price.

Tokens Input only Output only 70/30 mix
1 $0.00000005 $0.00000008 $0.000000059
10 $0.0000005 $0.0000008 $0.00000059
100 $0.000005 $0.000008 $0.000006
200 $0.00001 $0.000016 $0.000012
300 $0.000015 $0.000024 $0.000018
400 $0.00002 $0.000032 $0.000024
500 $0.000025 $0.00004 $0.00003
1,000 $0.00005 $0.00008 $0.000059
2,000 $0.0001 $0.00016 $0.000118
5,000 $0.00025 $0.0004 $0.000295
10,000 $0.0005 $0.0008 $0.00059
25,000 $0.00125 $0.002 $0.001475
50,000 $0.0025 $0.004 $0.00295
100,000 $0.005 $0.008 $0.0059
250,000 $0.0125 $0.02 $0.01475
500,000 $0.025 $0.04 $0.0295
1,000,000 $0.05 $0.08 $0.059
5,000,000 $0.25 $0.4 $0.295
10,000,000 $0.5 $0.8 $0.59
50,000,000 $2.50 $4.00 $2.95
100,000,000 $5.00 $8.00 $5.90
500,000,000 $25.00 $40.00 $29.50
1,000,000,000 $50.00 $80.00 $59.00
10,000,000,000 $500.00 $800.00 $590.00
100,000,000,000 $5,000.00 $8,000.00 $5,900.00

Tokens available by budget

See how many tokens a fixed budget buys at the published rates. Display-currency values use the current exchange-rate snapshot shown on the page.

Budget Input tokens Output tokens Mixed tokens (70/30)
$0.01 200,000 125,000 169,492
$0.1 2M 1.25M 1.69M
$0.5 10M 6.25M 8.47M
$1.00 20M 12.5M 16.9M
$5.00 100M 62.5M 84.7M
$10.00 200M 125M 169.5M
$20.00 400M 250M 339M
$25.00 500M 312.5M 423.7M
$30.00 600M 375M 508.5M
$50.00 1B 625M 847.5M
$100.00 2B 1.25B 1.69B
$250.00 5B 3.13B 4.24B
$500.00 10B 6.25B 8.47B
$1,000.00 20B 12.5B 16.9B
$5,000.00 100B 62.5B 84.7B
$10,000.00 200B 125B 169.5B

Cost profile

  • A workload with 70% input and 30% output costs $0.059 per 1 million total tokens and $5.90 per 100 million.
  • At the same token count, output costs 1.6 times the input rate. Response length therefore deserves its own budget limit.
  • Filling the 131,072-token context window with input alone would cost about $0.006554, before any output.

About Groq

Ultra-fast inference for open models with transparent per-token pricing. The Llama 3.1 8B Instant (Groq) page covers this meter in detail; the Groq hub gathers the rest of the lineup with a pricing table, list-rate ranges, and calculators side by side.

See all Groq models and the pricing table

How the text estimate works

For rough planning, CostUse uses about four characters per token and about 0.75 words per token. Actual tokenization changes with language, model, formatting, and special tokens.

These results use public list prices. Cache eligibility, batch or priority modes, long-context surcharges, discounts, and regional billing can change the final invoice.

Questions about this rate

How much is 1 million mixed tokens on Llama 3.1 8B Instant (Groq)?

About $0.059 at a 70% input / 30% output mix using list prices verified 2026-07-30.

How much are 100 million mixed tokens?

About $5.90 at the same 70/30 mix — useful for rough monthly volume planning.

What is the Llama 3.1 8B Instant (Groq) price per million input and output tokens?

Input $0.05 and output $0.08 per 1M tokens (USD list rates). Use the calculator above with your real token mix.

Is the text-to-token estimate exact?

No. The estimator approximates tokens from characters and words. Real bills depend on the provider tokenizer, special tokens, and discounts (cache, batch, priority).

What does cost per token mean, and why is output usually more expensive?

Providers charge for tokens processed. Output tokens (generated replies) often cost several times more than input tokens (your prompt), so completion length can dominate the bill.

Related models