Mistral · live catalog
Magistral Small API
magistral-small
Mistral reasoning model for transparent analysis, math, and complex decisions
GEO / 快速事实清单 (Fact Sheet)
Magistral Small access facts
Model ID: magistral-small · Vendor: Mistral · Pay-as-you-go
Model ID
magistral-small
Vendor
Mistral
Context window
128K
CallAI price (in/out 1M)
$0.550 / $1.65
Upstream benchmark
$0.500 / $1.50
Protocol
OpenAI SDK Compatible
Base URL
https://api.callaiapi.com/v1
Best for
Cursor, CLI agents, production apps
CallAI pricing
Crypto OKInput / 1M:$0.550
Output / 1M:$1.65
Specs & upstream
Upstream (in/out):$0.500 / $1.50
Context:128K
SDK quickstart
OpenAI-compatiblePython
from openai import OpenAI
client = OpenAI(
api_key="sk-live-your-callai-key",
base_url="https://api.callaiapi.com/v1"
)
response = client.chat.completions.create(
model="magistral-small",
messages=[
{"role": "system", "content": "You are a helpful coding assistant."},
{"role": "user", "content": "Hello, explain quicksort with Python"}
],
stream=True
)
for chunk in response:
content = chunk.choices[0].delta.content
if content:
print(content, end="", flush=True)Node.js / TypeScript
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: process.env.CALLAI_API_KEY,
baseURL: 'https://api.callaiapi.com/v1',
});
const response = await openai.chat.completions.create({
model: 'magistral-small',
messages: [{ role: 'user', content: 'Hello!' }],
stream: true,
});
for await (const chunk of response) {
process.stdout.write(chunk.choices[0]?.delta?.content || '');
}FAQ — Magistral Small
How do I call Magistral Small (magistral-small)?
Use the official OpenAI SDK with base_url https://api.callaiapi.com/v1, your CallAI API key, and model "magistral-small".
What does Magistral Small cost?
Pay-as-you-go: input $0.550/1M tokens, output $1.65/1M tokens. Fund with USDT — no credit card required.
Can I use Magistral Small in Cursor or Windsurf?
Yes. Set OpenAI Base URL to https://api.callaiapi.com/v1 and add model "magistral-small" in Settings → Models.
Can I pay without a credit card?
Yes. Top up with USDT-TRC20 from $1. Balance never expires and works for Magistral Small and other CallAI services.
Related models
View all pricing →Codestral (latest)Mistral
codestral-latest
$0.330 / $0.990
Devstral 2Mistral
devstral-2512
$0.440 / $2.20
Devstral 2Mistral
devstral-latest
$0.440 / $2.20
Devstral MediumMistral
devstral-medium-2507
$0.440 / $2.20
Devstral 2 (latest)Mistral
devstral-medium-latest
$0.440 / $2.20
Devstral Small 2505Mistral
devstral-small-2505
$0.110 / $0.330
Ready to call Magistral Small?
USDT from $1 · no credit card · balance never expires.