First month for free!

Get started

Mistral AI API
Easy-to-use AI API

Mistral 7B API

Mistral 7B is a state-of-the-art LLM model that outperforms much larger AI models. Experience ChatGPT-level performance at a fraction of the cost.

Get StartedRead Docs

Top AI Benchmarks

Mistral finetunes consitently outperform much bigger models. Stay ahead of AI developments by implementing our API and always have access to the latest large language model (LLM) without the hassle of deploying it yourself.

Save Up to 75%

Use the Mistral API to save on your AI costs. Due to our extensive scale, we can offer the best prices on the market, often cheaper than running the models yourself. It's priced at just $0.50 per 1 million tokens.

Simple API Setup

Effortlessly integrate our OpenAI-compatible API into your application. Begin within minutes and seamlessly scale to serve millions of users.

// npm install --save openai or yarn add openai
import OpenAI from "openai";

const openai = new OpenAI({
  apiKey: "YOUR_API_KEY",
  baseURL: "",

const completion = await{
  messages: [
    { role: "system", content: "You are a helpful assistant." },
    { role: "user", content: "How many days are in a year?" },
  model: "llama-8b-chat",

Read Docs

Frequently Asked Questions

Get Started

Other APIs: SDXL API, Speech-to-Text API, Whisper API