Input Price
$0.3
per 1M tokens
Output Price
$0.9
per 1M tokens
Context Window
128K
tokens (32.768K max output)
Specifications
Release Date2025-07-30
Category⚖️ Balanced
Context Window128,000 tokens
Max Output32,768 tokens
Capabilities
textcode
Related Use Cases
💬
AI Chatbot
Calculate the API cost of running a customer support or conversational AI chatbot.
~2,000 in · ~500 out
📄
Document Summarizer
Calculate how much it costs to summarize documents, reports, and articles with AI.
~8,000 in · ~1,000 out
💻
AI Code Assistant
Calculate the cost of building an AI-powered coding assistant or copilot.
~4,000 in · ~2,000 out
✍️
Content Generation
Calculate the cost of generating blog posts, marketing copy, and articles with AI.
~1,500 in · ~3,000 out
🔍
Data Extraction
Calculate the cost of extracting structured data from unstructured text with AI.
~3,000 in · ~1,500 out
🌐
AI Translation
Calculate the cost of translating text with AI language models.
~2,000 in · ~2,500 out
Monthly Cost Estimates
| Usage Level | Daily Tokens | Daily | Monthly | Yearly |
|---|---|---|---|---|
| Light~50 requests/day | 100K in / 20K out | $0.05 | $1.44 | $18 |
| Medium~200 requests/day | 500K in / 100K out | $0.24 | $7.20 | $88 |
| Heavy~1K requests/day | 2,000K in / 500K out | $1.05 | $31.50 | $383 |
| Enterprise~5K requests/day | 10,000K in / 2,000K out | $4.80 | $144.00 | $1752 |
Cost Calculator
Alternatives to Codestral
💰 Cheaper Options
Frequently Asked Questions
How much does Codestral API cost per million tokens?▼
Codestral costs $0.3 per million input tokens and $0.9 per million output tokens as of 2026. These are the standard API rates from Mistral AI.
What is the Codestral context window?▼
Codestral supports a 128K context window (128,000 tokens), which means you can process up to 128K tokens in a single API call.
How much does Codestral cost per month?▼
At medium usage (~200 requests/day with 500K input and 100K output tokens/day), Codestral costs approximately $7.20/month. Light usage runs about $1.44/month, and heavy usage (~1K requests/day) around $31.50/month.
Is there a cheaper alternative to Codestral?▼
Yes — Llama 4 Maverick by Meta (via Together AI) is a cheaper option at $0.27/M input tokens vs $0.3/M for Codestral. Other budget alternatives include models in the efficient tier.
Is Codestral good for ai chatbot?▼
Codestral is a balanced model with support for text, code. For ai chatbot, it offers 128K context and costs $0.3/M input tokens — a budget-friendly choice for this use case.
Codestral Comparisons
Ready to use Codestral?
Get started with Mistral AI's API — free tier available for most models.