Mistral AI/Dense

Mistral AICodestral 22B

Codestral — Mistral's dedicated coding model. 80+ programming languages.

coding
22.2B
Parameters
32K
Context length
9
Benchmarks
10
Quantizations
200K
HF downloads
Architecture
Dense
Released
2024-05-29
Layers
56
KV Heads
8
Head Dim
128
Family
mistral

Quantization Options

QuantBitsVRAMQuality
Q3_K_M411.6 GBlow
Q3_K_L4.312.4 GBmoderate
IQ4_XS4.4612.9 GBmoderate
Q4_K_S4.6713.4 GBmoderate
Q4_K_M4.8914.1 GBgood
Q5_K_S5.5715.9 GBgood
Q5_K_M5.716.3 GBgood
Q6_K6.5618.7 GBexcellent
Q8_08.524.1 GBlossless
FP161644.9 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN CODESTRAL 22B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (9)

HumanEval81.1
MBPP78.2
IFEval65.7
BBH52.8
BigCodeBench52.0
MMLU-PRO49.4
MATH35.6
GPQA18.6
MUSR17.1

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run mistral:22b-q4_K_M

Tag may need adjustment — check ollama.com/library/mistral for available tags.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

NVIDIA RTX 5080
16 GB VRAM • 960 GB/s
NVIDIA
$999
NVIDIA RTX 5070 Ti
16 GB VRAM • 896 GB/s
NVIDIA
$749
NVIDIA RTX 4080 SUPER
16 GB VRAM • 736 GB/s
NVIDIA
$999
NVIDIA RTX 4080
16 GB VRAM • 717 GB/s
NVIDIA
$1199
AMD RX 7900 GRE
16 GB VRAM • 576 GB/s
AMD
$549
AMD RX 7800 XT
16 GB VRAM • 624 GB/s
AMD
$499
AMD RX 7600 XT
16 GB VRAM • 288 GB/s
AMD
$329
AMD RX 6950 XT
16 GB VRAM • 576 GB/s
AMD
$449
AMD RX 6900 XT
16 GB VRAM • 512 GB/s
AMD
$469
AMD RX 6800 XT
16 GB VRAM • 512 GB/s
AMD
$599
AMD RX 6800
16 GB VRAM • 512 GB/s
AMD
$599
Intel Arc A770 16GB
16 GB VRAM • 560 GB/s
INTEL
$349
Apple M1 Pro (16GB)
16 GB VRAM • 200 GB/s
APPLE
$999
Apple M2 Pro (16GB)
16 GB VRAM • 200 GB/s
APPLE
$1299
Apple M4 (16GB)
16 GB VRAM • 120 GB/s
APPLE
$499
NVIDIA Tesla T4 16GB
16 GB VRAM • 320 GB/s
NVIDIA
$800
NVIDIA V100 PCIe 16GB
16 GB VRAM • 900 GB/s
NVIDIA
$2000
AMD RX 9070 XT
16 GB VRAM • 640 GB/s
AMD
$599
AMD RX 9070
16 GB VRAM • 672 GB/s
AMD
$549
Apple M1 (16GB)
16 GB VRAM • 68.25 GB/s
APPLE
$699
Apple M2 (16GB)
16 GB VRAM • 100 GB/s
APPLE
$799
Apple M3 (16GB)
16 GB VRAM • 100 GB/s
APPLE
$799
NVIDIA Tesla P100 DGXS
16 GB VRAM • 732 GB/s
NVIDIA
NVIDIA Tesla P100 PCIe 16 GB
16 GB VRAM • 732 GB/s
NVIDIA
NVIDIA Tesla P100 SXM2
16 GB VRAM • 732 GB/s
NVIDIA
NVIDIA Tesla V100 PCIe 16 GB
16 GB VRAM • 897 GB/s
NVIDIA
NVIDIA Tesla V100 SXM2 16 GB
16 GB VRAM • 1130 GB/s
NVIDIA

Find the best GPU for Codestral 22B

Build Hardware for Codestral 22B

Codestral — Mistral's dedicated coding model. 80+ programming languages.

▸ SPEC SHEET

Codestral 22B22.2B Dense.

▸ SPECIFICATIONS
PARAMETERS
22.2B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
32K tokens
CAPABILITIES
coding
RELEASE DATE
2024-05-29
PROVIDER
Mistral AI
FAMILY
mistral
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q3_K_M411.6 GB88%
Q3_K_L4.312.4 GB90%
IQ4_XS4.4612.9 GB92%
Q4_K_S4.6713.4 GB93%
Q4_K_M4.8914.1 GB94%
Q5_K_S5.5715.9 GB96%
Q5_K_M5.716.3 GB96%
Q6_K6.5618.7 GB97%
Q8_08.524.1 GB100%
FP161644.9 GB100%
§ 01BENCHMARK SCORES
HumanEval81.1
MMLU-PRO49.4
MATH35.6
IFEval65.7
BBH52.8
GPQA18.6
MUSR17.1
MBPP78.2
BigCodeBench52.0