Back to Models

Llama 4 Maverick

metameta/llama-4-maverick

How TheRouter serves this differently from the vendor

As the vendor operates it

Meta releases Llama 4 Maverick as open weights for self-hosting and also references it as a Meta AI model. Operators can run the BF16 or FP8 checkpoints directly under the Llama 4 Community License.

On TheRouter

TheRouter serves the model as an OpenAI-compatible chat and vision endpoint at api.therouter.ai/v1. It does not expose Meta's raw checkpoints, self-hosting controls, training-time safety stack, or any Meta AI consumer-product surface.

API guide

Chat completion

Standard OpenAI-compatible chat endpoint. Switch only the baseURL and model name β€” no SDK changes required.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta/llama-4-maverick",
    "messages": [{"role": "user", "content": "Hello"}]
  }'

Vision / image input

Pass up to 5 images per request using the standard OpenAI vision message format. Both URL and base64 data URI inputs are supported.

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "meta/llama-4-maverick",
    "messages": [{
      "role": "user",
      "content": [
        {"type": "text", "text": "What is in this image?"},
        {"type": "image_url", "image_url": {"url": "https://therouter.ai/assets/vision-sample.png"}}
      ]
    }]
  }'
Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release datehuggingface.co β†—2026-06-10verified
Architectureai.meta.com β†—2026-06-10verified
Total parametershuggingface.co β†—2026-06-10verified
Active parameters per forward passai.meta.com β†—2026-06-10verified
Context windowhuggingface.co β†—2026-06-10verified
Training token counthuggingface.co β†—2026-06-10verified
Knowledge cutoffhuggingface.co β†—2026-06-10verified
Supported languageshuggingface.co β†—2026-06-10verified
Licensegithub.com/meta-llama β†—2026-06-10verified
Multimodal input supporthuggingface.co β†—2026-06-10verified
MMLUgithub.com/meta-llama β†—2026-08-09verified
MMLU Progithub.com/meta-llama β†—2026-08-09verified
GPQA Diamondgithub.com/meta-llama β†—2026-08-09verified
MATHgithub.com/meta-llama β†—2026-08-09verified
MMMUgithub.com/meta-llama β†—2026-08-09verified
MathVistagithub.com/meta-llama β†—2026-08-09verified
ChartQAgithub.com/meta-llama β†—2026-08-09verified
MBPPgithub.com/meta-llama β†—2026-08-09verified
Meta releases Llama 4 Maverick and Scout β€” open multimodal MoE herdai.meta.com β†—2026-06-10verified
What is the difference between Llama 4 Maverick and Llama 4 Scout?huggingface.co β†—2026-06-10to verify
Can I self-host Llama 4 Maverick?github.com/meta-llama β†—2026-06-10to verify
How many images can I send per API request?huggingface.co β†—2026-06-10to verify
Help & contact