Anthropic
llama-4-maverick
meta-llama/llama-4-maverick
Price per million tokens
- Input
- $0.253
- Output
- $1.013
- Cache write
- not offered
- Cache read
- not offered
What you pay. It is what the tokens cost us to buy plus 20%, and your usage page shows what we paid beside what you paid on every request you send.
Limits
- Context window
- 1,048,576 tokens
- Max output
- 16,384 tokens
- Images
- supported
What it costs to run
| Workload | Input | Output | Cost | Per 1,000 calls |
|---|---|---|---|---|
| Short chat turn | 1,000 | 500 | $0.0008 | $0.76 |
| Long document summary | 50,000 | 2,000 | $0.0147 | $14.69 |
| Agent step with tools | 20,000 | 1,500 | $0.0066 | $6.58 |
| 1M in, 1M out | 1,000,000 | 1,000,000 | $1.2660 | $1266.00 |
Calling it
const res = await client.chat.completions.create({ model: "meta-llama/llama-4-maverick", messages: [{ role: "user", content: "Hello" }], });