Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
112 changes: 112 additions & 0 deletions apps/web/content/articles/mistral-api-key.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
---
meta_title: "How to Get a Mistral API Key (Free, No Credit Card)"
meta_description: "Step-by-step guide to getting a Mistral API key for free. No credit card needed. Covers rate limits, pricing, models, and how to use your key securely."
author:
- "Harshika"
featured: false
category: "Engineering"
date: "2026-03-06"
---

Mistral makes some of the best open-weight models available. Getting an API key takes about two minutes, and you don't need a credit card.

## **What you need before getting started**

You need:

- An email address
- A phone number that can receive SMS (for verification)

No credit card required for the free Experiment plan.

One thing worth knowing upfront: on the free Experiment plan, your API requests may be used to train Mistral's models. If you're working with sensitive data, you'll want to upgrade to a paid plan, which comes with data isolation.

## **How to generate your Mistral API key (step by step)**

1. Go to [console.mistral.ai](https://console.mistral.ai) and create an account
2. Verify your phone number when prompted. This is how Mistral gates the free tier
3. Once inside the console, navigate to **API Keys** in the left sidebar
4. Click **Create new key**, give it a name, and hit confirm
5. Copy the key immediately and store it somewhere safe. Mistral won't show it again

## **Mistral API rate limits on the free plan**

On the free Experiment plan, every model is capped at 500,000 tokens per minute and 1,000,000,000 tokens per month. That's a billion tokens a month, which sounds like a lot until you're running something in a loop.

The per-minute limit is the one you'll actually hit. 500k tokens per minute works out to roughly 375,000 words per minute, which is fast, but easy to saturate if you're processing batches or running concurrent requests. If a request gets rate limited, the API returns a 429 and you'll need to retry with backoff.

The monthly cap of 1B tokens is genuinely generous for individual use. At typical usage, most developers won't come close. If you're building something at scale or need guaranteed throughput, upgrading to the Scale plan removes these ceilings and adds data isolation.

## **Mistral API pricing: how much does it cost**

Mistral charges per million tokens, counting both input (what you send) and output (what comes back). There's no subscription fee on the API side. You pay for what you use.


|   |   |   |
| ----------------- | ---------------- | ---------------- |
| **Model** | **Input** | **Output** |
| Mistral Small 3.2 | $0.10 / M tokens | $0.30 / M tokens |
| Mistral Large 3 | $0.50 / M tokens | $1.50 / M tokens |


To put those numbers in context: a million input tokens is roughly 750,000 words, or about 1,500 pages of text. At Mistral Small's rates, that costs ten cents. For most personal or small-team use, the monthly bill is negligible.

If you're running batch jobs that don't need an immediate response, Mistral offers a 50% discount on batch API requests. Worth using if latency isn't a concern.

## **Which Mistral model should you use**

If you're not sure, use mistral-small-latest.

It's fast, cheap, multimodal, multilingual, and Apache 2.0 licensed. The Apache 2.0 license matters if you're building something commercial. No usage restrictions, no license fees.

Step up to mistral-large-latest if you need heavier reasoning: complex multi-step tasks, nuanced analysis, or anything where output quality is worth paying more for. It's five times the price of Small, so it's worth being deliberate about when you actually need it.

## **How to use your Mistral API key in your project**

Set it as an environment variable so it never gets hardcoded into your source files:

export MISTRAL_API_KEY="your-key-here"

Test it with a curl call:

> curl [https://api.mistral.ai/v1/chat/completions](https://api.mistral.ai/v1/chat/completions) \
>
>   -H "Authorization: Bearer $MISTRAL_API_KEY" \
>
>   -H "Content-Type: application/json" \
>
>   -d '{
>
>     "model": "mistral-small-latest",
>
>     "messages": [{"role": "user", "content": "Hello"}]
>
>   }'

If you get a JSON response with a choices array back, the key is working. If you get a 401, double-check that the environment variable is set correctly in your current session.

For Python projects, the python-dotenv package is the standard way to load a .env file at runtime rather than setting variables manually each session:

> from dotenv import load_dotenv
>
> import os
>
> load_dotenv()
>
> api_key = os.getenv("MISTRAL_API_KEY")

## Use your Mistral API key in Char for AI meeting notes that stay on your device

![](https://auth.hyprnote.com/storage/v1/object/public/blog/articles/mistral-api-key/image-1.png)

Getting your own API key is a deliberate choice. It means you want control over what AI you're using and what happens to the data you send it. Char works on the same principles. 

It’s an open-source AI notepad for meetings that gives you complete control over your AI stack and your data. 

The workflow is simple: record, transcribe locally, summarize with your own Mistral key. You choose which model runs. You can swap to Anthropic, OpenAI, or a local Ollama model any time without losing your files or your history.

Everything else stays local. The audio file, the transcript, the summary are all saved as plain markdown files on your device, not on Char's servers. Char doesn't have servers storing your conversations. There's nothing to breach, no vendor to trust with your data.

Plus, all core features, local transcription, and BYOK stay completely free. You’re already paying for the API key, you shouldn’t have to pay twice. But if you want cloud services and don't want to manage keys at all, there is a $8/month plan you can check out. 

To connect Mistral, open Char's settings, go to API Keys, paste your key, and that's it. Try it out for free now - [Download Char for macOS](https://char.com/download/).
Loading