Mistral AI

Model

API for Mistral's open-weight and commercial language models

Price
Free tier, then paid
Access
API key

About

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.

What you can do with it

  • 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

Get started

  1. Create a Mistral AI account
  2. Generate an API key in the console
  3. Set MISTRAL_API_KEY in your environment

Example

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?"}
    ]
  }'

Details

Hosting
Hosted service, Self-hosted
Available in
Worldwide
Official SDKs
Python, JavaScript/TypeScript
MCP server
Remote

Tasks

Alternatives

Other tools for the same tasks.

Last checked on .