LLM Reference
Microsoft Foundry

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. 1
    Create an account at Microsoft Foundry and generate an API key.
  2. 2
    Use the Microsoft Foundry SDK or REST API to call codestral-2501 — see the documentation for request format.
  3. 3
    You'll be billed $0.30/1M input, $0.90/1M output tokens. See full pricing.

Code Examples

See Microsoft Foundry documentation for integration details.

Pricing on Microsoft Foundry

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

Provider

Microsoft Foundry
Microsoft Foundry

Microsoft

Redmond, Washington, United States