Mistral Client
AI & LLMsPython client library for Mistral AI platform
Release History
View all versions →v2.9.4This release includes updates to the Python SDK (v2.9.4) and the PyPI package (v2.9.4), generated using the Speakeasy CLI.
v2.9.3This release is a patch update for the Python SDK (v2.9.3) and PyPI package (v2.9.3) generated by the Speakeasy CLI.
v2.9.2This release updates the Python SDK to version 2.9.2 and publishes it to PyPI. The generation was based on OpenAPI documentation and the Speakeasy CLI version 1.763.6.
v2.9.1This release is generated by the Speakeasy CLI, updating the Python client to version 2.9.1 and publishing it to PyPI.
v2.9.0This release is generated by the Speakeasy CLI and includes updates to the Python SDK (v2.9.0) and the PyPI package (v2.9.0).
v2.8.0This release is generated by the Speakeasy CLI, with updates to the Python SDK (v2.8.0) and PyPI package (v2.8.0).
v2.7.2This release is generated by the Speakeasy CLI and includes updates to the Python SDK (v2.7.2) and the PyPI package (v2.7.2).
v2.7.1This release includes updates to the Speakeasy CLI and generates new versions for Python and PyPI. The release is based on the OpenAPI documentation.
v2.7.0This release is generated by the Speakeasy CLI, with updates to the Python SDK (v2.7.0) and the PyPI package (v2.7.0).
v2.6.01 featureThis release introduces PII/secrets redaction capabilities for OpenTelemetry integration and updates the underlying generation tools.
v2.5.2This release primarily involves regeneration based on the OpenAPI specification using Speakeasy CLI version 1.763.6 (2.884.13), resulting in Python library version v2.5.2.
v2.5.1This release was automatically generated based on an OpenAPI specification update and the Speakeasy CLI version 1.763.6 (2.884.13). The Python package was published to PyPI as version 2.5.1.
v2.5.0This release was automatically generated based on an updated OpenAPI specification using Speakeasy CLI version 1.763.6 (2.884.13).
v2.4.13This release primarily reflects updates generated by the Speakeasy CLI version 1.763.6 (2.884.13) based on the OpenAPI specification, resulting in Python library version v2.4.13.
v2.4.12This release primarily involves regeneration based on the OpenAPI specification using Speakeasy CLI version 1.763.6 (2.884.13).
v2.4.11This release was generated based on an updated OpenAPI specification using Speakeasy CLI version 1.763.6. The Python SDK was published as version 2.4.11.
v2.4.10This release was generated by the Speakeasy CLI, updating the Python SDK to version 2.4.10 based on the OpenAPI specification.
v2.4.9This release primarily reflects an update based on the OpenAPI specification and the Speakeasy CLI version 1.763.6 (2.884.13), resulting in Python package version v2.4.9.
v2.4.8This release was automatically generated based on an updated OpenAPI specification and the Speakeasy CLI version 1.763.6 (2.884.13).
v2.4.7This release primarily reflects an update based on the OpenAPI specification and the Speakeasy CLI version 1.763.6 (2.884.13), resulting in Python package version v2.4.7.
v2.4.5Breaking1 featureThis release introduces a new field in the authentication methods endpoint and contains several breaking changes related to response structures in workflow and event streaming/retrieval methods.
v2.4.4Breaking5 featuresThis release introduces new workflow scheduling controls and updates to RAG ingestion pipeline configuration methods, including breaking changes to parameter names in library update endpoints.
v2.4.3Breaking1 featureThis release removes the 'id' parameter from 'mistral.ocr.process()' and introduces a new registration method for RAG ingestion pipeline configurations.
v2.4.2Breaking5 featuresThis release introduces prompt caching support across chat, FIM, and agent endpoints, adds title fields to connector operations, and includes breaking changes to observability response structures and workflow execution requests.
v2.4.1Breaking12 featuresThis release introduces significant structural changes across many beta and workflow API endpoints, including modifications to request parameters and response schemas, alongside the addition of numerous new connector management and workflow-related endpoints.
Common Errors
SDKError2 reportsThe "SDKError" in mistral-client often arises when the error object, potentially containing unhashable types like lists or dictionaries, is used as a key in a dictionary or in a set which requires hashable objects. To fix this, either convert the relevant parts of the error object into hashable types (e.g., tuples instead of lists) or, if the error object itself is being used as a key, extract a unique hashable identifier (like an error code or message string) to use as the key instead. Ensure the corrected code handles potential collisions if using a simple identifier as a key.
ModuleNotFoundError1 reportThe "ModuleNotFoundError" in mistral-client usually means the required dependencies haven't been installed. Fix this by ensuring you've installed the mistral-client package with `pip install mistralai` and that you've activated the correct Python environment if using virtual environments. If problems persist, double-check the spelling of the import statement and that the package is discoverable in your Python path.
Related AI & LLMs Packages
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Get up and running with OpenAI gpt-oss, DeepSeek-R1, Gemma 3 and other models.
🦜🔗 The platform for reliable agents.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface.
LLM inference in C/C++
GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.
Subscribe to Updates
Get notified when new versions are released