Codestral 22B
Codestral 22B is a language model with 22B parameters from Mistral AI. It is currently free at 1 provider with up to — tokens of context. The model is suited to coding.
- Developer
- Mistral AI
- Parameters
- 22B
- Type
- Text
- License
- Proprietary
Where to use Codestral 22B for free
Each row is a separate free endpoint with its own limits.
| Provider | Context | Limit | Card | |
|---|---|---|---|---|
NVIDIA Build mistralai/codestral-22b-instruct-v0.1 |
— | Free serverless inference for development; limits and model availability may change. | No | Open |
Quick start
curl https://integrate.api.nvidia.com/v1/chat/completions \
-H "Authorization: Bearer $NVIDIA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "mistralai/codestral-22b-instruct-v0.1",
"messages": [{"role": "user", "content": "Hello!"}]
}'from openai import OpenAI
client = OpenAI(
base_url="https://integrate.api.nvidia.com/v1",
api_key="YOUR_NVIDIA_API_KEY",
)
reply = client.chat.completions.create(
model="mistralai/codestral-22b-instruct-v0.1",
messages=[{"role": "user", "content": "Hello!"}],
)
print(reply.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://integrate.api.nvidia.com/v1",
apiKey: process.env.NVIDIA_API_KEY,
});
const reply = await client.chat.completions.create({
model: "mistralai/codestral-22b-instruct-v0.1",
messages: [{ role: "user", content: "Hello!" }],
});
console.log(reply.choices[0].message.content);Example for NVIDIA Build. Any OpenAI-compatible client works: Cursor, Cline, OpenCode, Open WebUI.
Benchmarks
This model is not on the Artificial Analysis leaderboard yet. We do not publish our own estimates.
Similar free models
FAQ
Is Codestral 22B free?
Yes. As of September 26, 2026, Codestral 22B is free at NVIDIA Build. Each provider has its own limits — see the table above.
How do I call Codestral 22B via API?
Use any OpenAI-compatible client with base URL https://integrate.api.nvidia.com/v1, model ID mistralai/codestral-22b-instruct-v0.1, and a NVIDIA Build key.
Is Codestral 22B open-weight?
No, it is proprietary: access is only through provider APIs.