Codestral
Codestral is a model from Mistral. Prices, limits and sources below were read from the vendor's own pages.
Codestral costs $0.30 per million input tokens and $0.90 per million output tokens on Mistral's own API as of Nov 22, 2026 (UTC). OpenRouter also lists a price for it; the host table below shows each one with its source and check date.
API price
- Input
- $0.30per 1M tokens
- Output
- $0.90per 1M tokens
Standard tier, USD, as in force on Nov 22, 2026 (UTC). A scheduled change starts at 00:00 UTC on its date.
Specifications
| API model id | codestral-2508 |
|---|---|
| Released | Jul 30, 2025 |
| Context window | 128K tokens |
| Max output | Not published |
| Input types | text |
| Open weights | No |
| Status | Generally available |
Benchmark scores
No benchmark in this catalog lists a score for Codestral.
Official leaderboard scores come from the benchmark's own page; vendor-reported scores use each vendor's own harness and are not a like-for-like ranking.
Prices at other hosts
USD per 1M tokens. Each host row is what that host's own public page or price list states for Codestral, read on the date shown; hosts change prices and differ by region and deployment type, so check the linked page before relying on one. OpenRouter is a router: its listed price can be another provider's price for the same model, and it is read from OpenRouter's public models listing.
Cost column: 1,000,000 input and 200,000 output tokens a day for 30 days, at each row's listed standard price (no cache, batch or long-context discount). "Cheapest" marks the lowest priced row in force today; the rows keep their order whatever the cost.
| Host and route | Input | Output | Cached input | Batch in / out | Cost for 30 days | Source, checked (UTC) |
|---|---|---|---|---|---|---|
| $0.30 | $0.90 | not listed | not listed | $14.40Tied cheapest | Sources below, checked | |
| $0.30 | $0.90 | $0.03 | not listed | $14.40Tied cheapest | openrouter.ai (opens in a new tab)read from openrouter.ai (opens in a new tab)checked |
Host prices were last read by the sync tool on . A host that is not in the table either does not list this model or its page does not state a price the tool could read. Amazon Bedrock rows use US East (N. Virginia) rates; Azure rows are East US 2 list prices for a global deployment.
Guides: Is a third-party host cheaper than the lab?; Bedrock, Vertex AI and Azure compared
Cost against score
No official leaderboard in this catalog lists a score for Codestral, so it has no place on a cost frontier.
Questions about Codestral
- How much does Codestral cost through the API?
- Mistral lists $0.30 per 1M input tokens and $0.90 per 1M output tokens for Codestral, in force on Nov 22, 2026 (UTC).
- Which host is cheapest for Codestral?
- For 1,000,000 input and 200,000 output tokens a day over 30 days, Mistral (the vendor itself) has the lowest listed price at about $14.40 ($0.30 input and $0.90 output per 1M tokens), as of Nov 22, 2026. OpenRouter lists the same price, so it is equally cheap. 2 hosts list a price we could read; the host table on this page shows each one with its source. Standard prices only; cached, batch and long-context prices are not used.
- What does cached input cost for Codestral?
- The lowest cached input price we read is $0.03 per 1M tokens at OpenRouter. As of Nov 22, 2026.
- What is the context window of Codestral?
- Codestral accepts up to 128K tokens of context (128,000 tokens); the vendor does not publish a maximum output length.
- When was Codestral released?
- Codestral was released on Jul 30, 2025, according to Mistral.
Answers are computed from the prices and limits on this page, as of the build day shown in each answer.
Compare Codestral
More from Mistral
Sources
- docs.mistral.ai/models/codestral-25-08.md (opens in a new tab)
- docs.mistral.ai/inference/pricing.md (opens in a new tab)
- docs.mistral.ai/inference/model-selection-guide.md (opens in a new tab)
Codestral was last checked against these pages on . Data is updated continuously and may be a little behind the source; follow a link for the current figure.