Mistral AI
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?"}]
}'
Modell
分类 | 模型 | 窗口大小 |
---|---|---|
Open source models | open-mistral-7b | 32k |
open-mixtral-8x7b | 32k | |
open-mixtral-8x22b | 64k | |
Optimized models | mistral-small | 32k |
mistral-medium | 32k | |
mistral-large | 32k | |
Embeddings | mistral-embed |