Skip to main content
Mistral is a platform for providing endpoints for Large Language models. See their library of models here. We recommend experimenting to find the best-suited model for your use-case. Here are some general recommendations:
  • codestral model is good for code generation and editing.
  • mistral-large-latest model is good for most use-cases.
  • open-mistral-nemo is a free model that is good for most use-cases.
  • pixtral-12b-2409 is a vision model that is good for OCR, transcribing documents, and image comparison. It is not always capable at tool calling.
Mistral has tier-based rate limits. See the docs for more information.

Authentication

Set your MISTRAL_API_KEY environment variable. Get your key from here.

Example

Use Mistral with your Agent:
View more examples here.

Params

MistralChat is a subclass of the Model class and has access to the same params.