Mistral: Mistral Medium 3.1: AI model
Mistral Medium 3.1 is an enterprise-grade multimodal model for coding and STEM reasoning at low cost, with a 131K context and text/image/file input. Reachable from inside Iran through Hormouz.
- Context window:
- 131,072 tokens
- Input:
- $0.4/1M tokens
- Output:
- $2/1M tokens
- Type:
- text, image
- Vision
- Tools
- Streaming
- Long context
Mistral Medium 3.1 is an updated enterprise-grade model that aims for frontier-level capability at a much lower operational cost. It balances strong reasoning and multimodal performance and is positioned for scalable deployments across professional and industrial use cases.
It is particularly capable at coding, STEM reasoning and enterprise adaptation, accepts text, image and file input, and supports tool calling and structured output. Its 131K-token context and hybrid/on-prem deployment story make it a practical workhorse for custom workflows.
Pricing is usage-based: $0.4 per million input tokens and $2 per million output tokens. Hormouz provides stable access to Mistral Medium 3.1 from inside Iran, with no foreign credit card or circumvention tooling required.
Mistral Medium 3.1 is an updated version of Mistral Medium 3, which is a high-performance enterprise-grade language model designed to deliver frontier-level capabilities at significantly reduced operational cost. It balances...
Quickstart
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/mistral-medium-3.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'Specs
| Vendor | Mistral AI |
|---|---|
| Type | Text, Image |
| Context window | 131,072 tokens |
| Pricing | $0.40/M in · $2.00/M out |
| API | Chat Completions |
| Capabilities | Streaming · Vision · Tools |
Benchmarks
Reasoning
Coding
Agentic
Source: Artificial Analysis
Design Arena
How Design Arena works ↗Metrics sourced from Design Arena
Code example
curl https://api.hormouz.net/v1/chat/completions \
-H "Authorization: Bearer ng-YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/mistral-medium-3.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(api_key="ng-YOUR_API_KEY", base_url="https://api.hormouz.net/v1")
response = client.chat.completions.create(
model="mistralai/mistral-medium-3.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ apiKey: "ng-YOUR_API_KEY", baseURL: "https://api.hormouz.net/v1" });
const response = await client.chat.completions.create({
model: "mistralai/mistral-medium-3.1",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);Buy the Mistral: Mistral Medium 3.1 API, paid in rial
- Buy credit with an Iranian bank card; no foreign card or account needed.
- One Hormouz key reaches Mistral: Mistral Medium 3.1 and 600+ other models, and you pay only for what you use.
- No VPN and no risk of a banned account; just change the base URL to api.hormouz.net/v1.
Use via Hormouz
Connect to this model and 600+ others with one API key, then see usage down to each request.
Request company accessFAQ
- How much does Mistral Medium 3.1 cost?
- Billing is usage-based: $0.4 per million input tokens and $2 per million output tokens. There is no fixed monthly fee. You pay only for what you use, at the rates shown in the Hormouz dashboard.
- How do I access Mistral Medium 3.1 from inside Iran?
- Create an account on Hormouz and generate an API key. Hormouz provides a stable path to Mistral Medium 3.1 from inside Iran, with no foreign credit card or circumvention tooling required.
- Is Mistral Medium 3.1 compatible with OpenAI code?
- Yes. Hormouz exposes an OpenAI-compatible API. Just change the base URL to Hormouz and swap in your Hormouz key. Your existing OpenAI SDKs and code run without a rewrite.
- What is Mistral Medium 3.1 best at?
- It targets enterprise use with strong coding and STEM reasoning at low cost. It accepts text, image and file input, supports tool calling and structured output, and has a 131K-token context for larger workflows.
Updated 2026-10-13