Llama 4 Maverick API
meta-llama/llama-4-maverick
Call Llama 4 Maverick through UberLLM’s OpenAI-compatible API — routed automatically to the cheapest healthy provider. llama · 1,048,576 token context. No inference markup.
Llama 4 Maverick pricing & providers
Live marketplace pricing — be the first seller to route Llama 4 Maverick traffic.
How to use Llama 4 Maverick with the OpenAI SDK
Already using OpenAI or OpenRouter? Change one line — the base URL — and call Llama 4 Maverick with your existing code. Anthropic SDKs work against https://api.uberllm.dev/v1/messages.
from openai import OpenAI
client = OpenAI(
base_url="https://api.uberllm.dev/v1",
api_key="ull_your_key_here",
)
resp = client.chat.completions.create(
model="meta-llama/llama-4-maverick",
messages=[{"role": "user", "content": "Hello!"}],
)
print(resp.choices[0].message.content)Llama 4 Maverick API — FAQ
How much does the Llama 4 Maverick API cost?
Llama 4 Maverick is listed on UberLLM with live marketplace pricing across providers.
How do I call Llama 4 Maverick via API?
Use any OpenAI-compatible SDK: set the base URL to https://api.uberllm.dev/v1, your UberLLM API key, and model "meta-llama/llama-4-maverick". Anthropic SDKs work via https://api.uberllm.dev/v1/messages.
Is Llama 4 Maverick OpenAI-compatible on UberLLM?
Yes. Every model on UberLLM — including Llama 4 Maverick — is served through one OpenAI-compatible endpoint, so you change only the base URL and key.