# Llama-3.1-8B-Instruct Usage, Cost & Rank | OpenCode Data

> Llama-3.1-8B-Instruct costs $0.00 per 1M input tokens and $0.00 per 1M output tokens.

Compact open Llama model for lightweight chat, drafting, and self-hosting

- Page: https://opencode.ai/data/meta/llama-3-1-8b-instruct
- JSON: https://opencode.ai/data/meta/llama-3-1-8b-instruct.json
- Model ID: meta/llama-3.1-8b-instruct
- Lab: Meta

## Model facts

| Fact | Value |
| --- | --- |
| Context window | 128K |
| Max output | 4.1K |
| Knowledge cutoff | 2023-12 |
| Release date | 2024-07-23 |
| Input modalities | text |
| Output modalities | text |
| Reasoning | No |
| Tool calling | Yes |
| Open weights | Yes |
| Weights | [Hugging Face](https://huggingface.co/meta-llama/Llama-3.1-8B-Instruct) |

## Pricing: USD per 1M tokens

| Input | Output | Cached input | Cache write |
| --- | --- | --- | --- |
| $0.00 | $0.00 | - | - |

## Methodology

- Updates: Aggregated every hour. Days and weeks use UTC.
- Tokens: Input, output, reasoning, and cached tokens for each request.
- Users and sessions: Approximate counts of distinct users and OpenCode sessions.
- Cost: Session cost is the average cost per OpenCode session. Token prices are list prices from the OpenCode model catalog.
- Retention: The share of a model's users in one week who use it again the next week.
- Citation: Cite OpenCode Data (opencode.ai/data) with the update time shown at the top of the page.
