Using Codestral 22B on NVIDIA NIM
Implementation guide · Codestral · MistralAI
NVIDIA NIM exposes Codestral 22B through model ID codestral-22b. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-05-01. Next refresh: weekly.
Quick Start
- 1
- 2Use the NVIDIA NIM SDK or REST API to call
codestral-22b— see the documentation for request format. - 3
Code Examples
Pricing on NVIDIA NIM
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.