Devstral Medium
Devstral Medium is a high-performance code generation and agentic reasoning model developed jointly by Mistral AI and All Hands AI. Positioned as a step up from Devstral Small, it achieves 61.6% on SWE-Bench Verified, placing it ahead of Gemini 2.5 Pro and GPT-4.1 in code-related tasks, at a fraction of the cost. It is designed for generalization across prompt styles and tool use in code agents and frameworks. Devstral Medium is available via API only (not open-weight), and supports enterprise deployment on private infrastructure, with optional fine-tuning capabilities.
定价信息
💱 匯率 USD/NTD = 32.34 · 不含稅 · 更新於 2026/07/22
技术规格
快速开始
只需更改 base_url 即可通过 BazaarLink API 使用 Devstral Medium:
from openai import OpenAI
client = OpenAI(
base_url="https://bazaarlink.ai/api/v1",
api_key="sk-bl-YOUR_API_KEY",
)
response = client.chat.completions.create(
model="devstral-medium",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://bazaarlink.ai/api/v1",
apiKey: "sk-bl-YOUR_API_KEY",
});
const response = await client.chat.completions.create({
model: "devstral-medium",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(response.choices[0].message.content);为什么通过 BazaarLink 使用 Devstral Medium?
- ✓台币计费 + 统一发票 — 台湾团队无需海外刷卡
- ✓OpenAI 兼容 API — 无需改写代码
- ✓自动故障转移 — 同模型多供应商备援
- ✓中文客服支持 — 本地团队即时协助
常见问题
在中国大陆可以直接调用 Devstral Medium API 吗?
可以。BazaarLink 提供与 OpenAI 完全兼容的接口,国内网络可直接调用 Devstral Medium,稳定可用、无地区限制。
调用 Devstral Medium API 支持支付宝、微信、银联付款吗?
支持。可使用支付宝、微信支付及银联卡充值,无需海外信用卡。
Devstral Medium 的 API 价格怎么算?
Devstral Medium 通过 BazaarLink 调用时,输入每 1K tokens $0.4000 美元、输出每 1K tokens $2.0000 美元,按供应商原价计费、本站不加价。
怎么用 OpenAI SDK 调用 Devstral Medium?
把 base_url 设为 https://bazaarlink.ai/api/v1、model 填 "devstral-medium" 即可,所有 OpenAI SDK 方法无需改代码。