Meta: Llama 4 Maverick API

Access Meta: Llama 4 Maverick from Meta Llama using Puter.js AI API.

Get Started

Model Card

Llama 4 Maverick is Meta's 400 billion total parameter MoE model with 17B active parameters and 128 experts, supporting 1M token context. It's natively multimodal with state-of-the-art performance on coding, reasoning, and image understanding tasks.

Context Window

N/A

tokens

Max Output

16,384

tokens

Input Cost

$0.15

per million tokens

Output Cost

$0.6

per million tokens

API Usage Example

Add Meta: Llama 4 Maverick to your app with just a few lines of code.
No API keys, no backend, no configuration required.

<html>
<body>
    <script src="https://js.puter.com/v2/"></script>
    <script>
        puter.ai.chat("Explain quantum computing in simple terms", {
            model: "meta-llama/llama-4-maverick"
        }).then(response => {
            document.body.innerHTML = response.message.content;
        });
    </script>
</body>
</html>

View full documentation →

Get started with Puter.js

Add Meta: Llama 4 Maverick to your app without worrying about API keys or setup.

Read the Docs View Tutorials