LiteLLMModels

Llama 4 Maverick 17B 128e Instruct API Pricing

As of October 10, 2026, Llama 4 Maverick 17B 128e Instruct costs $0.35 per 1M input tokens and $1.15 per 1M output tokens from Google Vertex AI, the lowest of 9 providers. It has a 1,000,000-token context window and returns up to 1,000,000 tokens per response.

By MetaModel ID vertex_ai/meta/llama-4-maverick-17b-128e-instruct-maasPrices updated Checked
Input
$0.35 / 1M tokens
Output
$1.15 / 1M tokens
Context window
1,000,000 tokens
Max output
1,000,000 tokens
Providers
9
Added to LiteLLM
April 2025

Llama 4 Maverick 17B 128e Instruct pricing by provider

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

ProviderModel name in LiteLLMInputOutputBatch inBatch outContext
Google Vertex AIvertex_ai/meta/llama-4-maverick-17b-128e-instruct-maas$0.35$1.15$0.175$0.5751M
Meta Llama APIfp8meta_llama/Llama-4-Maverick-17B-128E-Instruct-FP8––––1M
SambaNovasambanova/Llama-4-Maverick-17B-128E-Instruct$0.63$1.80––128K
Azure AI Foundryfp8azure_ai/Llama-4-Maverick-17B-128E-Instruct-FP8$0.25$1.00––1M
DeepInfrafp8deepinfra/meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8$0.20$0.80––1M
IBM watsonx.aifp8watsonx/meta-llama/llama-4-maverick-17b-128e-instruct-fp8$0.371$1.484––128K
Lambdafp8lambda_ai/llama-4-maverick-17b-128e-instruct-fp8$0.05$0.10––128K
Novita AIfp8novita/meta-llama/llama-4-maverick-17b-128e-instruct-fp8$0.27$0.85––1M
Oracle Cloud (OCI)fp8oci/meta.llama-4-maverick-17b-128e-instruct-fp8$0.72$0.72––1M

What Llama 4 Maverick 17B 128e Instruct costs in practice

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

Google Vertex AI$1.275
SambaNova$2.16
Google Vertex AI batch$0.6375

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

Google Vertex AI$3.73
SambaNova$6.66

Llama 4 Maverick 17B 128e Instruct features

Input: text, image. Output: text, code.

Use Llama 4 Maverick 17B 128e Instruct with LiteLLM

Call Llama 4 Maverick 17B 128e Instruct 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="vertex_ai/meta/llama-4-maverick-17b-128e-instruct-maas",
    messages=[{"role": "user", "content": "Hello!"}],
)
Proxy config.yaml
model_list:
  - model_name: llama-4-maverick-17b-128e-instruct
    litellm_params:
      model: vertex_ai/meta/llama-4-maverick-17b-128e-instruct-maas
      vertex_project: os.environ/VERTEX_PROJECT
      vertex_location: os.environ/VERTEX_LOCATION
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-128e-instruct",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Llama 4 Maverick 17B 128e Instruct FAQ

How much does Llama 4 Maverick 17B 128e Instruct cost?

Llama 4 Maverick 17B 128e Instruct costs $0.35 per 1M input tokens and $1.15 per 1M output tokens from Google Vertex AI, the lowest of 9 providers. Batch requests cost $0.175 per 1M input tokens and $0.575 per 1M output tokens.

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

Llama 4 Maverick 17B 128e Instruct has a 1,000,000-token context window and returns up to 1,000,000 tokens per response.

Which providers offer Llama 4 Maverick 17B 128e Instruct?

Llama 4 Maverick 17B 128e Instruct is available from 9 providers through LiteLLM: Google Vertex AI, Meta Llama API, SambaNova, Azure AI Foundry, DeepInfra, IBM watsonx.ai, Lambda, Novita AI and Oracle Cloud (OCI). The lowest price is on Google Vertex AI.

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

Use the LiteLLM Python SDK with model="vertex_ai/meta/llama-4-maverick-17b-128e-instruct-maas", 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 128e Instruct support?

Llama 4 Maverick 17B 128e Instruct supports function calling, parallel tool calls, structured output and image input.

When did LiteLLM add Llama 4 Maverick 17B 128e Instruct?

Llama 4 Maverick 17B 128e Instruct was added to LiteLLM's model price file in April 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: Google Vertex AI, Meta Llama API, SambaNova, Azure AI Foundry, DeepInfra, IBM watsonx.ai.

Provider pages: Google Vertex AI, Meta Llama API, SambaNova, Azure AI Foundry, DeepInfra, IBM watsonx.ai, Lambda, Novita AI, Oracle Cloud (OCI).