codestral-2508
Mistral's cutting-edge language model for coding released end of July 2025. Codestral specializes in low-latency, high-frequency tasks such as fill-in-the-middle (FIM), code correction and test generation. Blog Post
Yetenekler
Modaliteler
Hızlı istatistikler
Performans
Desteklenen parametreler
| Parametre | Her zaman | Varsayılan |
|---|---|---|
| frequency_penalty | - | |
| max_tokens | - | |
| presence_penalty | - | |
| response_format | - | |
| seed | - | |
| stop | - | |
| structured_outputs | - | |
| temperature | 0.3 | |
| tool_choice | - | |
| tools | - | |
| top_p | - |
Fiyatlandırma
| Girdi fiyatı | $0.00 · 1M token |
| Çıktı fiyatı | $0.00 · 1M token |
| Context penceresi | 256K token |
| Uyumlu endpointler | openai |
| Sağlayıcı | Mistral |
codestral-2508'i kodunuzdan çağırın
Herhangi bir OpenAI uyumlu SDK'yı UnoRouter'e yönlendirin ve modeli adıyla isteyin. YOUR_API_KEY'i dashboardunuzdaki gerçek bir anahtarla değiştirin.
curl https://api.unorouter.com/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "codestral-2508",
"messages": [{"role": "user", "content": "Hello!"}]
}'Sık sorulan sorular
codestral-2508 1M token başına ne kadar tutar?
Girdi 1M token başına $0.00, çıktı 1M token başına $0.00 fiyatlandırılır. Faturalandırma token başınadır, batch boyutlarına yuvarlama yoktur.
codestral-2508'e API üzerinden nasıl erişirim?
UnoRouter /v1/chat/completions endpointine model=codestral-2508 ile istek gönderin. Herhangi bir OpenAI uyumlu istemci kütüphanesi çalışır. Kimlik doğrulama standart Bearer token kullanır.
codestral-2508'in context penceresi nedir?
codestral-2508 isteminiz ile modelin yanıtı arasında paylaşılan 256K tokenlik bir context penceresini destekler.
Benzer modeller
codestral-2508'i şimdi deneyin
Bir API anahtarı oluşturun ve bir dakikadan kısa sürede istek göndermeye başlayın.