codestral-latest
text-completion-codestral · completion model
Input
N/A
Output
N/A
Cached input
N/A
Context
8.2K
Pricing
| Item | Raw value (per token) | Normalized |
|---|---|---|
| Input | 0 | N/A |
| Output | 0 | N/A |
| Embedding | 0 | N/A |
Token limits
Context window
8.2K
Max input tokens
32.0K
Max output tokens
8.2K
Max tokens
8.2K
Capabilities
| Capability | Supported |
|---|---|
| Vision | No |
| Function calling | No |
| Parallel function calling | No |
| Tool choice | No |
| Prompt caching | No |
| Reasoning | No |
| Response schema | No |
| System messages | No |
| Audio input | No |
| Audio output | No |
| Web search | No |
| PDF input | No |
| Video input | No |
Similar models
Models with comparable pricing in the same mode (completion).
| Model | Provider | Input | Output | Context | Coding | Features |
|---|---|---|---|---|---|---|
| text-bison | palm | $0.1250 / 1M tokens | $0.1250 / 1M tokens | 1.0K | N/A | |
| text-bison-001 | palm | $0.1250 / 1M tokens | $0.1250 / 1M tokens | 1.0K | N/A | |
| text-bison-safety-off | palm | $0.1250 / 1M tokens | $0.1250 / 1M tokens | 1.0K | N/A | |
| text-bison-safety-recitation-off | palm | $0.1250 / 1M tokens | $0.1250 / 1M tokens | 1.0K | N/A | |
| babbage-002 | text-completion-openai | $0.4000 / 1M tokens | $0.4000 / 1M tokens | 4.1K | N/A | |
| dolphin | nlp_cloud | $0.5000 / 1M tokens | $0.5000 / 1M tokens | 16.4K | N/A |
Sources
| Pricing source | LiteLLM model cost map |
| Synced at | 2026-05-27 |
| Manual review | Not reviewed |
Raw LiteLLM fields
{
"input_cost_per_token": 0,
"litellm_provider": "text-completion-codestral",
"max_input_tokens": 32000,
"max_output_tokens": 8191,
"max_tokens": 8191,
"mode": "completion",
"output_cost_per_token": 0,
"source": "https://docs.mistral.ai/capabilities/code_generation/"
}