Mistral AI logo

Codestral Free API on Mistral AI

Free API
Catalog profile API ready provider catalog metadata

"Codestral, developed by Mistral AI, is a versatile LLM for text and coding tasks.

Free APIOpenAI compatibleTextCode
API Details

Copy-ready connection details

Use these values in your client or SDK.
Base URL
https://api.mistral.ai/v1
Model ID
codestral
API format OpenAI Chat Completions
Technical Details

Codestral specifications

Provider catalog
Context window 256K
Max output 256K
Status Online
Last updated May 10, 2026
Free listing since May 10, 2026
Input text, code
Output text
AI Recommendation

Should you use Codestral?

Codestral is listed for chat, coding workloads and supports a 256K context window.

Use it when Mistral AI's free tier is enough for evaluation, demos, or light production traffic.

Best for
  • Chat
  • Coding
Strengths & Weaknesses

Strengths

  • Useful for coding workflows
  • Long context window
  • Works with OpenAI-style SDKs

Watch outs

  • Free-tier rate limits apply
  • Vision support is not listed
  • Tool calling is not confirmed
Availability

Codestral availability by provider

Current provider only

We only found this Codestral listing on Mistral AI in the current catalog. Use the related models section for nearby alternatives.

Provider Model listing Access Context API Limits
Mistral AI Codestral Free tier 256K OpenAI-style ~1 RPS, 500K TPM
View Mistral AI setup guide →
Typical Use Cases

Codestral use cases

Chat

Codestral is tagged for chat in this catalog and works with OpenAI-compatible client libraries.

Coding

Codestral is tagged for coding in this catalog and works with OpenAI-compatible client libraries.

FAQ

Codestral free API FAQ

Is Codestral free to use?

Codestral is listed with free API access on Mistral AI, subject to the provider's quota and account policy.

What is the Codestral model ID?

The model ID shown in this catalog is codestral.

What are the Codestral free tier rate limits on Mistral AI?

The listed free tier limit is ~1 RPS, 500K TPM. Limits can change per account tier, so confirm against the provider dashboard.

What context window does Codestral support?

The listed context window is 256K tokens with up to 256K output tokens.

More about Codestral

"Codestral, developed by Mistral AI, is a versatile LLM for text and coding tasks. Ideal for chat and coding scenarios, it excels with 256,000 tokens of context. Note its rate limit of 1 request per second and API compatibility with OpenAI." (99 words)

For API keys, setup steps, and provider-level limits, see the Mistral AI provider page.