Speed
Output tokens / second
Custom pricing for production workloads
Small 3 on AIMLAPI.
mistralai/mistral-small-24b-instruct-2501https://api.aimlapi.com/v1Coding and code review
Generate, debug, and review code across languages, reading whole files or repos in a single prompt.
Agentic and multi-step workflows
Reliable tool-calling and instruction-following suit agent loops that plan, call tools, and iterate.
Complex reasoning
Extended reasoning improves reliability on multi-step math, logic, and technical analysis.
Long-document analysis
Summarize and extract from contracts, papers, and reports without aggressive chunking.
Fast-response conversational agents are a documented fit for this model, especially where quick, accurate replies and near real-time interaction matter.
Low-latency function calling is another stated use case, including automated or agentic workflows that need rapid tool execution.
Subject matter experts via fine-tuning are explicitly called out as a use case, with the model intended to be specialized for domains like legal advice, medical diagnostics, and technical support.
Local inference is also documented as a use case, particularly for hobbyists and organizations handling sensitive or proprietary information.
See how Small 3 compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 13 models available on AI/ML API across 5 independent benchmarks.
Expert-written questions across academic subjects.
Graduate-level science questions written to resist web search.
Reasoning across long documents of about 100k tokens.
Following precise instructions about the shape of the answer.
Customer support agent tasks with tool calls.
| Usage | Price | Unit |
|---|---|---|
| Input | $0.0529 | 1M tokens |
| Output | $0.0846 | 1M tokens |
Prices from the AI/ML API price list, checked on Nov 4, 2026.
AI/ML API input and output rates for 5 models, per million tokens.
| Model | Input | Output |
|---|---|---|
| $0.0529 | $0.0846 | |
| $0.105 | $0.105 | |
| $0.1984 | $0.7935 | |
| $1.36 | $4.18 | |
| $1.59 | $7.93 |
Give your agent the model details, code and documentation.
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"curl 'https://api.aimlapi.com/v1/chat/completions' \
-H "Authorization: Bearer $AIMLAPI_KEY" \
-H 'Content-Type: application/json' \
-d '{
"model": "mistralai/mistral-small-24b-instruct-2501",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}'import os
import requests
headers = {
"Authorization": f"Bearer {os.environ['AIMLAPI_KEY']}",
"Content-Type": "application/json",
}
payload = {
"model": "mistralai/mistral-small-24b-instruct-2501",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}
response = requests.post("https://api.aimlapi.com/v1/chat/completions", headers=headers, json=payload, timeout=120)
response.raise_for_status()
print(response.json())const response = await fetch("https://api.aimlapi.com/v1/chat/completions", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.AIMLAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"model": "mistralai/mistral-small-24b-instruct-2501",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Small 3 has a 32,768 tokens context window and can return up to 16,384 tokens.
Small 3 takes image, text as input and returns text.
Use mistralai/mistral-small-24b-instruct-2501 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Small 3 costs $0.0529 input and $0.0846 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Small 3 can stream responses as they are generated.
Yes, Small 3 accepts image input alongside text.
Small 3 was built by Mistral AI.
Yes, Small 3 supports function calling as well as parallel tool calls.