Price checkPer per million tokens
See all 1 plans
Quick Answer
Last verified:
Medium confidence

Codestral API costs $0.20 to $0.90 per per million tokens as of April 2026. Pricing depends on your chosen tier, contract length, and negotiated discounts.

Use the interactive pricing calculator to estimate your exact cost based on team size and requirements.

  • Free tier: No free tier available

Codestral API offers 1 pricing tiers: Codestral (usage-based). The Codestral (usage-based) plan is teams embedding code-gen into editors, ci tools, or internal platforms.

Compared to other code generation apis software, Codestral API is positioned at the budget-friendly price point.

    0

How much does Codestral API cost?

Codestral API pricing ranges from $0.20 to $0.90/per million tokens across 1 plans. Plans include Codestral (usage-based) (custom pricing).

Codestral API Pricing Overview

Codestral API has 1 pricing plans ranging from $0.20 to $0.90/per million tokens. The Codestral (usage-based) plan requires contacting sales for a custom quote and is designed for teams embedding code-gen into editors, ci tools, or internal platforms.

This pricing was last verified in April 23, 2026.

Codestral API is Mistral AI's code-specialized model available through usage-based pricing — there is no flat monthly fee, and you pay per token consumed. Specific per-token rates for the Codestral (usage-based) plan are not publicly listed on Mistral's marketing pages and must be checked directly in the Mistral AI platform console.

How Codestral API Pricing Compares

Compare Codestral API pricing against top alternatives in Code Generation APIs.

All Codestral API Plans & Pricing

Plan Monthly Annual Best For
Codestral (usage-based) Custom Custom Teams embedding code-gen into editors, CI tools, or internal platforms
View all features by plan

Codestral (usage-based)

  • Code completion and generation endpoint (FIM + instruct)
  • 80+ programming languages
  • 256k context window
  • OpenAI-compatible API

Usage-Based Rates

Per-unit pricing for Codestral API API usage.

Codestral (usage-based)

Model Input Output Cached Per
codestral-2501 256K ctx $0.200 $0.600 1M tokens
  • Available via la Plateforme; free research license for self-hosting non-commercial

Compare Codestral API vs Alternatives

Before committing to Codestral API, compare pricing with these 2 alternatives in the same category.

All Codestral API alternatives & migration guides

What Companies Actually Pay for Codestral API

Review scores
Top pricing complaints
Pricing is not clearly listed on Mistral's website

How Codestral API Pricing Compares

Software Starting Price Top Price
Codestral API $0.2/per million tokens $0.9/per million tokens
Refact.ai Free $10/per user per month
Tabby Free $19/per user per month

Codestral API Pricing FAQ

01 Where can I find Codestral API pricing?

Codestral API uses usage-based pricing that is not publicly listed on the Mistral AI website. You will need to access the Mistral AI console or contact Mistral directly to obtain current per-token rates.

Is this pricing incorrect? — we'll verify and update it.