mistral-31-24bAPI pricing
Mistral AI's instruction-tuned 24-billion-parameter model from the Mistral Small 3.1 line, adding vision understanding and long-context handling. It is aimed at conversational agents, function calling and local use, and it takes text and images as input.
- 每100万枚代币的价格
- $0.10 / $0.30input / output−45%
- 缓存的输入
- $0.05per 1M tokens
- 上下文
- 128K tokens102K max output
- 服务提供商
- 3
- 最快
- 55 tok/sCloudflare
服务提供商
3 providers ·
128K context · 102K max output
支持的参数7
- 抽样
温度top_p种子logit_bias- 处罚
存在惩罚- 输出
停止response_format- 未确认
工具
128K context · 102K max output
支持的参数15
- 抽样
温度top_ptop_kmin_p种子logit_bias- 处罚
重复惩罚频率惩罚存在惩罚- 输出
停止结构化输出logprobstop_logprobs- 工具
工具工具选择
- 1 more provider through partner hosts · from $0.11 in · $0.32 out
价格走势
API
curl https://api.opencheap.si/v1/chat/completions \
-H "Authorization: Bearer $OPENCHEAP_API_KEY" -H "Content-Type: application/json" \
-d '{ "model": "opencheap/mistral-small-3.1-24b", "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/mistral-small-3.1-24b",
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/mistral-small-3.1-24b",
messages: [{ role: "user", content: "Hi" }] });
console.log(r.choices[0].message.content);致电 mistral-31-24b 使用 OpenAI SDK:将其指向 https://api.opencheap.si/v1 并传递模型 ID opencheap/mistral-small-3.1-24b;其余代码保持不变。
About mistral-31-24b
- 标价
- $0.35 / $0.56in / out per 1M
- 保存与列表
- 50 %on a 1 : 3 input-to-output mix
- 请求示例
- $0.001310,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.
用文字表述价格
mistral-31-24b costs from $0.10 per 1M input tokens and $0.30 per 1M output tokens on OpenCheap, with cached input at $0.05 per 1M tokens. Its list price is $0.35 per 1M input tokens and $0.56 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 50 % less here. At that price, a request with 10,000 input tokens and 1,000 output tokens costs about $0.0013, and 1,000 such requests about $1.30.
3 providers serve mistral-31-24b on OpenCheap. Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.
mistral-31-24b is one of 50 Mistral models on OpenCheap.
The public list price is $0.35 per 1M input tokens and $0.56 per 1M output tokens. OpenCheap is from $0.10 and $0.30, as of 2026-12-04 11:48 UTC.
Prices as of 2026-12-04 11:48 UTC.
关于定价的问题
How much does the mistral-31-24b API cost per 1M tokens?
mistral-31-24b costs from $0.10 per 1M input tokens and $0.30 per 1M output tokens on OpenCheap, with cached input at $0.05 per 1M tokens. Prices as of 2026-12-04 11:48 UTC.
What does one mistral-31-24b request cost?
A request with 10,000 input tokens and 1,000 output tokens costs about $0.0013, and 1,000 such requests about $1.30. Every answer reports its own cost in usage.cost.
Is mistral-31-24b cheaper on OpenCheap than its list price?
Its list price is $0.35 per 1M input tokens and $0.56 per 1M output tokens, so on a typical 1 : 3 input-to-output mix it costs 50 % less here.
Which providers serve mistral-31-24b?
3 providers serve mistral-31-24b on OpenCheap. 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 mistral-31-24b?
Its context window is 128K tokens (128,000), room for roughly 96,000 words of English in one request.
How do I call the mistral-31-24b API?
Point the OpenAI SDK at https://api.opencheap.si/v1 and pass the model id opencheap/mistral-small-3.1-24b. 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
- labs-devstral-small-2512labs-devstral-small-2512$0.11 / $0.32 per 1M · 256K context
类似型号
- meta-llama/Llama-3.2-3B-InstructMeta · 131K context$0.047 / $0.31 per 1M
- Llama 4 ScoutMeta · 328K context$0.10 / $0.32 per 1M
- GPT 4o MiniOpenAI · 128K context$0.06 / $0.24 per 1M22 % cheaper
- Gemma 4 12B Starry OceanGoogle · 131K context$0.05 / $0.25 per 1M20 % cheaper
- Gemma 4 12B StationKeeperGoogle · 131K context$0.05 / $0.25 per 1M20 % cheaper
- MiniMax M2.1MiniMax · 204K 上下文$0.083 / $0.27 per 1M10 % cheaper