LiteLLMModels

Llama 4 Maverick API Pricing

As of October 10, 2026, Llama 4 Maverick costs $0.20 per 1M input tokens and $0.60 per 1M output tokens from Vercel AI Gateway, the lowest of 3 providers. It has a 131,072-token context window and returns up to 8,192 tokens per response.

By MetaModel ID vercel_ai_gateway/meta/llama-4-maverickPrices updated Checked
Input
$0.20 / 1M tokens
Output
$0.60 / 1M tokens
Context window
131,072 tokens
Max output
8,192 tokens
Providers
3
Added to LiteLLM
May 2025

Llama 4 Maverick pricing by provider

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

ProviderModel name in LiteLLMInputOutputCache readCache writeContext
Vercel AI Gatewayvercel_ai_gateway/meta/llama-4-maverick$0.20$0.60––128K
Databricksdatabricks/databricks-llama-4-maverick$0.50$1.50$0.50$0.50128K
Snowflake Cortexsnowflake/llama4-maverick$0.24$0.97––128K

What Llama 4 Maverick costs in practice

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

Vercel AI Gateway$0.70
Snowflake Cortex$0.965
Databricks$1.75

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

Vercel AI Gateway$2.12
Snowflake Cortex$2.594
Databricks$5.30

Llama 4 Maverick features

Use Llama 4 Maverick with LiteLLM

Call Llama 4 Maverick 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="vercel_ai_gateway/meta/llama-4-maverick",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: llama-4-maverick
    litellm_params:
      model: vercel_ai_gateway/meta/llama-4-maverick
      # 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-4-maverick",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Llama 4 Maverick FAQ

How much does Llama 4 Maverick cost?

Llama 4 Maverick costs $0.20 per 1M input tokens and $0.60 per 1M output tokens from Vercel AI Gateway, the lowest of 3 providers.

What is the context window of Llama 4 Maverick?

Llama 4 Maverick has a 131,072-token context window and returns up to 8,192 tokens per response.

Which providers offer Llama 4 Maverick?

Llama 4 Maverick is available from 3 providers through LiteLLM: Vercel AI Gateway, Databricks and Snowflake Cortex. The lowest price is on Vercel AI Gateway.

How do I call Llama 4 Maverick with an OpenAI-compatible API?

Use the LiteLLM Python SDK with model="vercel_ai_gateway/meta/llama-4-maverick", 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 4 Maverick support?

Llama 4 Maverick supports function calling.

When did LiteLLM add Llama 4 Maverick?

Llama 4 Maverick was added to LiteLLM's model price file in May 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. Provider pricing pages:

LiteLLM docs: Vercel AI Gateway, Databricks, Snowflake Cortex.

Provider pages: Vercel AI Gateway, Databricks, Snowflake Cortex.