Llama 4 Maverick (Google) API

Google · serves llama-4-maverick

Pricing

Input / 1M$0.35
Output / 1M$1.15
Blended / 1M$1.5
Context window1,048,576 tokens
Max output8,192 tokens
LicenseOpen weights · Llama Community License conditional
Knowledge cutoffDecember 2024 · source
Intelligence index14.5 Artificial Analysis Intelligence Index · source

textvisionfunction-calling

Price verified 2026-09-05 (0 days ago) · sourcesources disagree

Sources

Sources disagree by 47% on this price. The figure above is the primary source; cross-check before relying on it.

SourceInput / 1MOutput / 1MVerified
OpenRouter$0.35$1.152026-09-05
LiteLLM$0.20$0.602026-09-03
models.dev$0.50$1.502026-09-04

Independent sources disagree — treat with caution.

Cheaper providers for llama-4-maverick

ProviderBlended / 1MEndpoint
DigitalOcean$0.896view →
DeepInfra$1view →
Novita AI$1.12view →

Compare all 5 providers serving llama-4-maverick →

Call it

Served via OpenRouter, pinned to Google — the provider these prices are resolved from. Set OPENROUTER_API_KEY. Provider page.

curl https://openrouter.ai/api/v1/chat/completions \
  -H "Authorization: Bearer $OPENROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta-llama/llama-4-maverick",
    "messages": [{"role": "user", "content": "Hello"}],
    "provider": {"only": ["Google"], "allow_fallbacks": false}
  }'
from openai import OpenAI  # pip install openai

client = OpenAI(
    base_url="https://openrouter.ai/api/v1",
    api_key="...",  # OPENROUTER_API_KEY
)
resp = client.chat.completions.create(
    model="meta-llama/llama-4-maverick",
    messages=[{"role": "user", "content": "Hello"}],
    extra_body={"provider": {"only": ["Google"], "allow_fallbacks": false}},
)
print(resp.choices[0].message.content)

Price unchanged since 2026-09-03 — 1 point on record.

Use this data

Raw JSON for this page: llama-4-maverick.json. Free to reuse under CC BY 4.0 with attribution to apipriceindex.com.