LiteLLMModels

Llama 4 Maverick 17B API Pricing

As of October 10, 2026, Llama 4 Maverick 17B costs $0.371 per 1M input tokens and $1.484 per 1M output tokens on IBM watsonx.ai. It has a 131,072-token context window and returns up to 8,192 tokens per response.

By MetaModel ID watsonx/meta-llama/llama-4-maverick-17bPrices updated Checked
Input
$0.371 / 1M tokens
Output
$1.484 / 1M tokens
Context window
131,072 tokens
Max output
8,192 tokens
Providers
1
Added to LiteLLM
October 2025

Llama 4 Maverick 17B pricing by provider

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

ProviderModel name in LiteLLMInputOutputContext
IBM watsonx.aiwatsonx/meta-llama/llama-4-maverick-17b$0.371$1.484128K

What Llama 4 Maverick 17B costs in practice

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

IBM watsonx.ai$1.484

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

IBM watsonx.ai$4.007

Llama 4 Maverick 17B features

Use Llama 4 Maverick 17B with LiteLLM

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

Llama 4 Maverick 17B FAQ

How much does Llama 4 Maverick 17B cost?

Llama 4 Maverick 17B costs $0.371 per 1M input tokens and $1.484 per 1M output tokens on IBM watsonx.ai.

What is the context window of Llama 4 Maverick 17B?

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

Which providers offer Llama 4 Maverick 17B?

Llama 4 Maverick 17B is available from IBM watsonx.ai through LiteLLM, using the model name watsonx/meta-llama/llama-4-maverick-17b.

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

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

Llama 4 Maverick 17B supports function calling and parallel tool calls. It does not support image input.

When did LiteLLM add Llama 4 Maverick 17B?

Llama 4 Maverick 17B was added to LiteLLM's model price file in October 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: IBM watsonx.ai.

Provider pages: IBM watsonx.ai.