Codestral 22B on Mistral AI Studio

Codestral · MistralAI

ServerlessOpen Weights

Last refreshed 2026-06-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 case
Input / 1M
$0.30
Output / 1M
$0.90
Cache
Not sourced
Batch
Not sourced

Setup recipe

Docs fallback
Install
Use the provider REST API or SDK
Auth
Create a provider API key
Call
model: codestral-22b
Model ID
codestral-22b

Request example

Curated snippets for this provider are not sourced yet. Use Mistral AI Studio documentation with model ID codestral-22b.

Gotchas

No curated gotchas have been sourced for this exact provider/model route yet.

Compare Codestral 22B Across Providers

ProviderInput (per 1M)Output (per 1M)
NVIDIA NIM——
Mistral AI Studio$0.30$0.90

Pricing

TypePrice (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.

Get Started

Model Specs

Released2024-05-29
Parameters22B
Context32k
ArchitectureDecoder Only