# Databricks Meta Llama 3.1 8B Instruct API Pricing

As of October 10, 2026, Databricks Meta Llama 3.1 8B Instruct costs $0.15 per 1M input tokens and $0.45 per 1M output tokens on Databricks, with cache reads at $0.15 and cache writes at $0.15 per 1M tokens. It has a 200,000-token context window and returns up to 128,000 tokens per response.

- Page: https://models.litellm.ai/models/databricks-meta-llama-3-1-8b-instruct
- LiteLLM model name: `databricks/databricks-meta-llama-3-1-8b-instruct`
- Context window: 200,000 tokens
- Max output: 128,000 tokens
- Added to LiteLLM: December 2025
- Prices updated: October 10, 2026

## Pricing by provider

Token prices in USD per 1M tokens.

| Provider | Model name | Input | Output | Cache read | Per image | Per second | Context |
|---|---|---|---|---|---|---|---|
| Databricks | `databricks/databricks-meta-llama-3-1-8b-instruct` | $0.15 | $0.45 | $0.15 | – | – | 200K |

## Cost examples

1,000 requests with 2,000 input and 500 output tokens each:

- Databricks: $0.525

100 long-document requests with 100,000 input and 2,000 output tokens each:

- Databricks: $1.59

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="databricks/databricks-meta-llama-3-1-8b-instruct",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Databricks Meta Llama 3.1 8B Instruct cost?

Databricks Meta Llama 3.1 8B Instruct costs $0.15 per 1M input tokens and $0.45 per 1M output tokens on Databricks, with cache reads at $0.15 and cache writes at $0.15 per 1M tokens.

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

Databricks Meta Llama 3.1 8B Instruct has a 200,000-token context window and returns up to 128,000 tokens per response.

### Which providers offer Databricks Meta Llama 3.1 8B Instruct?

Databricks Meta Llama 3.1 8B Instruct is available from Databricks through LiteLLM, using the model name databricks/databricks-meta-llama-3-1-8b-instruct.

### How do I call Databricks Meta Llama 3.1 8B Instruct with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="databricks/databricks-meta-llama-3-1-8b-instruct", or add the model to the LiteLLM proxy's config.yaml and send requests to /v1/chat/completions from any OpenAI client. LiteLLM tracks the cost of every request at the prices on this page.

### When did LiteLLM add Databricks Meta Llama 3.1 8B Instruct?

Databricks Meta Llama 3.1 8B Instruct was added to LiteLLM's model price file in December 2025.

Source: LiteLLM model price file, https://github.com/BerriAI/litellm/blob/main/model_prices_and_context_window.json
