Codestral

codestral-latest · Mistral

Mistral has launched a new code model - Codestral 25.01; https://mistral.ai/news/codestral-2501/

API Pricing

Input$0.4 / 1M tokens
Output$1.2 / 1M tokens

Frequently asked questions

What is Codestral?

Mistral has launched a new code model - Codestral 25.01; https://mistral.ai/news/codestral-2501/

How much does Codestral cost?

On AIHubMix, Codestral costs $0.4 per million input tokens and $1.2 per million output tokens.

How do I call Codestral via API?

Codestral is available through the AIHubMix unified API. The API is OpenAI-compatible: point your OpenAI SDK at https://aihubmix.com/v1, use your AIHubMix API key, and set the model name to codestral-latest — no other code changes needed.

Who created Codestral?

Codestral is developed by Mistral. AIHubMix aggregates it alongside models from other providers behind one API and one bill.

More models from Mistral

See all Mistral models →

Mistral Large 3

by Mistral

Mistral Large 3 is a MoE model with 67.5B total parameters and 41B active parameters…

$0.5/1M in · $1.5/1M out
256,000 tokens context

AiHubmix-mistral-medium

by Mistral

Mistral Medium 3 is a SOTA & versatile model designed for a wide range of tasks…

$0.4/1M in · $2/1M out

chutesai/Mistral-Small-3.1-24B-Instruct-2503

by Mistral

Mistral's latest open-source small model; provided by chutes.ai.

$0.2/1M in · $0.8/1M out

Aihubmix Mistral Large 2411

by Mistral

The latest Mistral Large 2 model is deployed on Azure.

$2/1M in · $6/1M out

Aihubmix Mistral Large 2407

by Mistral
$3/1M in · $9/1M out

Mistral Large 2407

by Mistral
$3/1M in · $9/1M out

Use Codestral via the AIHubMix unified API — one interface for every major LLM.