Codestral — lokalny model AI od Mistral AI
Autor: Jakub Rusinowski · Ostatnia aktualizacja:
Dedykowany model do generowania kodu od Mistral, wytrenowany na ogromnym korpusie programistycznym obejmującym 80+ języków. Wyróżnia się uzupełnianiem Fill-in-the-Middle (FIM) — kluczową techniką zasilającą autouzupełnianie IDE. Integruje się natywnie z VS Code przez continue.dev i Cursor.
Warianty
Najmniejszy wariant Codestral potrzebuje około 14 GB VRAM przy Q4_K_M — skwantyzowane wagi plus narzut frameworka, bez pamięci podręcznej KV.
| Model | VRAM przy Q4 | VRAM | Kontekst | Uruchom |
|---|---|---|---|---|
| Codestral 22B → 22B | ~14.2 GB | 32,768 | ollama run codestral:22b |
Pamięć to skwantyzowane wagi plus narzut przy Q4_K_M, liczone tym samym silnikiem co sprawdzarka GPU i VRAM.
Jak uruchomić Codestral lokalnie
Zainstaluj Ollama, a potem pobierz tag.
ollama run codestral:22bWybierz rozmiar powyżej, aby zobaczyć jego VRAM, szacowaną szybkość i polecenie instalacji.
Licencja
Research / non-commercial only — this licence does NOT permit shipping a commercial product.
Dotyczy: Codestral 22BPolecane GPU
Najtańsze GPU z naszego katalogu, które uruchomi Codestral lokalnie (min. 14 GB VRAM), to AMD Radeon RX 9060 XT 16GB (16 GB).
Czy uruchomię Codestral na moim GPU?
- Codestral na AMD Radeon RX 7800 XT
- Codestral na AMD Radeon RX 7900 XT
- Codestral na AMD Radeon RX 7900 XTX
- Codestral na AMD Radeon RX 9060 XT 16GB
- Codestral na AMD Radeon RX 9060 XT 8GB
- Codestral na AMD Radeon RX 9070
- Codestral na AMD Radeon RX 9070 XT
- Codestral na Apple M1
- Codestral na Apple M1 Pro
- Codestral na Apple M2
- Codestral na Apple M2 Pro
- Codestral na Apple M3
- Codestral na Apple M4
- Codestral na Apple M4 Pro
- Codestral na Apple M5
- Codestral na Intel Arc B570
- Codestral na Intel Arc B580
- Codestral na NVIDIA GeForce RTX 3060 (12GB)
- Codestral na NVIDIA GeForce RTX 3070
- Codestral na NVIDIA GeForce RTX 3070 Ti
- Codestral na NVIDIA GeForce RTX 3080 (10GB)
- Codestral na NVIDIA GeForce RTX 3090
- Codestral na NVIDIA GeForce RTX 4060
- Codestral na NVIDIA GeForce RTX 4060 Ti 16GB
- Codestral na NVIDIA GeForce RTX 4070
- Codestral na NVIDIA GeForce RTX 4070 Super
- Codestral na NVIDIA GeForce RTX 4070 Ti
- Codestral na NVIDIA GeForce RTX 4070 Ti Super
- Codestral na NVIDIA GeForce RTX 4080
- Codestral na NVIDIA GeForce RTX 4080 Super
- Codestral na NVIDIA GeForce RTX 4090
- Codestral na NVIDIA GeForce RTX 5060
- Codestral na NVIDIA GeForce RTX 5060 Ti 16GB
- Codestral na NVIDIA GeForce RTX 5060 Ti 8GB
- Codestral na NVIDIA GeForce RTX 5070
- Codestral na NVIDIA GeForce RTX 5070 Ti
- Codestral na NVIDIA GeForce RTX 5080
- Codestral na NVIDIA GeForce RTX 5090
Codestral — najczęściej zadawane pytania
How much VRAM does Codestral need?
Codestral needs about 14 GB VRAM at Q4_K_M quantization for its smallest variant. Variants: Codestral 22B (14 GB, Q4_K_M). On Apple Silicon, unified memory counts toward this requirement.
Can I run Codestral on an RTX 4090 (24 GB)?
Yes — Codestral runs on an RTX 4090 (24 GB) and other 24 GB cards such as the RTX 3090. Smaller variants also fit comfortably on 8–16 GB GPUs at Q4_K_M.
What quantization should I use for Codestral?
Q4_K_M is the best balance of quality and VRAM for Codestral in most cases. Choose Q8_0 for near-lossless quality if you have spare VRAM, or smaller quants (Q3/Q2) only when memory is tight.
How do I run Codestral with Ollama?
Install Ollama, then run: ollama run codestral:22b. This downloads Codestral and starts a local, OpenAI-compatible endpoint — no internet connection is needed after the initial download.