Mistral AI: Ministral 8B

Coming soonQuick Start

Ministral 8B is Mistral AI's 8-billion-parameter model for edge and low-latency inference, released 2024-10. Its interleaved sliding-window attention speeds up generation and cuts memory use, and it outperforms peers in the sub-10B category on knowledge and reasoning tasks, suiting privacy-first applications.

This model is not routed on MirAPI yet — prices shown are the official list prices. Create an account to get notified when it goes live.

Modalities
inTextoutText
Price / 1M
$0.11 / $0.11
Context
128K
Knowledge cutoff
2024-09-30

Capabilities

Structured output

Showcase

Three fixed prompts, identical for every chat model. Outputs are archived verbatim — copy the prompt to reproduce.

Task prompt · identical for all models
Build a single-file HTML page using three.js from a CDN: a low-poly planet with a tilted ring of ~200 orbiting particles, a soft key light plus rim light, slow auto-rotation, and drag-to-orbit controls. No build tools — one file only.
Archived output
Archive not published yet

Every model will run this exact prompt; the output lands here verbatim, with tokens and per-run cost.

Quick Start

import os
from openai import OpenAI

client = OpenAI(
    base_url="https://api.mirapi.ai/v1",   # changed
    api_key=os.environ["MIRAPI_API_KEY"],   # changed
)

resp = client.chat.completions.create(
    model="mistralai/ministral-8b",
    messages=[{"role": "user", "content": "Hello"}],
)
Wire Ministral 8B into your product

1M free tokens to start · no card · OpenAI-compatible, one base_url change

Start free