Open-weights chat model from Meta. One API key reaches all 2 providers, with automatic failover.
No card required. Start with 1 million free tokens.
About Llama 4 Maverick
Llama 4 Maverick is an open-weights chat model published by Meta, with a 524,288-token context window. It scores 87 on AI IQ, ranked #166. Through TrustedRouter it runs on 2 providers, with options in the US, from $0.37 per million input tokens. One provider offers zero data retention.
- Model ID
meta-llama/llama-4-maverick- Publisher
- Meta
- Modes
- chat
- Billing
- Credits or your own provider key
Set it up with your agent
Paste this into Claude Code, Cursor or any coding agent.
Use Llama 4 Maverick through TrustedRouter in this project.
1. Read https://trustedrouter.com/llms.txt
2. Point the OpenAI-compatible client at
https://api.trustedrouter.com/v1 and read the key from
TRUSTEDROUTER_API_KEY.
3. Set the model to meta-llama/llama-4-maverick.
4. Run the tests, then show me the diff before committing.
import os
from openai import OpenAI
client = OpenAI(
base_url="https://api.trustedrouter.com/v1",
api_key=os.environ["TRUSTEDROUTER_API_KEY"],
)
response = client.chat.completions.create(
model="meta-llama/llama-4-maverick",
messages=[{"role": "user", "content": "What is the capital of France?"}],
)
print(response.choices[0].message.content)
curl https://api.trustedrouter.com/v1/chat/completions \
-H "Authorization: Bearer $TRUSTEDROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meta-llama/llama-4-maverick",
"messages": [{"role": "user", "content": "What is the capital of France?"}]
}'
Providers
Your key goes to the cheapest healthy provider and fails over on its own. Open a row for retention, location and weight format, or see how we check privacy claims and the live speed leaderboard.
| Provider | Input | Cached | Output | Cost per 1M in + out | Details |
|---|---|---|---|---|---|
|
|
$0.369 | $0.179 | $1.06 | $1.42 | |
|
Retention Zero data retention. Tracked as ZDR for serverless and dedicated inference. Parasail documents no storage or logging of submitted input on those service paths, retention only while generating and delivering output, and no training on input or output. Batch service is excluded from this claim; TrustedRouter does not route Parasail traffic through batch. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.36925/1M · Cached input $0.17935/1M · Output $1.055/1M TTFT: insufficient data Speed: insufficient data Last sample: |
|||||
|
|
$0.528 | — | $1.58 | $2.11 | |
|
Retention Verification: no verified privacy claim. Databricks Foundation Model APIs are a Designated Service and pay-per-token workloads are HIPAA compliant. Databricks may temporarily process or store inputs and outputs for abuse prevention, and may process data outside the originating cloud or region. This route is therefore standard privacy, not ZDR, confidential compute, or end-to-end encrypted. Location Operator country: US Headquarters / registered office: Not verified. Inference: Inference location not verified; no country-specific residency commitment. No inference-location declaration has been verified for this provider. Region pinning through TR: No verified provider-specific location pin documented here. Weight format Unknown Price and speed Input $0.5275/1M · Cached input Not published · Output $1.5825/1M TTFT: 1.35 s Speed: insufficient data Last sample: |
|||||
Append :nitro to the model ID, or send "provider": {"sort": "throughput"}, to route to the fastest provider instead.
Questions
What model ID should I use for Llama 4 Maverick?
Use meta-llama/llama-4-maverick as the model field with the TrustedRouter OpenAI-compatible API. Credits routing and provider fallback happen behind that model ID.
Do you log my prompts or outputs?
No. Prompt and output content are intentionally excluded from the control plane and metadata systems. Optional content export requires explicit destination-level configuration.
Which providers serve Llama 4 Maverick?
TrustedRouter currently lists Parasail, and Databricks for Llama 4 Maverick. Provider availability and routing eligibility can change as catalog and health data update.
How much does Llama 4 Maverick cost through TrustedRouter?
The current lowest Credits input price is $0.36925/1M and the lowest Credits output price is $1.055/1M. Prices are per one million tokens and come from the current route catalog.
How do I require zero data retention for Llama 4 Maverick?
Set provider.min_privacy to zdr on the request. TrustedRouter considers only routes with a recorded zero-data-retention posture and fails closed if no eligible route remains.
Llama 4 Maverick vs other models
Start building with Llama 4 Maverick.
No card required. Start with 1 million free tokens.
