API · Models
Text
DeepSeek V4 Pro
DeepSeek V4 Pro is DeepSeek's most capable model with a 1M token context window, delivering frontier performance on reasoning, coding, and math.
Context 1M·Max out 384K
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/deepseek/deepseek-v4-pro'),
prompt: 'Why is the sky blue?',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}Specs & pricing
- Input $/M
- 0.435
- Output $/M
- 0.87
- Context window
- 1M
- Max output
- 384K
- Supported parameters
- tool-usereasoningjson-modestreaming
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| DeepSeek V4 Flash | Text | 1.0M | 0.089 |
| NVIDIA: Nemotron 3 Ultra | Text | 1M | 0.5 |
| Kimi K2.7 Code | Text | 262.1K | 0.74 |
| GLM 5.2 | Text | 1.0M | 0.93 |
| Gemma 4 31B | Text | 262.1K | 0.12 |