Codestral – AI Code generation

Codestral is Mistral AI has released is a cutting-edge generative model that has been specifically designed and optimized for code generation tasks, including fill-in-the-middle and code completion. Codestral was trained on 80+ programming languages, enabling it to perform well on both common and less common languages.

What is Codestral?

Codestral is designed to help developers write and interact with code. It was trained on over 80 programming languages, including Python, Java, C++ and JavaScript, explains Mistral. Codestral can complete coding functions, write tests and “fill in” partial code, as well as answer questions about a codebase in English.

mistral ai

Codestral endpoints

codestral.mistral.ai

  • Monthly subscription based, free until 1st of August
  • Has a rate limit of 30 requests per minute and a high daily limit of 2000 requests
  • Requires a new key for which a phone number is needed

api.mistral.ai

  • Allows you to use your existing API key and you can pay to use Codestral
  • Ideal for business use
  • Provide higher rate limits of 200 requests per second per workspace

Test Codestral

Codestral is a 22B open-weight model licensed under the new Mistral AI Non-Production License, which means that you can use it for research and testing purposes. Codestral can be downloaded on HuggingFace.

Share

Leave a Reply

Your email address will not be published. Required fields are marked *