API · Models
Text

Ministral 3B

Ministral 3B is Mistral's ultra-compact model with a 128K context window, optimized for edge deployment and high-throughput low-latency tasks.

Context 131.1K·Max out 131.1K

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/mistral/ministral-3b'),
  prompt: 'Why is the sky blue?',
});

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

Specs & pricing

Input $/M
0.1
Output $/M
0.1
Context window
131.1K
Max output
131.1K
Supported parameters
tool-usejson-modestreaming

Related models

ModelTypeContextInput $/M
Ministral 8BText262.1K0.15
Mistral Medium 3.5Text262.1K1.50
Devstral 2Text256K0.4
CodestralText256K0.3
Mistral SmallText128K0.075