it's free*.ai

Mistral AI

The French platform: open models and a free tier to experiment with.

Mistral is the French lab behind the current Small and Medium line. Mixtral 8x7B retired from the API on 30 Mar 2025. The console still gives you a key on an email; Free mode and Labs are the no-card slice.

Context goes to 256K. Labs ids (labs- prefix) are free of charge; mistral-medium-3-5 is paid. Limits live per org in the console, not as a published “one request a second”. Use Small or a Labs model to try, not to ship.

Free models
12
Max context
256K
Free tier
Free mode and Labs
Requirement
Email account, no card

Endpoint

Base URLhttps://api.mistral.ai/v1
Env varMISTRAL_API_KEY
Rate limitPer-org caps in the console; Labs models are free of charge

Code examples

npm install openai
import OpenAI from 'openai'

const client = new OpenAI({
  baseURL: 'https://api.mistral.ai/v1',
  apiKey: process.env.MISTRAL_API_KEY
})

const response = await client.chat.completions.create({
  model: 'mistral-small-latest',
  messages: [{ role: 'user', content: 'Explain closures in one paragraph.' }]
})

console.log(response.choices[0].message.content)

Worth knowing

Models you get for free12