codestral
vercel_ai_gateway · chat model
codestral is listed here as a chat model from vercel_ai_gateway. This page shows simple API pricing, token limits, and capability flags so you can compare it with similar options.
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
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.
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| codestral vercel_ai_gateway | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Current model Reference row |
| Model | Cost | Input shape | Features | Context | Why it is close |
|---|---|---|---|---|---|
| gpt-3.5-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 92% |
| gpt-35-turbo Azure | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 92% |
| gpt-3.5-turbo vercel_ai_gateway | In $0.5000 / 1M tokens Out $1.5000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 92% |
| command-r vercel_ai_gateway | In $0.1500 / 1M tokens Out $0.6000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 91% |
| Llama-3.3-70B-Instruct azure_ai | In $0.7100 / 1M tokens Out $0.7100 / 1M tokens | text
Output: text | Function callingTool choice | 2.0K | Text covered Overall 85% |
| llama-3.3-70b vercel_ai_gateway | In $0.7200 / 1M tokens Out $0.7200 / 1M tokens | text
Output: text | Function callingTool choice | 8.2K | Same provider Overall 85% |
| DeepSeek-V3-0324 deepinfra | In $0.2500 / 1M tokens Out $0.8800 / 1M tokens | text
Output: text | Function callingTool choice | 163.8K | Text covered Overall 84% |
| DeepSeek-V3.1-Terminus deepinfra | In $0.2700 / 1M tokens Out $1.0000 / 1M tokens | text
Output: text | Function callingTool choice | 163.8K | Text covered Overall 83% |
| DeepSeek-V3 deepinfra | In $0.3800 / 1M tokens Out $0.8900 / 1M tokens | text
Output: text | Function callingTool choice | 163.8K | Text covered Overall 83% |
| gpt-35-turbo-16k-0613 Azure | In $3.0000 / 1M tokens Out $4.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 83% |
| grok-2 vercel_ai_gateway | In $2.0000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Same provider Overall 82% |
| qwen3-coder OpenRouter | In $0.2200 / 1M tokens Out $0.9500 / 1M tokens | text
Output: text | Function callingTool choice | 262.1K | Text covered Overall 82% |
| Qwen3-Coder-480B-A35B-Instruct-Turbo deepinfra | In $0.2900 / 1M tokens Out $1.2000 / 1M tokens | text
Output: text | Function callingTool choice | 262.1K | Text covered Overall 82% |
| command-r-plus vercel_ai_gateway | In $2.5000 / 1M tokens Out $10.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Same provider Overall 82% |
| ministral-3b vercel_ai_gateway | In $0.0400 / 1M tokens Out $0.0400 / 1M tokens | text
Output: text | Function callingTool choice | 4.0K | Same provider Overall 82% |
| grok-3-mini vercel_ai_gateway | In $0.3000 / 1M tokens Out $0.5000 / 1M tokens | text
Output: text | Function callingTool choice | 131.1K | Same provider Overall 81% |
| gpt-4-0613 Azure | In $30.0000 / 1M tokens Out $60.0000 / 1M tokens | text
Output: text | Function callingTool choice | 4.1K | Text covered Overall 80% |
| Phi-4 azure_ai | In $0.1250 / 1M tokens Out $0.5000 / 1M tokens | text
Output: text | Function callingTool choice | 16.4K | Text covered Overall 79% |
| codestral-2508 Mistral | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text
Output: text | Function callingTool choice | 256.0K | Text covered Overall 77% |
| glm-4.6v novita | In $0.3000 / 1M tokens Out $0.9000 / 1M tokens | text imagevideo
Output: text | Function callingTool choice | 32.8K | Text covered Overall 53% |
| 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 45% 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 45% 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 45% 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 45% Missing text |
No models match this filter.