AI model comparison
Codestral 2508 vs Mistral Small 3
Compare benchmark results, pricing, and API capabilities for each model. Estimate the cost of your own token mix.
Change models
Mistral AI
Codestral 2508- Context tokens
- 256K
- Input / 1M
- $0.30
- Output / 1M
- $0.90
Mistral AI
Mistral Small 3- Context tokens
- 32.77K
- Input / 1M
- $0.05
- Output / 1M
- $0.08
- Codestral 2508
- 256K
- Mistral Small 3
- 32.77K
The trade-offs
Start with the differences that affect how this model fits your workload.
- Token cost
- For 1 million input tokens and 250,000 output tokens, the listed rates estimate $0.525 for Codestral 2508 and $0.07 for Mistral Small 3.
- Context window
- Codestral 2508 lists 256,000 tokens of context. Mistral Small 3 lists 32,768 tokens. Reserve space for the output before routing long inputs.
- Tool calls
- The catalog lists tool calling for Codestral 2508. Check tool-schema compatibility in the serving endpoint before switching traffic.
Benchmarks
Shared results come from the same published benchmark release. Reasoning effort and serving configuration can differ.
A shared benchmark result is unavailable for these model IDs.
Pricing and token cost
Listed OpenRouter prices in US dollars. Actual charges depend on the endpoint, tier, cache, and token mix.
| USD per million tokens | Codestral 2508 | Mistral Small 3 |
|---|---|---|
| Uncached input | $0.30 | $0.05 |
| Output | $0.90 | $0.08 |
| Cache read | $0.03 | Unavailable |
| Cache write | Unavailable | Unavailable |
Rates are a catalog snapshot. OpenRouter Models API
Estimate your workload
Enter total token counts. The estimate uses uncached input and output rates.
Mistral Small 3 costs $0.455 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Codestral 2508 | Mistral Small 3 |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | mistralai/codestral-2508 | mistralai/mistral-small-24b-instruct-2501 |
| Provider | Mistral AI | Mistral AI |
| Context window | 256,000 tokens | 32,768 tokens |
| Max output | 204,800 tokens | 16,384 tokens |
| Input modalities | Text, File | Text |
| Output modalities | Text | Text |
| Reasoning controls | Unverified | Unverified |
| Tool calling | Listed | Unverified |
| Structured outputs | Listed | Listed |
| Serving endpoints | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses | /api/v1/chat/completions, /api/v1/completions, /api/v1/messages, /api/v1/responses |
| Catalog listing date | Aug 1, 2025 | Jan 30, 2025 |
Use with Weave Router
Set a quality bar on your own coding tasks. Then compare cost per completed task and use the same harness when you change models.
Codestral 2508
Weave Router availability is unverified for this model ID.
Mistral Small 3
Weave Router availability is unverified for this model ID.
Catalog presence does not guarantee availability for a specific plan or account. Public Weave Router catalog · Nov 27, 2026
Sources
Each benchmark links to its own result and test method when available.
- OpenRouter Models API · token rates and catalog specifications
- Weave Router catalog · verified Router model IDs
- Codestral 2508 catalog entry
- Mistral Small 3 catalog entry
- Mistral Small 3 model repository