Skip to main content
Ollama ExplorerBeta
local

codestral

Codestral is Mistral AI’s first-ever code model designed for code generation tasks.

1.4M pulls17 tagsSource updated Sep 3, 202432K max context

Quick start

ollama run codestral:latest

Runnable variants

Memory is a rough file-size estimate; context length, runtime and GPU offload change it.

12 of 17 matching variants shown.

22bTypelocalInputstextDigest0898a8b286d5Download13 GBParameters22bQuantizationUnknownContext32KEst. memory≈ 16 GB
ollama run codestral:22b
22b-v0.1-q2_KTypelocalInputstextDigest0e1127d332efDownload8.3 GBParameters22bQuantizationQ2_KContext32KEst. memory≈ 10.5 GB
ollama run codestral:22b-v0.1-q2_K
22b-v0.1-q3_K_LTypelocalInputstextDigest40e96062aff7Download12 GBParameters22bQuantizationQ3_K_LContext32KEst. memory≈ 14.5 GB
ollama run codestral:22b-v0.1-q3_K_L
22b-v0.1-q3_K_MTypelocalInputstextDigest71655d0feff7Download11 GBParameters22bQuantizationQ3_K_MContext32KEst. memory≈ 13.5 GB
ollama run codestral:22b-v0.1-q3_K_M
22b-v0.1-q3_K_STypelocalInputstextDigest435a805994faDownload9.6 GBParameters22bQuantizationQ3_K_SContext32KEst. memory≈ 12 GB
ollama run codestral:22b-v0.1-q3_K_S
22b-v0.1-q4_0TypelocalInputstextDigest0898a8b286d5Download13 GBParameters22bQuantizationQ4_0Context32KEst. memory≈ 16 GB
ollama run codestral:22b-v0.1-q4_0
22b-v0.1-q4_1TypelocalInputstextDigest112589019335Download14 GBParameters22bQuantizationQ4_1Context32KEst. memory≈ 17 GB
ollama run codestral:22b-v0.1-q4_1
22b-v0.1-q4_K_MTypelocalInputstextDigest9a43e868fd2cDownload13 GBParameters22bQuantizationQ4_K_MContext32KEst. memory≈ 16 GB
ollama run codestral:22b-v0.1-q4_K_M
22b-v0.1-q4_K_STypelocalInputstextDigest98d819ea95ecDownload13 GBParameters22bQuantizationQ4_K_SContext32KEst. memory≈ 16 GB
ollama run codestral:22b-v0.1-q4_K_S
22b-v0.1-q5_0TypelocalInputstextDigest05c0a78fd842Download15 GBParameters22bQuantizationQ5_0Context32KEst. memory≈ 18 GB
ollama run codestral:22b-v0.1-q5_0
22b-v0.1-q5_1TypelocalInputstextDigestc71bfe359bccDownload17 GBParameters22bQuantizationQ5_1Context32KEst. memory≈ 20 GB
ollama run codestral:22b-v0.1-q5_1
22b-v0.1-q5_K_MTypelocalInputstextDigest2df1ccc62c6aDownload16 GBParameters22bQuantizationQ5_K_MContext32KEst. memory≈ 19 GB
ollama run codestral:22b-v0.1-q5_K_M

Related models