ToolKiti
Home/大语言模型/Mistral AI API

Mistral AI API

Mistral AI 接口

Access Mistral Large, Small, and Codestral models with efficient architecture.

调用 Mistral Large、Small 和 Codestral 模型,架构高效。

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

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

Compare Mistral AI API with other APIs

Similar APIs

Something wrong or missing? Open an issue on GitHub →

Pricing Comparison

APIPricingAuthPopularity
OpenAI APIpay-as-you-go (per token)API Key (Bearer Token)
100
Anthropic Claude APIpay-as-you-go (per token)API Key (x-api-key header)
87
Google Gemini APIfree tier available, pay-as-you-goAPI Key
85
OpenAI Assistants APIpay-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