TokenCalculator.com
Home Models Mistral Codestral (22B)

Mistral Codestral (22B)

Mistral AI 32K context Released: 2024-05

Mistral AI's open-weight generative model specialized for code generation, supporting 80+ languages.

Visit Model Website

Pricing Information

Input Pricing

Standard: $0.2000
Per 1,000 tokens

Output Pricing

Standard: $0.6000
Per 1,000 tokens

Example Costs

Short Conversation
1K input + 500 output tokens
$0.5000
Book Analysis
50K input + 2K output tokens
$11.20

Token Calculator

Tokens: 0
Words: 0
Characters: 0
Input Cost: $0.00
Estimated based on current token count as input
Use our main calculator for more detailed estimates including input/output combinations.

Key Features

  • Specialized for code (80+ languages)
  • 22 billion parameters
  • Open weights
  • 32K context window
  • Strong performance on coding benchmarks

Common Use Cases

  • Code completion
  • Code generation from instructions
  • Code explanation & debugging
  • Unit test generation
  • Language translation for code

Frequently Asked Questions

What is Codestral specialized for?

What is the context window size for Codestral?