Mistral AI

Devstral Medium

由 GetInfoUs 研究团队审核最后审核日期:October 2026编辑政策
52
Intelligence Index

Mistral AI 推出的 Devstral Medium 人工智能模型,具备 128K 上下文窗口,输入价格为 $0.8/百万 Token,输出价格为 $2.4/百万 Token,专为高质量生产环境、推理与自动化工作流打造。

Technical Specifications

Provider
Mistral AI
Category
flagship
Release Date
2025-07
Knowledge Cutoff
May 2025
Architecture
High-Capacity Agentic Code Transformer
Parameters
Confidential (~70B)
Context Window
128K tokens
Max Output
33K tokens
Cached Input Price
$0.2 / 1M tokens
Batch API Discount
50% off async batch
Consumer Subscription
API Pay-as-you-go
Reasoning Mode
Yes (Chain-of-Thought)
Reasoning Effort Control
Configurable (Low / Med / High)
Tool Calling
Yes
Structured Outputs
Yes
Open Weights
No (Proprietary Cloud)
Input Modalities
text
Output Modalities
text
Official Documentation
Visit Official Docs ↗

Data Privacy, Licensing & Deployment Governance

API Data Training Policy
API payloads are excluded from model training by default
Model License & Commercial Rights
Proprietary Commercial API (Mistral AI Terms)
Deployment & Cloud Availability
Mistral AI Cloud API & Enterprise Endpoints
Output Ownership
Full commercial ownership of generated outputs

Official Provider Release Intelligence, API Quotas & Agentic Specs

Compare Multi-Models Side-by-Side →
Official API Model ID (SDK String)
devstral-medium-latest
Supported SDK & API Protocol
Mistral AI REST API (OpenAI-Compatible)
Lifecycle & Deprecation Status
Active GA (Guaranteed support through 2027+)
Production Rate Limits (RPM & TPM)
5,000 – 15,000 RPM (Production Tier) · 800,000 – 2,000,000 TPM
Long-Context Pricing Tier (>128K / >200K)
Flat rate ($0.8/1M in) across full 128K window
Prompt Cache Write & TTL Policy
Cached input at $0.2/1M tokens
Computer Use & Browser GUI Agent
API / CLI Tool-Use & DOM Agent ready (no raw pixel desktop click loop)
MCP & Parallel Tool Calling
Native MCP Client/Server ready · Parallel function calling · 100% Strict JSON Schema
Web Search Grounding & Code Sandbox
Supported via external Tavily/Exa Search & E2B/Docker Sandbox tools
Fine-Tuning & Distillation Support
API Prompt Engineering & RAG Distillation
Multimodal Tokenization Billing
Text BPE (~4 chars/token)
Weights Precision & Quantization
Cloud-Hosted Proprietary (FP8 / BF16 Tensor Core Cluster)
Minimum GPU VRAM Requirement
Zero Local VRAM Required (100% Serverless Cloud API)
Supported Inference Engines
Managed Mistral AI Cloud API
System Card & Safety Framework
Mistral AI Production Safety & Alignment Verified
Enterprise Compliance (SOC2 / HIPAA / ZDR)
SOC2 Type II · GDPR · Zero Data Retention (ZDR) & HIPAA BAA Available on Enterprise Tier
Engineering & Pricing Workbench

Devstral Medium Cost, Context, Hardware & API Integration

500 / day
4,000 tok
1,000 tok
Conversation Depth (History Re-billing):1 Turn (Single-Shot)
50%
Estimated Monthly API Cost (30 Days)
$66.00$84.00
Monthly Savings: $18.00 (Caching/Batch)
Subscription ($20/mo) vs API

For single-user chat, a $20/mo subscription caps your bill below this API volume.

Break-even point: ~152 requests/day equals $20/month.

Same Monthly Workload Cost Across Popular Reference Models

Devstral Medium (Active)
$66.00
/ month
Gemini 2.5 Flash
$18.00
/ month
DeepSeek V3
$32.70
/ month
GPT-4o
$300.00
/ month
Claude 3.7 Sonnet
$405.00
/ month

Live Prompt Paste Tokenizer & Cost Counter

Paste real system instructions, JSON schemas, or code to measure BPE token counts across tokenizers.

Chars / Words
175 / 24
OpenAI o200k
~46 tok
Claude BPE
~49 tok
Llama / DeepSeek
~51 tok

Hybrid Prompt Routing Cascade Simulator

Route routine queries to a fast lightweight model ($0.15/1M) and escalate only complex reasoning turns to Devstral Medium:

Cascaded Monthly Bill:$30.00/mo
Saves $36.00/mo (55% cost reduction) vs sending 100% of traffic to Devstral Medium.

Benchmark Scores & 6-Axis Capability Radar

Benchmark Encyclopedia
Coding (59)Reasoning (71)Knowledge (81)Speed (50)Context (75)Cost Value (84)
Devstral Medium2026 Frontier Median
SWE-bench Verified
51.5%
GPQA Diamond
62%
MMLU-Pro
80.5%
HumanEval
92.4%
Terminal-Bench
45%
AIME
72%
Long-Context Reasoning
78%
Chatbot Arena Elo
1330pts

Strengths

  • 由 Mistral AI 研发的高精度 High-Capacity Agentic Code Transformer 架构,支持 128K 上下文窗口
  • 极具竞争力的 API 定价(输入 $0.8/1M,输出 $2.4/1M),支持高速推理与工具调用
  • 在代码生成、逻辑推理与多语言处理基准测试中表现出色

Limitations & Trade-offs

  • 超长上下文请求需要规划 Token 成本与并发配额
  • 针对特定垂直领域任务建议结合系统提示词与检索增强(RAG)以获得最佳效果

Editorial Assessment

Devstral Medium 是 Mistral AI 旗下极具代表性的模型,在性能、速度与 API 成本之间实现了卓越平衡。

Best for: 企业级 AI 自动化、代码研发、智能体(Agent)工作流以及 Mistral AI 生态深度集成

Frequently Asked Questions about Devstral Medium

How much does the Devstral Medium API cost per 1M tokens?+

Devstral Medium by Mistral AI is priced at $0.8 per 1M input tokens and $2.4 per 1M output tokens. With prompt caching enabled, cached input tokens cost $0.2 per 1M tokens, and asynchronous Batch API requests receive a 50% discount.

Should I use a $20/month subscription or the Devstral Medium pay-as-you-go API?+

A flat $20/month consumer subscription is predictable for daily interactive chat and manual coding. However, if you are building software, running automated workflows, or sending low-to-moderate volume with prompt caching enabled, the pay-as-you-go API is typically far more cost-effective and offers higher rate limits without manual UI caps.

How many words and pages fit in Devstral Medium's context window?+

Devstral Medium features a 128K tokens context window, which equals approximately 96,000 English words or ~256 standard single-spaced pages in a single prompt. Its maximum output generation per turn is 32,768 tokens.

Can I run Devstral Medium locally on my own GPU (Open Weights)?+

No, Devstral Medium is a proprietary closed-weights model hosted by Mistral AI. It cannot be downloaded for local GPU execution and must be accessed via Mistral AI's official API or cloud platform.

Does Mistral AI train on data sent to the Devstral Medium API, and is commercial use allowed?+

API payloads are excluded from model training by default. License tier: Proprietary Commercial API (Mistral AI Terms). Full commercial ownership of generated outputs. Supported deployment channels include: Mistral AI Cloud API & Enterprise Endpoints.

How does Devstral Medium perform on coding and reasoning benchmarks?+

Devstral Medium achieves a composite Intelligence Index of 52/100, scoring 51.5% on SWE-bench Verified, 62% on GPQA Diamond, 80.5% on MMLU-Pro, and 1330 pts on Chatbot Arena Elo.

What is Devstral Medium best used for?+

Devstral Medium is best suited for: 企业级 AI 自动化、代码研发、智能体(Agent)工作流以及 Mistral AI 生态深度集成. Assessment: Devstral Medium 是 Mistral AI 旗下极具代表性的模型,在性能、速度与 API 成本之间实现了卓越平衡。

AI Glossary & Architecture Concepts

View full glossary →

Key machine learning concepts and benchmarks relevant to Devstral Medium:

Benchmark scores, token prices, and rate limits evolve rapidly as AI labs release model updates. Always verify current specifications and pricing on the official provider documentation.

数据来源: Mistral AI Agent Suite (July 2025)↗