Mistral AI
ModelAPI for Mistral's open-weight and commercial language models
- Fiyat
- Free tier, then paid
- Erişim
- API key
Hakkında
Mistral AI's API serves its Medium, Large and Small models plus Codestral, embeddings, OCR and speech. It is for developers who want a European model provider with EU or US inference endpoints. Many of its models are also released as open weights.
Neler yapabilirsin
- Add chat, reasoning and text summarization to your app with Mistral models
- Complete and generate code with Codestral and Mistral Medium 3.5
- Create text and code embeddings for search and RAG
Başlarken
- Create a Mistral AI account
- Generate an API key in the console
- Set MISTRAL_API_KEY in your environment
Örnek kod
curl https://api.mistral.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MISTRAL_API_KEY" \
-d '{
"model": "mistral-medium-3-5",
"messages": [
{"role": "user", "content": "What is Mistral AI?"}
]
}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut), Kendi sunucunda
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Python, JavaScript/TypeScript
- MCP sunucusu
- Uzak sunucu