Mistral AI API
Mistral AI 接口
Access Mistral Large, Small, and Codestral models with efficient architecture.
调用 Mistral Large、Small 和 Codestral 模型,架构高效。
Website
Documentation
Pricing
pay-as-you-go (per token)
Authentication
- API Key
Rate Limit
500 req/min
Typical Latency
<500ms
Max Context
128K
Popularity
68/100
Endpoints
https://api.mistral.ai/v1/chat/completions
https://api.mistral.ai/v1/embeddings
SDKs
PythonTypeScriptGocurl
Key Features
- ◆Mistral Large, Small, Codestral models
- ◆Efficient architecture for fast inference
- ◆Open-source model weights available
- ◆Function calling support
- ◆Multilingual performance
Code Examples
Chat Completionbash
curl https://api.mistral.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $MISTRAL_API_KEY" \
-d '{
"model": "mistral-large-latest",
"messages": [{"role": "user", "content": "Hello!"}]
}'Tags
llmchatcode
Last updated: 2026-07-27
Similar APIs
OpenAI API
★100Access GPT-4o, GPT-4, GPT-3.5, embeddings, DALL-E, Whisper, and TTS models via REST API.
GitHub REST & GraphQL API
★92Full GitHub platform API: repos, issues, PRs, Actions, search, code scanning, and more.
LangChain Platform
★91Framework and platform for building LLM applications. LangSmith for observability, LangServe for deployment.
Anthropic Claude API
★87Access Claude 3.5 Sonnet, Haiku, and Opus models for chat, analysis, and code generation.
Something wrong or missing? Open an issue on GitHub →
Pricing Comparison
| API | Pricing | Auth | Popularity |
|---|---|---|---|
| OpenAI API | pay-as-you-go (per token) | API Key (Bearer Token) | 100 |
| Anthropic Claude API | pay-as-you-go (per token) | API Key (x-api-key header) | 87 |
| Google Gemini API | free tier available, pay-as-you-go | API Key | 85 |
| OpenAI Assistants API | pay-as-you-go (per token + per tool use) | API Key (Bearer Token) | 84 |
Get Started with Mistral AI API
Click below to visit the official website and start using this API.
Visit Mistral AI API →Discussion
Questions, feedback, or suggestions? Start a discussion.
Discuss on GitHub