In short.
Mistral's SDK Clients page is a setup guide for Python and TypeScript developers using its AI API, but Python users must match package versions with the correct imports. It provides chat-completion examples and Python v2 migration instructions, including changed Azure parameters and Google Cloud authentication. It supports initial integration and migration planning; costs, licensing and production reliability are unknown or unassessed. No code was executed.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage includes the complete supplied page at [https://docs.mistral.ai/getting-started/clients.md]: Python v1 and v2 installation and chat examples, illustrative responses, Python migration instructions, Azure and Google Cloud changes, TypeScript setup, and the community-client table and support notice. All linked pages, repositories and example directories are excluded. No separate SDK source files or license notices were supplied. Runtime behavior, output accuracy, performance and production suitability were not tested.
The overview
Identity
This is Mistral AI's SDK Clients documentation [https://docs.mistral.ai/getting-started/clients.md]. SDKs are software libraries that let applications call an API using familiar functions in their programming language. Mistral identifies Python and TypeScript as its official clients and recommends them for interacting with its APIs.
Assessment
The guide is useful for making a first chat request or updating an existing Python integration to v2. Installation commands, import paths and provider-specific migration examples make those tasks concrete. It offers limited guidance for operating an application: error handling, reliability and deployment behavior are not assessed.
Users
Python and TypeScript developers are the main audience. Beginners receive short installation and request examples, although the page assumes familiarity with packages, environment variables and API keys. Existing Python users receive additional instructions for Azure AI and Google Cloud / Vertex AI migrations. Developers using other languages receive community-client links.
Capabilities
The page demonstrates installing both official clients and requesting a chat completion. Its Python migration notes say chat, streaming, embeddings, agents, function calling and batch APIs are unchanged in v2. Those additional APIs are named rather than demonstrated here, and the page does not establish complete feature parity between the Python and TypeScript clients.
Using it
Requirements
The direct Mistral examples require a suitable Python or TypeScript environment, package installation and a valid API key. Both examples read MISTRAL_API_KEY from the environment. Supported runtime versions, account provisioning and rate limits are not specified.
The Azure example uses an endpoint and API key. The Google Cloud v2 example relies on credentials discovered automatically through google.auth.default(); the page does not explain how to provision those credentials or configure cloud permissions.
Mechanism
An application creates a Mistral client, supplies its API key and calls client.chat.complete with a model name and a list of messages. Each message specifies a role and content. The illustrated response contains an assistant message inside choices, a completion status and usage fields counting prompt, completion and total tokens.
Setup
For Python v2, the migration instructions use pip install "mistralai>=2" and from mistralai.client import Mistral. For v1, they use pip install "mistralai<2" and from mistralai import Mistral. The general v2 installation tab also shows pip install mistralai without a version constraint.
For TypeScript, install with npm install @mistralai/mistralai, import Mistral from that package and create a client with an apiKey value.
Python v2 moves Azure support into mistralai.azure.client.MistralAzure and changes constructor parameters from azure_endpoint and azure_api_key to server_url and api_key. Google Cloud support moves to mistralai.gcp.client.MistralGCP without a separate package; authentication uses google.auth.default(). Its documented default region is europe-west4, with region and project_id overrides available.
Example
Both language examples send the question “What is the best French cheese?” to mistral-medium-latest using client.chat.complete. The supplied output illustrates an assistant response and token-usage fields. It is documentation output, not an independently reproduced result or evidence of answer accuracy, response time or typical token consumption. No example was run.
Assessment & evidence
Limitations
The examples do not cover request failures, retries, timeouts, rate-limit handling or data-retention behavior. These omissions limit what the guide establishes about production use.
Mistral says it does not actively maintain or support the listed community clients; this does not establish whether their own maintainers are active. The TypeScript installation link points to client-ts, while its examples link points to client-js. Their relationship and link destinations were not assessed.
Reasoning
The strongest fit is a concrete integration task: installing an official client, forming a chat request or updating Python imports and cloud-client configuration. Those conclusions follow directly from the supplied examples. The page does not support conclusions about model quality, comparative SDK performance or operating cost.
Alternatives
The page offers official Python and TypeScript clients as language choices, linking to [https://github.com/mistralai/client-python] and [https://github.com/mistralai/client-ts]. It also lists community options for Dart, Elixir, Go, Java, JavaScript/TypeScript, PHP, Ruby and Rust, plus a CLI entry. Their features and suitability are not compared, and their repository contents were not assessed.
Evidence
The sole source is the complete SDK Clients page at [https://docs.mistral.ai/getting-started/clients.md]. Its captured source revision is sha256:05972264aae775f401d484719d208266d715ad40e336ea5a0fd4dbcce201b0a0. It supplies installation instructions, migration notes, sample code, illustrative output and a community-support notice.
Linked repositories, example directories and other pages are outside the available evidence. No commands, installations or API requests were executed, and no independent benchmark results are supplied.
Access & freshness
Costs
The page gives no SDK charges, API prices, free-tier terms or Azure and Vertex AI rates. Total usage cost is unknown. Token counts in the example response explain the usage fields but provide neither a billing rate nor a reliable estimate for another request.
Rights
The page does not state licenses for its documentation or the SDK code, redistribution permissions, or API commercial-use terms. Repository links alone do not establish those rights. Licensing and permitted reuse remain unknown from this source.
Freshness
The page was captured at 2026-11-14T18:06:27.274Z. It presents Python v2 as the default and describes breaking changes introduced in version 2.0.0. No publication date, update date or exact latest SDK release is supplied; the capture timestamp is not a release date.
The examples use mistral-medium-latest without identifying a fixed underlying model release. The page therefore does not establish which exact model version would answer a future request.
Actions
Choose the language and service route first: direct Mistral, Azure AI or Google Cloud / Vertex AI. For Python, use installation instructions, imports and constructor parameters from the same SDK version. Existing cloud integrations should account for the documented Azure parameter changes or Google Cloud authentication changes.
Before committing to deployment, establish current pricing, runtime compatibility, licensing, data-handling terms and request-failure behavior. Follow the relevant repository for fuller examples, checking the differing client-ts and client-js destinations for TypeScript. These follow-up checks and execution remain outstanding.
