Models / meta-llama/llama-4-maverick

Meta: Llama 4 Maverick

by meta-llama

Input price

$0.35 /1M tok

Output price

$1.00 /1M tok

Context length

524K tokens

JSON mode

Yes

Our tests and reviews

Model details

Model ID
meta-llama/llama-4-maverick
Provider
meta-llama
Modality
text+image->text
Supports response_format
Yes

Supported parameters

Parameter Type Description
modelstringModel identifier, e.g. meta-llama/llama-4-maverick
messagesarrayArray of message objects with role and content
temperaturenumberSampling temperature (0-2). Default varies by model.
max_tokensintegerMax tokens to generate
top_pnumberNucleus sampling (0-1)
streambooleanStream response via SSE
stopstring | arrayStop sequences
response_formatobjectSet to {"type": "json_object"} for guaranteed JSON output
See also: All meta-llama models · All models · Pricing comparison · Best models by task