Codestral free API

Codestral is callable on a Mistral Free mode key as codestral-latest (no card) and runs locally via Ollama. Built for fill-in-the-middle and code completion. Mistral does not publish free-tier limits — check Admin → Limits in the console.

Free providers

ProviderRPMDailyModel IDChecked
mistral-free — — codestral-latest 2026-10-10

Example (mistral-free)

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

FAQ

Is Codestral free via API?
Yes — free hosted routes are listed on this page from mistral-free. Limits change; check the table and the provider pages for the latest RPM and daily caps.
Which free provider should I use for Codestral?
Use mistral-free for the free route on this page.
What are the free rate limits for Codestral?
There is no fixed public number. Mistral AI: Free mode limits are per organization (Admin → Limits) and not published. Free keys can call Nemo, Ministral and Codestral, not mistral-small or Large.
Can I run Codestral locally instead of using a free API?
Yes. Pull it with Ollama using tag codestral and point your editor at http://localhost:11434/v1.
How do I stack multiple free API keys?
See our free API stack guide to combine Groq, OpenRouter, and Gemini keys, then compare limits on the free API comparison table.

Limits checked against official docs on 2026-10-10. Rates change without notice. Not affiliated with providers unless noted. Verify before production use.

Model card · All providers · Stack free API keys