Ask

Codestral Pricing

by Mistral

Updated August 2026

Calculate Cost

According to UsagePricing's tracker, Codestral costs $0.30 per 1M input tokens and $0.90 per 1M output tokens as of August 2026. The model supports a 256,000-token context window.

Mistral code-completion model — 256K context for large repositories.

Token Costs (per 1M)

Input Price
$0.30
Output Price
$0.90

Technical Specs

Context Window 256,000 tokens
Last Updated August 2026
Provider Mistral

Price History

Date Input Price Output Price
8/31/2026 $0.30 $0.90

Building with Codestral?

Estimate your total monthly bill based on your expected traffic and usage patterns. Our advanced calculator handles complex scenarios like RAG and agentic workflows.

Frequently Asked Questions

How much does Codestral cost per 1M tokens?

Codestral costs $0.3 per 1M input tokens and $0.9 per 1M output tokens as of August 2026.

What is Codestral's context window?

Codestral has a context window of 256,000 tokens, meaning it can process approximately 192,000 words in a single request.

Who makes Codestral?

Codestral is made by Mistral. You can access it via the Mistral API.