npm package

@mistralai/mistralai

Updated 2026-07-16 View source ↗

#11 of 203 by Downloads / week among npm packages

3.9M Downloads / week

TypeScript client library for the Mistral AI API

About

This is v2 of the Mistral TypeScript SDK. > Key changes from v1: ESM-only, shorter type names, forward-compatible enums/unions, Zod v4. See the Migration Guide for full details. > To pin v1: npm install @mistralai/mistralai@^1 · v1 documentation and source

Mistral AI API: Our Chat Completion and Embeddings APIs specification. Create your account on La Plateforme to get access and read the docs to learn how to use it.

The SDK can be installed with either npm, pnpm, bun or yarn package managers.

This package is published as an ES Module (ESM) only. For applications using CommonJS, use await import("@mistralai/mistralai") to import and use this package.

For supported JavaScript runtimes,…

Excerpted from www.npmjs.com/package/@mistralai/mistralai

Latest metrics

Downloads / week 3.9M 2026-07-16