Try Bifrost Enterprise free for 14 days.
Explore now

codestral-2405 Cost Calculator - Mistral

Calculate the cost of using codestral-2405 from Mistral for your AI applications

codestral-2405 Cost Calculator

Mode: Chat

Max: 32,000 tokens

Max: 8,191 tokens

Cost Breakdown

Input Cost$0.001000
Output Cost$0.003000
Total Cost$0.004000

Pricing Details

Input: $0.00000100 per token
Output: $0.00000300 per token
[ WE'RE OPEN SOURCE ]

Scale with the Fastest LLM Gateway

Built for enterprise-grade reliability, governance, and scale. Deploy in seconds.

Model Specifications

Limits

Max Input Tokens32,000
Max Output Tokens8,191
Max Tokens8,191

About codestral-2405

codestral-2405 is a powerful chat AI model offered by Mistral. This comprehensive guide provides detailed pricing information, technical specifications, and capabilities to help you understand the costs and features of using codestral-2405 in your development applications.

Pricing Information

Input Cost$1.00 per 1M tokens
Output Cost$3.00 per 1M tokens

Note: Use the interactive calculator above to estimate costs for your specific usage patterns.

Technical Specifications

Maximum Input Tokens32,000
Maximum Output Tokens8,191
Maximum Total Tokens8,191

Pro Tip

Use the maximum token limits shown above to understand the model's capacity. This model can handle up to 32,000 input tokens. The maximum output length is 8,191 tokens.

Model Capabilities

Response Schema - Structured output formatting
When should you use codestral-2405?

codestral-2405 is best suited for the following scenarios:

  • Code generation and completion
  • Bug fixing and refactoring
  • Developer tooling and IDE assistants
When should you avoid codestral-2405?
  • High-volume text generation where output cost dominates
  • Streaming or verbose response workloads
  • Complex multi-step reasoning or planning tasks
  • Applications requiring image, audio, or multimodal inputs
  • Very large documents or long conversational histories
  • Non-technical content generation or general-purpose chat
  • Creative writing or marketing copy generation
How does codestral-2405 compare to similar models?

Compared to other models in a similar category, this model is more cost-efficient on input tokens but relatively expensive on output tokens. It is better suited for retrieval-heavy or context-rich workflows than generation-heavy use cases.

Understanding codestral-2405 pricing
  • codestral-2405 is a coding and software development model provided by Mistral.
  • Input tokens are priced at $1.00 per 1M tokens.
  • Output tokens are priced at $3.00 per 1M tokens.
  • The model supports a maximum input capacity of 32,000 tokens.
  • Maximum output length is 8,191 tokens.
  • For this model, input tokens are less expensive than output tokens, so optimizing your prompts can help manage costs.
  • Mistral offers codestral-2405 for coding and software development workloads — code generation, code completion, debugging, and software development tasks.

How to Use This Calculator

Step 1: Enter the number of input tokens you expect to use. Input tokens include your prompt, system messages, and any context you provide to the model.

Step 2: Specify the number of output tokens you anticipate. Output tokens are the text generated by the model in response to your input.

Step 3: Review the cost breakdown to see the total estimated cost for your usage. The calculator automatically updates as you adjust the token counts.