# Llama V3p1 405B Instruct API Pricing

As of October 10, 2026, Llama V3p1 405B Instruct costs $3.00 per 1M input tokens and $3.00 per 1M output tokens on Fireworks AI. It has a 128,000-token context window and returns up to 16,384 tokens per response.

- Page: https://models.litellm.ai/models/llama-v3p1-405b-instruct
- Lab: Meta
- LiteLLM model name: `fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct`
- Context window: 128,000 tokens
- Max output: 16,384 tokens
- Added to LiteLLM: April 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 |
|---|---|---|---|---|---|---|---|
| Fireworks AI | `fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct` | $3.00 | $3.00 | – | – | – | 128K |

## Cost examples

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

- Fireworks AI: $7.50

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

- Fireworks AI: $30.60

## Features

Supported: Function calling, Structured output.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## FAQ

### How much does Llama V3p1 405B Instruct cost?

Llama V3p1 405B Instruct costs $3.00 per 1M input tokens and $3.00 per 1M output tokens on Fireworks AI.

### What is the context window of Llama V3p1 405B Instruct?

Llama V3p1 405B Instruct has a 128,000-token context window and returns up to 16,384 tokens per response.

### Which providers offer Llama V3p1 405B Instruct?

Llama V3p1 405B Instruct is available from Fireworks AI through LiteLLM, using the model name fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-instruct.

### How do I call Llama V3p1 405B Instruct with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="fireworks_ai/accounts/fireworks/models/llama-v3p1-405b-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.

### What features does Llama V3p1 405B Instruct support?

Llama V3p1 405B Instruct supports function calling and structured output.

### When did LiteLLM add Llama V3p1 405B Instruct?

Llama V3p1 405B Instruct was added to LiteLLM's model price file in April 2025.

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