Skip to main content
Watch: I Built an AI App Without Leaving Databricks

API compatibility - 0 documented limits

Mistral AI API compatibility

Mistral AI documents an OpenAI-compatible API at https://api.mistral.ai/v1 (chat/completions). Its docs do not mention an Anthropic-compatible endpoint. The docs read list no specific limitations for either layer.

Verified against Mistral AI's own documentation. Not documented means the docs read that day do not say; it never means No.

Compare every provider in the API compatibility matrix.

OpenAI-compatible API

Supported
Base URL
https://api.mistral.ai/v1
Endpoints
  • chat/completions
Auth
Authorization: Bearer $MISTRAL_API_KEY
Notes
Mistral's own SDK (mistralai) is the primary path; the migration guide documents pointing an OpenAI-compatible client at https://api.mistral.ai/v1 by changing only the base URL and model name. Docs state the same tool/function-calling schema as OpenAI.

From the docs

If your application uses an OpenAI-compatible client (LangChain, LlamaIndex, or any other third-party library), point it at the Mistral API by changing only the base URL and model name. No library swap required.
docs.mistral.ai/resources/migration-guides.md

Anthropic-compatible API

Not documented
Notes
No Anthropic-compatible endpoint is mentioned in the Mistral docs read today.

Checked: docs.mistral.ai/resources/migration-guides.md

Documented limitations

Parameters, content types and features Mistral AI's docs say its compatibility layers ignore, reject or change, each with the line it comes from. A layer with nothing listed may still differ in ways the docs do not spell out.

OpenAI-compatible layer0

No limitations listed in the docs read.

Example from Mistral AI's docs

Copied verbatim from the provider's documentation, placeholders included.

Provider example
from openai import OpenAI

client = OpenAI(
    api_key="your_mistral_api_key",
    base_url="https://api.mistral.ai/v1",
)

response = client.chat.completions.create(
    model="mistral-large-latest",
    messages=[{"role": "user", "content": "Hello"}],
)

More on Mistral AI

Newsletter

Know when a provider changes its API

One email per week. New models, new endpoints and the compatibility changes that break a base URL, and what they mean for your stack.