Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Mistral AI SDK

Official Python SDK for the Mistral AI API to call Mistral language models.

Model SDKs PyPI Apache-2.0

Used in agent projects
4
0.2% of 1,622 Python repos built with AI coding agents; 144 counting our dependency samples
Gid Score
47 /100
#1794 of 3,794 tools, #28 in model sdks · ranking
Rank in model sdks
#35 of 79
by use in those projects
Downloads
3.3M
PyPI, last 7 days, mistralai
GitHub stars
774
210 forks · last push Oct 19, 2026

How Mistral AI SDK is used

Mistral AI SDK is a dependency in 4 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 144 projects, and what it is used with below comes from all of them. The most used alternative in our scan is OpenAI Python Library (245 projects). Projects that use it most often also use OpenAI Python Library (89.6%), python-dotenv (82.6%), Pydantic (82.6%).

Mistral AI SDK popularity over time

Top tools by Gid Score

Mistral AI SDK: downloads per weekPyPI, mistralai 3,251,032
Mistral AI SDK: GitHub starsmistralai/client-python 774

Gid Score 47: downloads 75, use in agent projects 56, GitHub stars 7, downloads trend 34 (each 0-100). How it is calculated.

Often used with Mistral AI SDK

OpenAI Python Library89.6% of Mistral AI SDK projects · 22.7× more than average
python-dotenv82.6% of Mistral AI SDK projects · 9.0× more than average
Pydantic82.6% of Mistral AI SDK projects · 9.6× more than average
Requests75.7% of Mistral AI SDK projects · 11.1× more than average
NumPy70.8% of Mistral AI SDK projects · 12.1× more than average
Anthropic Python SDK70.8% of Mistral AI SDK projects · 38.9× more than average
Hugging Face Hub70.1% of Mistral AI SDK projects · 76.4× more than average
PyYAML68.1% of Mistral AI SDK projects · 11.4× more than average

From all 144 projects in our scan that use Mistral AI SDK, including the dependency samples.

Install

Packagepip install mistralai
Main stacksPython (140), Next.js (4)
Example projectscamel-ai/owl, Paper2Poster/Paper2Poster, zstar1003/ragflow-plus, prakharsr/audiobook-creator, YuhangChen1/Paper2All

Alternatives to Mistral AI SDK

All model sdks

Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Mistral AI SDK are not listed here; they are in "Often used with".

Tool Gid Score Used in agent projectsDownloads / wk GitHub starsLicense
OpenAI Python Library pypi
Official Python SDK to call OpenAI APIs including GPT models and embeddings.
86 245 (15.1%) 82.1M 31.9K Apache-2.0
Anthropic Python SDK pypi
Official Python library for calling Claude via the Anthropic API.
73 113 (7.0%) 42.7M 3,980 MIT
Google GenAI Python SDK pypi
Official Python SDK for Google's generative AI models including Gemini.
72 102 (6.3%) 36.6M 4,034 Apache-2.0
Claude Agent SDK pypi
Python SDK for Claude AI with agent capabilities and tool support.
63 22 (1.4%) 7.8M 8,304 MIT
Groq Python SDK pypi
Official Python client library for the Groq API, enabling fast LLM inference with Groq's language processing units.
53 19 (1.2%) 3.9M 621 Apache-2.0
Cohere pypi
Official SDK for accessing Cohere's language models and APIs.
49 2 (0.1%) 2.6M 406 MIT

More in Model SDKs: OpenAI AI SDK Anthropic SDK Google Generative AI Hugging Face Hub LiteLLM Ollama Ollama JavaScript Library

Is Mistral AI SDK right for your project? Ask AgentGid →