codestral-2508
Mistral · chat model
codestral-2508 is listed here as a chat model from Mistral. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
Input
$0.3000 / 1M tokens
Output
$0.9000 / 1M tokens
Cached input
N/A
Context
256.0K
Quick read
Best for
Use this page when you need a fast view of cost, context size, and supported features before testing the model in your own workload.
Things to verify
Always check the provider page for discounts, cache pricing, region rules, and any model limits that may not appear in public metadata.
Pricing
| Item | Price |
|---|---|
| Input | $0.3000 / 1M tokens |
| Output | $0.9000 / 1M tokens |
| Embedding | $0.3000 / 1M tokens |
Token limits
Context window
256.0K
Max input tokens
256.0K
Max output tokens
256.0K
Max tokens
256.0K
Capabilities
| Capability | Supported |
|---|---|
| Vision | — |
| Function calling | ✅ |
| Parallel function calling | — |
| Tool choice | ✅ |
| Prompt caching | — |
| Reasoning | — |
| Response schema | ✅ |
| System messages | — |
| Audio input | — |
| Audio output | — |
| Web search | — |
| PDF input | — |
| Video input | — |
Benchmarks
Most benchmark rows are attached to the base model family rather than this provider route. Open benchmark explorer
| Benchmark | Score | Metric | Scope | Checked | Source |
|---|---|---|---|---|---|
| Codestral 25.01 overview table | 81.1% | HumanEval | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 78.2% | MBPP | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 51.3% | CruxEval | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 31.5% | LiveCodeBench | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 34.0% | RepoBench | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 63.5% | Spider | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 50.5% | CanItEdit | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 65.6% | HumanEval (average) | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Codestral 25.01 overview table | 82.1% | HumanEvalFIM (average) | Base model: Codestral (Codestral-2405) | 2026-05-31 | Link |
| Aider Polyglot | 11.1% | percent correct | Base model: Codestral (Codestral 25.01) | 2026-05-31 | Link |
Sources
| Source links | |
| Pricing data | LiteLLM model cost map |
| Synced at | 2026-05-28 |
Docs
| Official docs |
Similar models
This list is ranked by overall similarity. Use filters to emphasize the lens that matters most for the replacement you are making.
Comparing from
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| codestral-2508 Mistral | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| minimax-m2p1 fireworks_ai | In $0.3000 / 1M tokens Out $1.2000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 204.8K | Text covered Overall 94% |
| minimax-m2p1 fireworks_ai | In $0.3000 / 1M tokens Out $1.2000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 204.8K | Text covered Overall 94% |
| devstral-latest Mistral | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Same provider Overall 92% |
| devstral-medium-latest Mistral | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Same provider Overall 92% |
| devstral-2512 Mistral | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Same provider Overall 92% |
| qwen3-coder OpenRouter | In $0.2200 / 1M tokens Out $0.9500 / 1M tokens | text
Output: text | Function callingTool choice | 262.1K | Text covered Overall 88% |
| devstral-small-latest Mistral | In $0.1000 / 1M tokens Out $0.3000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Same provider Overall 87% |
| labs-devstral-small-2512 Mistral | In $0.1000 / 1M tokens Out $0.3000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 256.0K | Same provider Overall 87% |
| deepseek-r1-distill-llama-70b vercel_ai_gateway | In $0.7500 / 1M tokens Out $0.9900 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 131.1K | Text covered Overall 86% |
| devstral-medium-2507 Mistral | In $0.4000 / 1M tokens Out $2.0000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 128.0K | Same provider Overall 84% |
| firefunction-v2 fireworks_ai | In $0.9000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 8.2K | Text covered Overall 79% |
| mixtral-8x22b-instruct-hf fireworks_ai | In $1.2000 / 1M tokens Out $1.2000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 65.5K | Text covered Overall 79% |
| open-mixtral-8x7b Mistral | In $0.7000 / 1M tokens Out $0.7000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 8.2K | Same provider Overall 78% |
| codestral vercel_ai_gateway | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Text covered Overall 77% |
| kimi-k2-instruct-0905 fireworks_ai | In $0.6000 / 1M tokens Out $2.5000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 32.8K | Text covered Overall 75% |
| kimi-k2-instruct fireworks_ai | In $0.6000 / 1M tokens Out $2.5000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 16.4K | Text covered Overall 74% |
| llama-v3p1-405b-instruct fireworks_ai | In $3.0000 / 1M tokens Out $3.0000 / 1M tokens | text
Output: text | Function callingTool choiceResponse schema | 16.4K | Text covered Overall 70% |
| glm-4.6v novita | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text imagevideo
Output: text | Function callingTool choiceResponse schema | 32.8K | Text covered Overall 57% |
| codestral-2@001 vertex_ai-mistral_models | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: unknown | Function callingTool choice | 128.0K | Partial I/O overlap Overall 44% Missing text |
| codestral-2 vertex_ai-mistral_models | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: unknown | Function callingTool choice | 128.0K | Partial I/O overlap Overall 44% Missing text |
| codestral-2@001 vertex_ai-mistral_models | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: unknown | Function callingTool choice | 128.0K | Partial I/O overlap Overall 44% Missing text |
| codestral-2 vertex_ai-mistral_models | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: unknown | Function callingTool choice | 128.0K | Partial I/O overlap Overall 44% Missing text |
No models match this filter.