API · Models
Text

Llama 4 Maverick 17B Instruct

As a general purpose LLM, Llama 4 Maverick contains 17 billion active parameters, 128 experts, and 400 billion total parameters, offering high quality at a lower price compared to Llama 3.3 70B.

ToolsVision
Context 128K·Max out 8.2K

Quickstart

import { streamText } from 'ai';
import { createOpenAICompatible } from '@ai-sdk/openai-compatible';

const blackbox = createOpenAICompatible({
  name: 'blackbox',
  apiKey: process.env.BLACKBOX_API_KEY!,
  baseURL: 'https://api.blackbox.ai/v1',
});

const result = streamText({
  model: blackbox('blackboxai/meta/llama-4-maverick'),
  prompt: 'Why is the sky blue?',
});

for await (const chunk of result.textStream) {
  process.stdout.write(chunk);
}

Specs & pricing

Input $/M
0.24
Output $/M
0.97
Context window
128K
Max output
8.2K
Supported parameters

Related models

ModelTypeContextInput $/M
Llama 3.1 70BText131.1K0.72
Llama 3.1 8BText131.1K0.22
Llama 3.2 3BText131.1K0.15
Llama 3.2 1BText131.1K0.1
Llama 3.3 70B InstructText128K0.72