Mistral: labs-devstral-small-2512API pricing
labs-devstral-small-2512 is a language model, tuned for writing and editing code.
- 每100万枚代币的价格
- $0.11 / $0.32input / output
- 缓存的输入
- 0.11美元每100万枚代币
- 上下文
- 256K tokens
- 服务提供商
- 1
服务提供商
1 provider ·
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/labs-devstral-small-2512", "messages": [{ "role": "user", "content": "Hi" }] }'import os
from openai import OpenAI
client = OpenAI(base_url="https://api.opencheap.si/v1", api_key=os.environ["OPENCHEAP_API_KEY"])
r = client.chat.completions.create(model="opencheap/labs-devstral-small-2512",
messages=[{"role": "user", "content": "Hi"}])
print(r.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({ baseURL: "https://api.opencheap.si/v1", apiKey: process.env.OPENCHEAP_API_KEY });
const r = await client.chat.completions.create({ model: "opencheap/labs-devstral-small-2512",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 labs-devstral-small-2512 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/labs-devstral-small-2512;其余代码保持不变。
About labs-devstral-small-2512
- 请求示例
- $0.001410,000 in + 1,000 out
- 端点
https://api.opencheap.si/v1- 模型 ID
每个请求都会发送给模型中成本最低且状态正常的提供者,而每个响应都会报告其成本为 使用成本. Every model on OpenCheap is called with one key at the same OpenAI-compatible endpoint, https://api.opencheap.si/v1.
用文字表述价格
labs-devstral-small-2512 costs from $0.11 per 1M input tokens and $0.32 per 1M output tokens on OpenCheap. It has no public list price to compare with. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0014, and 1,000 such requests about $1.37.
One provider serves labs-devstral-small-2512 on OpenCheap today. Its context window is 256K tokens (256,000), room for roughly 190,000 words of English in one request.
labs-devstral-small-2512 is one of 50 Mistral models on OpenCheap.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the labs-devstral-small-2512 API cost per 1M tokens?
labs-devstral-small-2512 costs from $0.11 per 1M input tokens and $0.32 per 1M output tokens on OpenCheap. Prices as of 2026-12-04 11:48 UTC.
What does one labs-devstral-small-2512 request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0014, and 1,000 such requests about $1.37. Every answer reports its own cost in usage.cost.
Which providers serve labs-devstral-small-2512?
One provider serves labs-devstral-small-2512 on OpenCheap today. Each request goes to the cheapest healthy provider of the model; the table on this page lists every provider with its price, speed and uptime.
What is the context window of labs-devstral-small-2512?
Its context window is 256K tokens (256,000), room for roughly 190,000 words of English in one request.
How do I call the labs-devstral-small-2512 API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/labs-devstral-small-2512. One OpenCheap key works for every model; the rest of your code stays the same.
More from Mistral
- Mistral Small 3.2 24B (2506)mistral-small-3.2-24b$0.07 / $0.19 per 1M · 256K context
- codestral-2405codestral-2405$1.05 / $3.15 per 1M · 32K context
- Codestral 2508codestral-2508$0.30 / $0.90 per 1M · 256K context
- Devstral 2 123Bdevstral-2-123b$0.032 / $0.16 per 1M · 262K context
- devstral-2-123b-2512devstral-2-123b-2512$0.42 / $1.47 per 1M · 262K context
- Mistral Devstral Small 2505devstral-small-2505$0.06 / $0.06 per 1M · 32K context
- devstral-small-latestdevstral-small-latest$0.11 / $0.32 per 1M · 256K context
- Magistral Small 2509magistral-small-2509$0.06 / $0.18 per 1M · 128K context
类似型号
- Qwen/Qwen2.5-Coder-32B-InstructQwen · 32K context$0.20 / $0.20 per 1M24 % cheaper
- Llama 4 ScoutMeta · 328K context$0.10 / $0.32 per 1M
- Qwen 3 Coder 480BQwen · 26.2万语境$0.075 / $0.25 per 1M22 % cheaper
- Gemma 4 26B A4B CybersecurityGoogle · 26.2万条上下文$0.11 / $0.33 per 1M
- Doubao Seed 1.6 LiteByteDance · 256K context$0.041 / $0.33 per 1M
- Step 3.5 FlashStepFun · 256K context$0.11 / $0.33 per 1M
Compare labs-devstral-small-2512 with any model →Cheapest LLM API