LLM Pricing
ModelsLeaderboardsToolsProvidersReleasesArticles

© 2026 LLM Pricing

About
·Contact
·Privacy
·RSS
← Model list

Codestral (latest)

mistral·mistral/codestral-latest·GA·Open weights·codestral series
Mistral code model for completions, refactors, and developer IDE workflows

Specs & pricing

Input / output per 1M tokens
Official price·Mistral
$0.30 / $0.90
Blended $0.45 · Cache read $0.03
Lowest paid·MistralFirst-party
$0.30 / $0.90
Blended $0.45 · 1.1× spread
Context
256,000
Output limit
4,096
Knowledge cutoff
2024-10
Released / updated
2024-05-29 / 2025-01-04
Capabilities
Reasoning✓ Tool use✓ Structured output✓ TemperatureAttachments
⚠ Providers report capability flags inconsistently
Modalities
TextPDF
Weights
Hugging Face

Codestral (latest) by mistral is offered by 5 providers on this page. Its official list price is $0.30 per 1M input tokens and $0.90 per 1M output tokens. No paid channel is priced below the official list price.

The context window is 256,000 tokens at the reference host, but hosts report different limits, from 128,000 to 256,000, so the usable window depends on the provider you pick. It supports tool use and structured output. Accepted input modalities are Text and PDF. The weights are open, so it can also be self-hosted or served through a gateway of your choice. Providers report the capability flags inconsistently, so verify a specific feature against the host you plan to use. Its training knowledge cuts off at 2024-10.

Available at 5 providers5 with public prices

  • ProviderInput / Output
  • MistralOfficialFirst-party
    $0.30 / $0.90
    Cache read $0.03Context 256,000Output limit 4,096
  • Merge GatewayGateway
    $0.30 / $0.90
    Context 256,000Output limit 4,096
  • Eden AIGateway
    $0.30 / $0.90
    Cache read $0.03Context 256,000Output limit 4,096
  • Vercel AI GatewayCloud
    mistral/codestral
    $0.30 / $0.90
    Cache read $0.03Context 128,000 ⚠Output limit 4,000
  • Eden AIGateway
    mistral/codestral-latest@eu
    $0.33 / $0.99
    Cache read $0.033Context 256,000Output limit 4,096
ProviderTierInputOutputCache readCache writeContextOutput limitStatus
MistralOfficialFirst-party$0.30$0.90$0.03—256,0004,096
Merge GatewayGateway$0.30$0.90——256,0004,096
Eden AIGateway$0.30$0.90$0.03—256,0004,096
Vercel AI Gateway
mistral/codestral
Cloud$0.30$0.90$0.03—128,000 ⚠4,000
Eden AI
mistral/codestral-latest@eu
Gateway$0.33$0.99$0.033—256,0004,096

Sorted by blended price (input×0.75 + output×0.25) asc. The official channel always shows regardless of rank. Whether a gateway's low price is actually usable can't be verified.

Your usage cost

Common scenarios
1Mistral · Official$72.60
2Eden AI$72.60
3Vercel AI Gateway$72.60
4Eden AI$79.86
5Merge Gateway$105.00
The cheapest paid channel is official.

Price historyone sample accumulated per data sync

Input listOutput listMin blended
$0.90$02026-08-052026-08-13
2026-08-13Input list $0.30Output list $0.90Min blended $0.45

Benchmark1 items

NameConditionsScoreMetricSource
Aider Polyglot—11.1percent correctSource ↗

The same benchmark scores very differently across harness / dataset, so the qualifying conditions must be shown together.

Related models

Codestral 25.08same series$0.30 / $0.90Codestral 25.01same series—Mistral: Mistral Codestralsame series—GPT-4o minicheaper alternative$0.15 / $0.60Nova Litecheaper alternative$0.06 / $0.24Nova Microcheaper alternative$0.035 / $0.14Ministral 3 14Bcheaper alternative$0.20 / $0.20Devstral 2same lab$0.40 / $2.00
Data partly from models.dev (MIT) · Mistral official docs ↗