Price checkPer per million tokens
See all 1 plans

All Codestral API Plans & Pricing

Plan Monthly Annual Best For
View all features by plan (compare side-by-side)

Codestral (usage-based)

  • Code completion and generation endpoint (FIM + instruct)
  • 80+ programming languages
  • 256k context window
  • OpenAI-compatible API
Compare Codestral API with alternativesAdjust seats, lock a tier, add up to 2 more products side-by-side. Shareable URL.
Quick Answer
Last verified:
Medium confidence

Codestral API costs $0.20 to $0.90 per per million tokens as of July 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.

  • 6 documented hidden costs beyond list price
  • G2 rating: 4.3 out of 5 from 14 reviews (as of Jul 2026)

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.

Codestral API with a no stated minimum commitment minimum commitment.

There are at least 6 documented hidden costs beyond Codestral API's list price, including implementation, training, and add-on fees.

This pricing was last verified in May 20, 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.

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 3 alternatives in the same category.

All Codestral API alternatives & migration guides

What Companies Actually Pay for Codestral API

Review scores
G2 4.3out of 5 (14)
Third-party review aggregates, as of Jul 2026
Top pricing complaints
Steep Technical Learning CurveSpotty Support and BugsLack of Nuance in CommunicationNonsensical Continuations

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
DeepSeek API Free $0.87/month
Augment Code API $100/month $100/month
Codeium API Free $200/month

6 Codestral API Hidden Costs Beyond the List Price

Beyond the listed price, Codestral API has at least 6 documented hidden costs that can significantly increase total cost of ownership.

Watch for 6 hidden costs
  • Development and Integration
    high 1 source
    industry "This involves connecting the API to helpdesks, knowledge bases, and other internal systems, representing a significant engineering project."
  • Ongoing Management
    medium 1 source
    industry "Ongoing Management and Maintenance: Continuous management of the integration, including prompt engineering, monitoring, and updates, contributes to ongoing operational expenses."
  • Feature Gaps
    medium 1 source
    industry "Feature Gaps: The absence of built-in features like analytics, comprehensive testing dashboards, and advanced prompt management tools in the raw API necessitates additional development or third-party solutions, adding to the overall cost."
  • Unpredictable Usage Spikes
    high 1 source
    industry "A sudden increase in customer interactions or internal AI tool usage can lead to unexpected spikes in billing."
  • Tokenization Optimization
    medium 1 source
    industry "Inefficient prompt design or large context windows can significantly amplify costs."
  • Suboptimal Model Selection
    medium 1 source
    industry "Model Selection: Using more powerful (and often more expensive) models for tasks that could be handled by smaller, cheaper alternatives can lead to excessive costs."
Tip

Ask your Codestral API sales rep about these costs upfront. Getting them in writing before signing can save you from surprise charges later.

Full hidden costs breakdown →

Intelligence sourced from 2 independent sources
industry G2 B2B reviews
Key claims include inline source attribution. Data verified against multiple independent sources. 7 source citations total.

Codestral API Contract Terms

Codestral API contracts do not auto-renew. Changes require advance notice. These terms are sourced from verified buyer experiences.

Contract Terms
Minimum Commitment no stated minimum commitment
Based on 1 verified source

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.