Back to Models
Codestral
ActivecodestralSpecialized coding model from Mistral
Technical Specifications
Context Length32K tokens
Max Output8K tokens
Available Providers1
Lowest Input Price$300000.00/1M tokens
Lowest Output Price$900000.00/1M tokens
Capabilities
chatcode
Provider Availability & Pricing
| Provider | Provider Model ID | Input Price (per 1M tokens) | Output Price (per 1M tokens) | Status |
|---|---|---|---|---|
Mistral AI | codestral-latest | $300000.00 | $900000.00 | active |
Code Examples
curl https://api.tokligence.ai/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{
"model": "codestral",
"messages": [
{
"role": "user",
"content": "Hello, how are you?"
}
],
"max_tokens": 1024
}'Ready to use Codestral?
Try it out in our interactive playground or integrate it into your application with just a few lines of code.