API · Models
Text
MiniMax M2.5
MiniMax M2.5 is the latest model in the MiniMax M2 series, featuring enhanced reasoning, coding, and instruction-following capabilities.
Context 128K·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/minimax/minimax-m2.5'),
prompt: 'Why is the sky blue?',
});
for await (const chunk of result.textStream) {
process.stdout.write(chunk);
}Specs & pricing
- Input $/M
- 0.3
- Output $/M
- 1.20
- Context window
- 128K
- Max output
- 128K
- Supported parameters
- tool-use
Related models
| Model | Type | Context | Input $/M |
|---|---|---|---|
| MiniMax M2.7 | Text | 200K | 0.3 |
| 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 |