Model ComparisonMistral AI

Codestral

Codestral by Mistral AI. Input: $0.30/M tokens · Output: $0.90/M tokens · 256K context window.

VisionTool usePrompt cachingReasoningFast
Pricing (verified 2026-08-19)
TypePrice / 1M tokensNotes
Input$0.30Per 1M input tokens
Output$0.90Per 1M output tokens
Source: Mistral AI official pricing page · Last verified 2026-08-19
Context Window
256K tokens
192K words · 1 pages of text

Calculate your Codestral costs

Prompt Cost Calculator
Exact cost for your prompt
Agent Cost Calculator
Multi-step agent loops
Prompt Caching Calculator
Caching savings
Conversation Cost
Chat history strategies

Other Mistral AI models

Mistral Large 2$2.00/MMistral Small 3$0.10/MMinistral 8B$0.10/M

Pricing verified 2026-08-19 from Mistral AI official pricing. All prices in USD per 1M tokens. See methodology and price changelog.