Speed
Output tokens / second
Custom pricing for production workloads
Medium 3 on AIMLAPI.
mistralai/mistral-medium-3https://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.
Mistral Medium 3 is documented as suited to coding and debugging, including professional programming work. It is also suited to multimodal understanding and visual tasks such as image captioning, image-to-text transcription, and other visual input processing. The model is documented for long-document understanding and summarization, including tasks that require reading and reasoning over lengthy documents. It is also suited to function calling and agentic workflows, including multi-step automation and enterprise assistant use cases.
See how Medium 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.4232 | 1M tokens |
| Output | $2.12 | 1M tokens |
| Cached input | $0.0423 | 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.4232 | $2.12 | |
| $0.1984 | $0.7935 | |
| $0.2645 | $2.12 | |
| $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-medium-3",
"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-medium-3",
"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-medium-3",
"messages": [
{
"role": "user",
"content": "Write a haiku about the ocean."
}
]
}),
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());Medium 3 has a 131,072 tokens context window.
Medium 3 takes image, text as input and returns text.
Use mistralai/mistral-medium-3 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Medium 3 costs $0.4232 input and $2.12 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Medium 3 can stream responses as they are generated.
Yes, Medium 3 accepts image input alongside text.
Medium 3 was built by Mistral AI.
Yes, Medium 3 includes reasoning as one of its listed capabilities.
Yes, Medium 3 supports function calling, tools, and parallel tool calls.