Saltar al contenido principal

El Mistral

curl --location "https://api.mistral.ai/v1/chat/completions" \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--header "Authorization: Bearer $API_KEY" \
--data '{
"model": "mistral-large-latest",
"messages": [{"role": "user", "content": "Who is the most renowned French painter?"}]
}'

价格

Modelo

文档

分类模型窗口大小
Open source modelsopen-mistral-7b32k
open-mixtral-8x7b32k
open-mixtral-8x22b64k
Optimized modelsmistral-small32k
mistral-medium32k
mistral-large32k
Embeddingsmistral-embed

API对应的名字