# 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.

- Page: https://models.litellm.ai/models/llama-4-maverick
- Lab: Meta
- LiteLLM model name: `vercel_ai_gateway/meta/llama-4-maverick`
- Context window: 131,072 tokens
- Max output: 8,192 tokens
- Added to LiteLLM: May 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 |
|---|---|---|---|---|---|---|---|
| Vercel AI Gateway | `vercel_ai_gateway/meta/llama-4-maverick` | $0.20 | $0.60 | – | – | – | 128K |
| Databricks | `databricks/databricks-llama-4-maverick` | $0.50 | $1.50 | $0.50 | – | – | 128K |
| Snowflake Cortex | `snowflake/llama4-maverick` | $0.24 | $0.97 | – | – | – | 128K |

## Cost examples

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

## Features

Supported: Function calling.

## Use it with LiteLLM

```python
from litellm import completion

response = completion(
    model="vercel_ai_gateway/meta/llama-4-maverick",
    messages=[{"role": "user", "content": "Hello!"}],
)
```

## 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.

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