Llama 3.1 8B Instruct pricing and routing

Llama 3.1 8B Instruct from Meta lists at $0.05 per million input tokens and $0.08 per million output tokens, with a 131,072-token context window. Prices from OpenRouter's catalogue on 2026-09-28.

Input, per 1M tokens$0.05
Output, per 1M tokens$0.08
Cached input, per 1M$0.025
Context window131K
Confidence signalavailable

Tool callingStructured outputConfidence signal

Cost

Cost per 1,000 requests

Llama 3.1 8B Instruct cost per 1,000 requests
Request shapeList cost
Classification or routing (600 tokens in, 10 out)$0.0308
Chat reply (2,000 in, 400 out)$0.132
Retrieval-augmented answer (8,000 in, 500 out)$0.44

Before prompt caching. Try your own numbers in the cost calculator.

Routing

Can a cheaper model answer before it?

Yes. At least one host report how sure Llama 3.1 8B Instruct is of each word, which is the signal Gimbix uses to let a cheaper model answer first.

Alternatives

Cheaper models that can answer first

Models priced below Llama 3.1 8B Instruct that expose a confidence signal. Whether they answer your traffic as well is what a Gimbix pilot measures.

Cost per 1,000 chat replies, to scale
Llama 3.1 8B Instruct$0.132

Similar price

Models that cost about the same

Cost per 1,000 chat replies, to scale
Llama 3.1 8B Instruct$0.132

Questions

Questions about Llama 3.1 8B Instruct

How much does Llama 3.1 8B Instruct cost?

Llama 3.1 8B Instruct lists at $0.05 per million input tokens and $0.08 per million output tokens on OpenRouter as of 2026-09-28. A typical chat reply of 2,000 input and 400 output tokens costs about $0.132 per 1,000 requests.

What is the context window of Llama 3.1 8B Instruct?

131,072 tokens.

Can a cheaper model replace Llama 3.1 8B Instruct?

Sometimes. Gimbix checks on your own traffic before routing. First, on one set of your requests, the cheaper route must get at least as many right as the model you use today. Then comes a second set it has never seen. There it may get at most 3 wrong that your model got right, and at most 1 more wrong than it fixes.

See whether a cheaper model can carry your Llama 3.1 8B Instruct traffic

A pilot answers that on your own requests, with a receipt for every saving.

Request an AI cost review