Medium 3.5 API

Medium 3.5 on AIMLAPI.

Modalities
Image, TextText
In / Out price
$1.59/$7.93per 1M
Context window
256K tokens
Released
Apr 30, 2026

Medium 3.5 overview

The pelican test: one prompt, every text model, unedited SVG output from Nov 3, 2026.

SVG of a pelican riding a bicycle, written by Medium 3.5 through AI/ML API

Medium 3.5 specs

Model ID
mistralai/mistral-medium-3-5
Developer
Mistral AI
Context window
262,144 tokens
Input
Image, Text
Output
Text
API
OpenAI-compatible, base URL https://api.aimlapi.com/v1

Coding 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.

Use cases

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.

Capabilities

  • Function calling
  • Reasoning
  • Streaming
  • Structured outputs
  • Web search

Medium 3.5 benchmarks by Artificial Analysis

See how Medium 3.5 compares in generation speed and latency. Data retrieved Nov 3, 2026.

Speed

Output tokens / second

Benchmark results

Compare 17 models available on AI/ML API across 5 independent benchmarks.

Humanity's Last Exam

Expert-written questions across academic subjects.

Medium 3.5 API pricing

Medium 3.5 pricing in US dollars
UsagePriceUnit
Input$1.591M tokens
Output$7.931M tokens

Prices from the AI/ML API price list, checked on Nov 4, 2026.

Medium 3.5 vs other models: token prices

AI/ML API input and output rates for 5 models, per million tokens.

AI/ML API model prices in USD per million tokens
ModelInputOutput
Medium 3.5$1.59$7.93
Small 4$0.1984$0.7935
Devstral 2 2512$0.4655$2.33
Mistral Large 4$1.36$4.18
Pareto$2.65$7.93

How to use the Medium 3.5 API

View docs

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'

Related articles

All posts

Medium 3.5 FAQ

What is the context window of Medium 3.5?

Medium 3.5 has a 262,144 tokens context window.

What inputs and outputs does Medium 3.5 support?

Medium 3.5 takes image, text as input and returns text.

What is the model ID for Medium 3.5?

Use mistralai/mistral-medium-3-5 as the model id. Requests go to https://api.aimlapi.com/v1/chat/completions.

How much does Medium 3.5 cost?

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.

Does Medium 3.5 support streaming?

Yes, Medium 3.5 can stream responses as they are generated.

Can Medium 3.5 read images?

Yes, Medium 3.5 accepts image input alongside text.

Who created Medium 3.5?

Medium 3.5 was built by Mistral AI.

Does Medium 3.5 support tool calling for agent-style tasks?

Yes, it supports function calling, tool use, and parallel tool calls, making it suitable for agentic workflows.

Can Medium 3.5 perform web searches or structured reasoning?

Yes, it includes web search and reasoning capabilities alongside structured output support.

Start building with Medium 3.5

Medium 3.5 API

mistralai/mistral-medium-3-5

Build with your agent

Give your agent the model details, code and documentation.

1Get your API key

Create API key
export AIMLAPI_KEY="8f2b4c7d9a1e6b3f…"

2Make your first request

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."
    }
  ]
}'