Skip to content

Meta

Llama 4 Maverick

An open general-purpose model.

meta-llama/llama-4-maverick
Input → Output
Text, images → Text/Text
Maximum input
200K tokens
Provider
1
Tool invocation
Yes

Price per million tokens

Input
388.8 credits
Output
1,571 credits

Provider

Several providers serve the same model. Performance is measured on actual AlpRouter requests over the last seven days, and uptime over the last three.

ProviderInput / 1MOutput / 1MCache readFirst tokenThroughputUptime
Amazon Bedrock388.8 credits1,571 credits----

Time to first token and throughput are medians (P50). Values are hidden for fewer than 10 requests.

Use the API

from openai import OpenAI

client = OpenAI(
    base_url="https://alprouter.com/api/v1",
    api_key="alp-your-key",
)

answer = client.chat.completions.create(
    model="meta-llama/llama-4-maverick",
    messages=[{"role": "user", "content": "Hello"}],
)
print(answer.choices[0].message.content)

Details

Maximum input
200K tokens
Maximum output
8.2K tokens
Tool invocation
Supported
Supported input
Text, images
Output
Text/Text
Provider
Amazon Bedrock
Supported parameters
max_completion_tokens, max_tokens, stop, stream, temperature, tool_choice, tools, top_p

Frequently asked questions

What kind of model is Llama 4 Maverick?

A model from Meta. An open general-purpose model. Model ID on AlpRouter: meta-llama/llama-4-maverick

How much does Llama 4 Maverick cost?

Per million tokens: 388.8 credits input, 1,571 credits output. One credit equals ₩1. Only usage is deducted from your balance. There is no monthly subscription.

How much input does Llama 4 Maverick accept?

Each request accepts up to 200K tokens. The maximum output is 8.2K tokens.

What input and output does Llama 4 Maverick support?

Send Text, images to receive Text/Text.

Does Llama 4 Maverick support tool calling and structured JSON?

Tool calling: Supported. Structured output (response_format): Unsupported.

Which providers handle Llama 4 Maverick requests?

Amazon Bedrock handles these requests.

How do I call Llama 4 Maverick from code?

Just replace the base_url in the OpenAI SDK with https://alprouter.com/api/v1. Also, specify the name of the model in the model field (meta-llama/llama-4-maverick). There’s an example of how to do this in the “Using the API” section above.