Codestral
我们前沿的代码语言模型。Codestral 擅长低延迟、高频率任务,如中间填充(FIM)、代码纠错和测试生成。
规格
- 上下文
- 131.1K
- 最大输出
- —
- 输入价
- —
- 输出价
- —
- 发布日期
- 2025-01-13
上下文
- 上下文
- 131.1K
- 最大输入
- —
- 最大输出
- —
价格
- 官方未公布
输入输出
- 输入
- 文本
- 输出
- 文本
API
- 接口类型
思考
- 官方未公布
源信息
- 状态
- 已下线
- 发布日期
- 2025-01-13
- 知识截止
- —
能力
- 已确认
调用方式
1 个 Provider
mistralmodel = codestral-2501
chat
POSThttps://api.mistral.ai/v1/chat/completions
batch
POSThttps://api.mistral.ai/v1/batch
JSON
标准格式
{
"id": "codestral-2501",
"object": "model",
"created": 1736726400,
"owned_by": "mistral",
"name": "Codestral",
"api": {
"types": [
"chat",
"batch"
]
},
"limits": {
"context": 131072,
"input": null,
"output": null
},
"modalities": {
"input": [
"text"
],
"output": [
"text"
]
},
"reasoning": {
"supported": null,
"efforts": []
},
"pricing": null,
"features": [
"tools",
"structured_output",
"batch"
],
"info": {
"status": "retired",
"release_date": "2025-01-13",
"knowledge_cutoff": null,
"description": "Our cutting-edge language model for coding. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation.",
"docs": "https://docs.mistral.ai/models/codestral-25-01",
"verified_at": "2026-10-11"
}
}官方来源
3