Last refreshed 2026-04-15. Next refresh: weekly.
Why use Codestral 22B on Mistral AI Studio?
Mistral AI Studio offers Codestral 22B with pay-as-you-go pricing at $0.30/1M input tokens. Mistral AI is a French company developing advanced language models and AI technologies.
Compare Codestral 22B across 2 providers to find the best fit for your use caseSetup recipe
Docs fallbackUse the provider REST API or SDKCreate a provider API keymodel: codestral-22bcodestral-22bRequest example
codestral-22b.Gotchas
No curated gotchas have been sourced for this exact provider/model route yet.
Compare Codestral 22B Across Providers
| Provider | Input (per 1M) | Output (per 1M) |
|---|---|---|
| NVIDIA NIM | — | — |
| Mistral AI Studio | $0.30 | $0.90 |
Pricing
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.30 |
| Output tokens | $0.90 |
Capabilities
No model capability flags are currently sourced.
About Codestral 22B
Codestral 22B is a large language model developed by Mistral AI, tailored specifically for code generation tasks. It excels in assisting developers by understanding and generating code in over 80 programming languages, including popular ones like Python and Java, as well as niche languages such as Swift and Fortran. Its standout features include the ability to generate code from scratch, complete functions, write tests, and a "fill-in-the-middle" capability for completing partial code. Designed with a large context window of 32k tokens, Codestral 22B effectively handles long-range code completion tasks, making it ideal for various software development stages, including refactoring and debugging. Available on Hugging Face under a non-production license for research and testing, commercial licenses can be obtained on request.
FAQ
What does Codestral 22B cost on Mistral AI Studio?
On Mistral AI Studio, Codestral 22B costs $0.30 per 1M input tokens and $0.90 per 1M output tokens.
What is the context window for Codestral 22B on Mistral AI Studio?
Codestral 22B supports a 32,000 token context window on Mistral AI Studio.
How does Mistral AI Studio compare to other Codestral 22B providers?
Codestral 22B is available from 2 providers. The cheapest input pricing is $0.30/1M tokens from Mistral AI Studio.
Who created Codestral 22B?
Codestral 22B was created by MistralAI as part of the Codestral model family.
Is Codestral 22B open source?
Codestral 22B's open source status is unknown in the seed data.