Llama 4 Maverick API

meta-llama/llama-4-maverick

Use Llama 4 Maverick by Meta through the Solo Router API: 128K-token context and streaming. $0.325 per million input tokens and $1.131 per million output tokens, billed from prepaid credit.

Input
$0.325
per 1M tokens
Output
$1.131
per 1M tokens
Cached input
$0.065
per 1M tokens
Context window
128K
tokens

Example request

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

Frequently asked questions

How much does the Llama 4 Maverick API cost?

$0.325 per million input tokens and $1.131 per million output tokens, and $0.065 per million cached input tokens. You pay from prepaid credit with no monthly fee.

How do I get Llama 4 Maverick API access?

Sign in to Solo Router with Google, create an API key and set "model": "meta-llama/llama-4-maverick" in a chat-completions request to https://solorouter.ai/api/v1.

What is the context window of Llama 4 Maverick?

128,000 tokens.

Get your API key in 30 seconds

Sign in with Google. New accounts get free credit (one per person) to try the models.

Get started free