LiteLLMModels

Llama3.1 405B API Pricing

As of October 10, 2026, Llama3.1 405B costs $1.20 per 1M input tokens and $1.20 per 1M output tokens on Snowflake Cortex. It has a 128,000-token context window and returns up to 16,384 tokens per response.

By MetaModel ID snowflake/llama3.1-405bPrices updated Checked
Input
$1.20 / 1M tokens
Output
$1.20 / 1M tokens
Context window
128,000 tokens
Max output
16,384 tokens
Providers
1
Added to LiteLLM
March 2025

Llama3.1 405B pricing by provider

2 listings across 1 provider. Token prices are in US dollars per 1M tokens. The highlighted row is the price quoted above.

ProviderModel name in LiteLLMInputOutputContext
Snowflake Cortexsnowflake/llama3.1-405b$1.20$1.20128K
Snowflake Cortexsnowflake/snowflake-llama-3.1-405b––8K

What Llama3.1 405B costs in practice

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

Snowflake Cortex$3.00

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

Snowflake Cortex$12.24

Llama3.1 405B features

Use Llama3.1 405B with LiteLLM

Call Llama3.1 405B through the LiteLLM Python SDK, or put it behind the LiteLLM proxy and send OpenAI-format requests to /v1/chat/completions. LiteLLM tracks the cost of every request at these prices.

Python SDK
from litellm import completion

response = completion(
    model="snowflake/llama3.1-405b",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: llama-3.1-405b
    litellm_params:
      model: snowflake/llama3.1-405b
      # credentials: see the provider's LiteLLM docs page
Call the proxy
curl http://0.0.0.0:4000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer sk-1234" \
  -d '{
    "model": "llama-3.1-405b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Llama3.1 405B FAQ

How much does Llama3.1 405B cost?

Llama3.1 405B costs $1.20 per 1M input tokens and $1.20 per 1M output tokens on Snowflake Cortex.

What is the context window of Llama3.1 405B?

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

Which providers offer Llama3.1 405B?

Llama3.1 405B is available from Snowflake Cortex through LiteLLM, using the model name snowflake/llama3.1-405b.

How do I call Llama3.1 405B with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="snowflake/llama3.1-405b", 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 Llama3.1 405B support?

Llama3.1 405B supports function calling.

When did LiteLLM add Llama3.1 405B?

Llama3.1 405B was added to LiteLLM's model price file in March 2025.

Sources

Prices come from LiteLLM's open-source model_prices_and_context_window.json, which LiteLLM uses to calculate the cost of every request.

LiteLLM docs: Snowflake Cortex.

Provider pages: Snowflake Cortex.