Llama 3.1 8B Instruct
by Metameta-llama/llama-3.1-8b-instruct
LLMCompare cannot run Llama 3.1 8B Instruct yet.No route to this model is configured on this site yet. Its prices and parameters are listed below for reference.
See the models that can be run nowLlama 3.1 8B Instruct at a glance
- Context length
- 131,072 tokens
- Maximum output
- 117,964 tokens
- Accepts
- Text
- Returns
- Text
- Features
- JSON outputTool callingPrompt caching
- Reasoning effort levels
- Not supported
- Released
- 23 Jul 2024
- Knowledge cutoff
- 31 December 2023
Model facts synced from the OpenRouter model list on 21 Oct 2026.
Llama 3.1 8B Instruct pricing by route
A route is the service LLMCompare calls to reach the model. Llama 3.1 8B Instruct has 1 route. Prices are in US dollars.
| Route | On LLMCompare | Inputper 1M tokens | Outputper 1M tokens | Cache readper 1M tokens | Price verified on | Source |
|---|---|---|---|---|---|---|
| OpenRouterDefault | Not configured | $0.05 | $0.08 | $0.025 | openrouter.ai/meta-llama/llama-3.1-8b-instruct |
The cost shown in an LLMCompare report is calculated from these prices as they were at the time of the run.
Cost calculator
Estimate what a batch of calls to Llama 3.1 8B Instruct costs. The starting numbers are examples. Change them to match your task.
Part of the input tokens above, billed at the cache read price.
- Cost per call
- $0.00009
- 1 credits
- Cost of 100 calls
- $0.009
- 100 credits
Calculated from the OpenRouter prices verified on 21 Oct 2026. Credits are the cost plus a 20% service fee, at $0.001 per credit, rounded up for each call, with a minimum of 1 per call. A real run is charged for the usage the provider reports.
Parameters you can set
These are the parameters LLMCompare can set when it calls the model through OpenRouter.
| Parameter | Type | Range or options | Default |
|---|---|---|---|
temperature | Number | 0 to 2in steps of 0.1 | Provider default |
top_p | Number | 0 to 1in steps of 0.05 | Provider default |
max_tokens | Integer | 1 to 117,964 | Provider default |
seed | Integer | -2,147,483,648 to 4,294,967,295 | Provider default |
response_format | One of | textjson_object | Provider default |
About Llama 3.1 8B Instruct
Meta's latest class of model (Llama 3.1) launched with a variety of sizes & flavors. This 8B instruct-tuned version is fast and efficient. It has demonstrated strong performance compared to...
Description as published for this model. LLMCompare has not edited it.
Models to compare with Llama 3.1 8B Instruct
Text models from the same provider and models at the nearest price. The order is not a ranking.
| Add to comparison | Model | Context | Max output | Input priceper 1M tokens | Output priceper 1M tokens | Features | Released | On LLMCompare |
|---|---|---|---|---|---|---|---|---|
Llama 3.2 1B InstructMetameta-llama/llama-3.2-1b-instruct | 60k | 54k | $0.027 | $0.201 | — | No route yet | ||
Llama Guard 4 12BMetameta-llama/llama-guard-4-12b | 164k | 16.4k | $0.18 | $0.18 | Vision | No route yet | ||
Llama 3.2 3B InstructMetameta-llama/llama-3.2-3b-instruct | 131k | 72k | $0.0509 | $0.335 | JSON | No route yet | ||
Mistral Small 3Mistralmistralai/mistral-small-24b-instruct-2501 | 32.8k | 16.4k | $0.05 | $0.08 | JSON | No route yet | ||
Granite 4.0 MicroIBMibm-granite/granite-4.0-h-micro | 131k | 118k | $0.017 | $0.112 | JSON | No route yet | ||
Nex-N2.5-MiniNex AGInex-agi/nex-n2.5-mini | 262k | 236k | $0.025 | $0.10 | ReasoningJSONCacheVision | No route yet |
Questions about Llama 3.1 8B Instruct
- How much does Llama 3.1 8B Instruct cost?
- On the OpenRouter route, Llama 3.1 8B Instruct costs $0.05 per 1 million input tokens and $0.08 per 1 million output tokens, in US dollars. Input tokens that Llama 3.1 8B Instruct reads from the prompt cache cost $0.025 per 1 million tokens. LLMCompare verified this price on 21 Oct 2026.
- What is the context length of Llama 3.1 8B Instruct?
- Llama 3.1 8B Instruct has a context length of 131,072 tokens and returns up to 117,964 output tokens in one call.
- What inputs does Llama 3.1 8B Instruct accept?
- Llama 3.1 8B Instruct accepts these inputs: Text. Llama 3.1 8B Instruct returns: Text.
- Can I test Llama 3.1 8B Instruct on my own data?
- Not yet. LLMCompare lists the prices and parameters of Llama 3.1 8B Instruct, but no route to Llama 3.1 8B Instruct is configured on LLMCompare, so it cannot be selected for an evaluation.