Mistral

Codestral

Public pricingMedium memory

Codestral is Mistral's medium-memory model. This page shows current pricing, an interactive cost calculator, and a side-by-side with similar models.

Input

$0.20/1M tokens

Output

$0.60/1M tokens

Cached

β€”

Batch

β€”

Interactive

Calculate your Codestral bill.

Adjust the workload below and watch the monthly cost update in real time.

What would Codestral cost you?

Adjust the workload to see your monthly bill.

1,00010,00050,000250,0001M10M

Technical specifications

Codestral at a glance.

Memory

32,000

tokens

Max reply

8,192

tokens

Memory tier

Medium

a long report or a codebase file

Tokenizer

mistral

Released

β€”

Training cutoff

β€”

Availability

Public pricing

Status

active

What it can do

Capabilities & limits.

  • Understands images
  • Deep step-by-step thinking
  • Uses tools / calls functions
  • Strict JSON output
  • Streams replies
  • Fine-tunable on your data

When to pick Codestral

  • High-volume workloads where unit cost matters.
  • Code generation, review, or refactoring.

When to look elsewhere

  • Your workload involves images β€” pick a vision-capable model instead.
  • You need tool-use / function calling for agent workflows.

FAQ

Codestral β€” the questions we see most.

Pricing, capabilities, alternatives β€” generated from the same data that powers the calculator above.

Get instant answers from our AI agent

At a typical workload of 50,000 conversations a month with 1,500-token prompts and 800-token replies, Codestral costs roughly $39 per month. Input is $0.20 /1M tokens and output is $0.60 /1M tokens.
Codestral has a 32,000-token context window (medium memory β€” a long report or a codebase file). That means you can fit about 6,000 words of input and history in a single call.
Models in a similar class include devstral-small-2505, DeepSeek V3.2, DeepSeek V3. The "Similar models" section below this FAQ links into each.

Still unsure?

Compare Codestral against 100+ other models.

Open the full wizard β€” pick a use case, set your usage, and see side-by-side monthly costs in under a minute.