Nexevo.aiNexevo.ai
Return to model library
Mistral AI 2024-05-29

codestral

代码补全 IDE 集成 · FIM 中间填充

Universaltextcode generation

数据政策 / Data Policy:未知 / Unknown

未经法务确认上游 ToS,不做承诺

查看 Mistral AI 服务条款

提示:此 provider 数据政策待法务审定;medical / legal 客户请联系商务确认 DPA。

context window
32K
tokens
maximum output
8.2K
tokens
knowledge cutoff
2024-04
Overall rating
7.57
/ 10

capability radar

codemathreasoncreatimultillong_cspeed
code8.5
Mathematics7.5
reasoning7.5
creativity6.5
multilingual7.5
long context7.5
speed8.0

Pricing

input price$0.240000/ 1M tokens
output price$0.720000/ 1M tokens

Support features

Tool callStreaming output

Recommended scenarios

代码补全 IDE 集成
FIM 中间填充

Call example

Called via Nexevo.ai gateway — fully compatible with OpenAI SDK, just replace base URL

curl https://api.nexevo.ai/v1/chat/completions \
  -H "Authorization: Bearer $NEXEVO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "codestral",
    "messages": [
      { "role": "user", "content": "Hello!" }
    ]
  }'

Other models of Mistral AI