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
| Model | Type | Context | Input $/M |
|---|---|---|---|
| Llama 3.1 70B | Text | 131.1K | 0.72 |
| Llama 3.1 8B | Text | 131.1K | 0.22 |
| Llama 3.2 3B | Text | 131.1K | 0.15 |
| Llama 3.2 1B | Text | 131.1K | 0.1 |
| Llama 3.3 70B Instruct | Text | 128K | 0.72 |