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.10
Output $/M
$0.10
Context window
131.1K
Max output
131.1K
Supported parameters
tool-usejson-modestreaming

Related models

ModelTypeContextInput $/M
Ministral 8BText262.1K$0.15
Devstral 2Text256K$0.40
Pixtral LargeText131.1K$2
Mistral SmallText128K$0.07
Pixtral 12BText131.1K$0.15