You're looking at StableBuild's Deleted PyPI mirror - where we index all deleted packages from the Python package registry.
mistralai was reported malicious
OSV:MAL-2026-3608 - Malicious code in mistralai (PyPI)

mistralai
0.2.0

This version was deleted from PyPI around 2026-05-12. Installing fails with:
$ pip3 install mistralai==0.2.0 ERROR: Could not find a version that satisfies the requirement mistralai==0.2.0

Install through StableBuild

You can install this package from StableBuild's PyPI snapshots from before the version was deleted:
pip3 install \ -i https://YOUR_API_KEY.pypimirror.stablebuild.com/2026-05-11/ \ mistralai==0.2.0
Sign up for StableBuild to get an API key (it's free and takes <60 seconds!)

Or, download files manually

And install manually via pip: