Mistral Nemo (12B) — Free API

⭐ Score: 47
mistral-ai/mistral-nemo-12b
chat

What is Mistral Nemo (12B)?

"Mistral Nemo, a 12B LLM by Mistral AI, excels at text-based tasks within 128,000 token contexts. Developers can utilize its robust chat capabilities and high throughput (up to 500K tokens per month) without requiring a credit card. Ideal for openAI integration, its rate limit of ~1 RPS is a consideration for users."

Model ID
mistral-nemo-12b
Base URL
https://api.mistral.ai/v1

Mistral Nemo (12B) API Code Example

Paste your API key and run. See the config generator for Claude Code, Cursor, and more tools.

from openai import OpenAI

client = OpenAI(
    base_url="https://api.mistral.ai/v1",
    api_key="YOUR_API_KEY"
)

response = client.chat.completions.create(
    model="mistral-nemo-12b",
    messages=[{"role": "user", "content": "Hello!"}]
)
print(response.choices[0].message.content)
import OpenAI from "openai";

const openai = new OpenAI({
  baseURL: "https://api.mistral.ai/v1",
  apiKey: "YOUR_API_KEY",
});

const completion = await openai.chat.completions.create({
  model: "mistral-nemo-12b",
  messages: [{ role: "user", content: "Hello!" }],
});

console.log(completion.choices[0].message.content);
curl https://api.mistral.ai/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -d '{
    "model": "mistral-nemo-12b",
    "messages": [{"role": "user", "content": "Hello!"}]
  }'

Other Free Models from Mistral AI

More About Mistral AI

How to get an API key, rate limits, platform limitations, and tool configuration — everything you need to set up Mistral AI as a free LLM API backend.

View Mistral AI full guide →