llama-3.1-8b-instant API pricing
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.
Against the models nearest in price
Blended at a 3:1 input to output ratio.
| Source | ||||||
|---|---|---|---|---|---|---|
| llama-3.1-8b-instant This model | Groq | $0.050 | $0.080 | 131,072 | $0.058 | ↗ |
| llama-3.1-8b-instruct | OpenRouter | $0.050 | $0.080 | 131,072 | $0.058 | ↗ |
| llama-3.2-1b-instruct | OpenRouter | $0.027 | $0.201 | 60,000 | $0.070 | ↗ |
| llama-3.2-3b-instruct | OpenRouter | $0.050 | $0.330 | 131,072 | $0.120 | ↗ |
| gemini-2.0-flash-lite | Google AI | $0.075 | $0.300 | 1,048,576 | $0.131 | ↗ |
| gemini-2.0-flash-lite-001 | Google AI | $0.075 | $0.300 | 1,048,576 | $0.131 | ↗ |
| gpt-5-nano | OpenAI | $0.050 | $0.400 | 272,000 | $0.138 | ↗ |
| llama-4-scout | OpenRouter | $0.100 | $0.300 | 1,310,720 | $0.150 | ↗ |
| llama-3.3-70b-instruct | OpenRouter | $0.100 | $0.320 | 131,072 | $0.155 | ↗ |
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