返回模型列表
Mistral: Codestral 2508
mistralai/codestral-2508Aug 1, 2025256K 上下文$0.30/M in · $0.90/M out
描述
Mistral 于 2025 年 7 月末发布的编码语言模型。Codestral 专注低延迟、高频率场景,如 fill-in-the-middle (FIM)、代码修正与测试生成。
技术规格
供应商
mistralai
上下文长度
256K
最大输出
—
模态类型
输入text
输出text
定价
| 类型 | 价格 / 百万 Token |
|---|---|
| 输入 | $0.30 |
| 输出 | $0.90 |
| 缓存读取 | $0.03 |
快速开始
curl https://api.ominigate.ai/v1/chat/completions \
-H "Authorization: Bearer sk-omg-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-2508",
"messages": [{"role": "user", "content": "Hello!"}]
}'