Speed
Output tokens / second
Custom pricing for production workloads
Medium 3.5 on AIMLAPI.
mistralai/mistral-medium-3-5https://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.
Agentic workflows with connectors are listed as a use case for Mistral Medium 3.5, including work that coordinates multiple tools and connected services.
Cloud and local async coding is another documented use case, reflecting suitability for coding tasks that run across environments and can be handled asynchronously.
Document parsing, including multimodal text-and-image input, is also explicitly listed, making the model suited to extracting and interpreting information from documents and screenshots.
Research assistants are named as a use case as well, covering tasks that gather, synthesize, and structure information for exploratory work.
See how Medium 3.5 compares in generation speed and latency. Data retrieved Nov 3, 2026.
Output tokens / second
Compare 17 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.
Agentic tasks completed in a command-line environment.
Reasoning across long documents of about 100k tokens.
Python coding tasks drawn from scientific research.
| Usage | Price | Unit |
|---|---|---|
| Input | $1.59 | 1M tokens |
| Output | $7.93 | 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 |
|---|---|---|
| $1.59 | $7.93 | |
| $0.1984 | $0.7935 | |
| $0.4655 | $2.33 | |
| $1.36 | $4.18 | |
| $2.65 | $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-5",
"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-5",
"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-5",
"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.5 has a 262,144 tokens context window.
Medium 3.5 takes image, text as input and returns text.
Use mistralai/mistral-medium-3-5 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.
Medium 3.5 costs $1.59 input and $7.93 output per 1M tokens on AI/ML API, billed as you go with no subscription.
Yes, Medium 3.5 can stream responses as they are generated.
Yes, Medium 3.5 accepts image input alongside text.
Medium 3.5 was built by Mistral AI.
Yes, it supports function calling, tool use, and parallel tool calls, making it suitable for agentic workflows.
Yes, it includes web search and reasoning capabilities alongside structured output support.