API · Models
TextFeatured
GPT-5.4 Pro
GPT-5.4 Pro uses more compute to think harder and provide consistently better answers. It's designed to tackle tough problems.
Context 1.1M·Max out 128K
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/openai/gpt-5.4-pro'),
prompt: 'Why is the sky blue?',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}Specs & pricing
- Input $/M
- $30
- Output $/M
- $180
- Context window
- 1.1M
- Max output
- 128K
- Supported parameters
- tool-usereasoningvisionjson-modestreamingweb-search
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| GPT-5.5 Pro | Text | 1M | $30 |
| GPT-5.5 | Text | 1M | $5 |
| GPT-5.4 | Text | 1.1M | $2.50 |
| GPT-5.4 Nano | Text | 400K | $0.20 |
| GPT-5.3 Codex | Text | 400K | $1.75 |