AI model comparison
Codestral 2508 vs Pixtral Large 2502
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
Pixtral Large 2502- Context tokens
- 128K
- Input / 1M
- $2.00
- Output / 1M
- $6.00
- Codestral 2508
- 256K
- Pixtral Large 2502
- 128K
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 $3.50 for Pixtral Large 2502.
- Context window
- Codestral 2508 lists 256,000 tokens of context. Pixtral Large 2502 lists 128,000 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 | Pixtral Large 2502 |
|---|---|---|
| Uncached input | $0.30 | $2.00 |
| Output | $0.90 | $6.00 |
| 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.
Codestral 2508 costs $2.975 less at this token mix.
Model specifications
Context, output limits, modalities, and supported API parameters from the catalog.
| Specification | Codestral 2508 | Pixtral Large 2502 |
|---|---|---|
| Catalog status | Listed | Listed |
| Catalog model ID | mistralai/codestral-2508 | mistralai/pixtral-large-2502 |
| Provider | Mistral AI | Mistral AI |
| Context window | 256,000 tokens | 128,000 tokens |
| Max output | 204,800 tokens | 102,400 tokens |
| Input modalities | Text, File | Text, Image |
| Output modalities | Text | Text |
| Reasoning controls | Unverified | Unverified |
| Tool calling | Listed | Unverified |
| Structured outputs | Listed | Unverified |
| 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 | Nov 20, 2026 |
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.
Pixtral Large 2502
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
- Pixtral Large 2502 catalog entry