Using Codestral 2501 on Microsoft Foundry
Implementation guide · Codestral · MistralAI
ServerlessOpen Weights
Microsoft Foundry exposes Codestral 2501 through model ID codestral-2501. Use the setup steps, sourced pricing, capabilities, and official provider links below to validate this route before deployment.
Last refreshed 2026-05-22. Next refresh: weekly.
Quick Start
- 1
- 2Use the Microsoft Foundry SDK or REST API to call
codestral-2501— see the documentation for request format. - 3
Code Examples
Pricing on Microsoft Foundry
| Type | Price (per 1M) |
|---|---|
| Input tokens | $0.30 |
| Output tokens | $0.90 |
Capabilities
No model capability flags are currently sourced.
About Codestral 2501
From partners/community. Code generation model with very long context: 262,144 tokens. Output 4,096 tokens. Tool calling: No. English only.
Model Specs
Released2025-01-01
Parameters22B
Context262k