Quick start
ollama run starcoder2:latestRunnable variants
Memory is a rough file-size estimate; context length, runtime and GPU offload change it.
12 of 67 matching variants shown.67 of 67 variants shown.
| Tag | Type | Inputs | Digest | Download | Parameters | Quantization | Context | Est. memory | Run |
|---|---|---|---|---|---|---|---|---|---|
| 15b | Typelocal | Inputstext | Digest21ae152d49e0 | Download9.1 GB | Parameters15b | QuantizationUnknown | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b |
| 15b-fp16 | Typelocal | Inputstext | Digestd0355c6e6d3a | Download32 GB | Parameters15b | QuantizationFP16 | Context16K | Est. memory≈ 37 GB | ollama run starcoder2:15b-fp16 |
| 15b-instruct | Typelocal | Inputstext | Digest432973cfbc4c | Download9.1 GB | Parameters15b | QuantizationUnknown | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-instruct |
| 15b-instruct-q4_0 | Typelocal | Inputstext | Digesta2349551dfd4 | Download9.1 GB | Parameters15b | QuantizationQ4_0 | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-instruct-q4_0 |
| 15b-instruct-v0.1-fp16 | Typelocal | Inputstext | Digest8a5b32b4696c | Download32 GB | Parameters15b | QuantizationFP16 | Context16K | Est. memory≈ 37 GB | ollama run starcoder2:15b-instruct-v0.1-fp16 |
| 15b-instruct-v0.1-q2_K | Typelocal | Inputstext | Digest1f0967a81021 | Download6.2 GB | Parameters15b | QuantizationQ2_K | Context16K | Est. memory≈ 8 GB | ollama run starcoder2:15b-instruct-v0.1-q2_K |
| 15b-instruct-v0.1-q3_K_L | Typelocal | Inputstext | Digest0023fd977833 | Download9.0 GB | Parameters15b | QuantizationQ3_K_L | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-instruct-v0.1-q3_K_L |
| 15b-instruct-v0.1-q3_K_M | Typelocal | Inputstext | Digest7be2b1ded63d | Download8.0 GB | Parameters15b | QuantizationQ3_K_M | Context16K | Est. memory≈ 10 GB | ollama run starcoder2:15b-instruct-v0.1-q3_K_M |
| 15b-instruct-v0.1-q3_K_S | Typelocal | Inputstext | Digest494c11407ef5 | Download7.0 GB | Parameters15b | QuantizationQ3_K_S | Context16K | Est. memory≈ 9 GB | ollama run starcoder2:15b-instruct-v0.1-q3_K_S |
| 15b-instruct-v0.1-q4_0 | Typelocal | Inputstext | Digest432973cfbc4c | Download9.1 GB | Parameters15b | QuantizationQ4_0 | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-instruct-v0.1-q4_0 |
| 15b-instruct-v0.1-q4_1 | Typelocal | Inputstext | Digestd7b4b40c5e4c | Download10 GB | Parameters15b | QuantizationQ4_1 | Context16K | Est. memory≈ 12.5 GB | ollama run starcoder2:15b-instruct-v0.1-q4_1 |
| 15b-instruct-v0.1-q4_K_M | Typelocal | Inputstext | Digest19fb579d5344 | Download9.9 GB | Parameters15b | QuantizationQ4_K_M | Context16K | Est. memory≈ 12.5 GB | ollama run starcoder2:15b-instruct-v0.1-q4_K_M |
| 15b-instruct-v0.1-q4_K_S | Typelocal | Inputstext | Digest8b55bc62323d | Download9.2 GB | Parameters15b | QuantizationQ4_K_S | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-instruct-v0.1-q4_K_S |
| 15b-instruct-v0.1-q5_0 | Typelocal | Inputstext | Digest97687b40425f | Download11 GB | Parameters15b | QuantizationQ5_0 | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-instruct-v0.1-q5_0 |
| 15b-instruct-v0.1-q5_1 | Typelocal | Inputstext | Digestb3e4a53d2072 | Download12 GB | Parameters15b | QuantizationQ5_1 | Context16K | Est. memory≈ 14.5 GB | ollama run starcoder2:15b-instruct-v0.1-q5_1 |
| 15b-instruct-v0.1-q5_K_M | Typelocal | Inputstext | Digest24ff1c704455 | Download11 GB | Parameters15b | QuantizationQ5_K_M | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-instruct-v0.1-q5_K_M |
| 15b-instruct-v0.1-q5_K_S | Typelocal | Inputstext | Digest50bffebc60cd | Download11 GB | Parameters15b | QuantizationQ5_K_S | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-instruct-v0.1-q5_K_S |
| 15b-instruct-v0.1-q6_K | Typelocal | Inputstext | Digesta5f13db6c5e5 | Download13 GB | Parameters15b | QuantizationQ6_K | Context16K | Est. memory≈ 16 GB | ollama run starcoder2:15b-instruct-v0.1-q6_K |
| 15b-instruct-v0.1-q8_0 | Typelocal | Inputstext | Digesta11b58c111d9 | Download17 GB | Parameters15b | QuantizationQ8_0 | Context16K | Est. memory≈ 20 GB | ollama run starcoder2:15b-instruct-v0.1-q8_0 |
| 15b-q2_K | Typelocal | Inputstext | Digest09c69ac6d381 | Download6.2 GB | Parameters15b | QuantizationQ2_K | Context16K | Est. memory≈ 8 GB | ollama run starcoder2:15b-q2_K |
| 15b-q3_K_L | Typelocal | Inputstext | Digest7095ac645958 | Download9.0 GB | Parameters15b | QuantizationQ3_K_L | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-q3_K_L |
| 15b-q3_K_M | Typelocal | Inputstext | Digest6bb24c6a0909 | Download8.1 GB | Parameters15b | QuantizationQ3_K_M | Context16K | Est. memory≈ 10.5 GB | ollama run starcoder2:15b-q3_K_M |
| 15b-q3_K_S | Typelocal | Inputstext | Digest2b8e40ca4e3c | Download7.0 GB | Parameters15b | QuantizationQ3_K_S | Context16K | Est. memory≈ 9 GB | ollama run starcoder2:15b-q3_K_S |
| 15b-q4_0 | Typelocal | Inputstext | Digest21ae152d49e0 | Download9.1 GB | Parameters15b | QuantizationQ4_0 | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-q4_0 |
| 15b-q4_1 | Typelocal | Inputstext | Digeste962dc6dab16 | Download10 GB | Parameters15b | QuantizationQ4_1 | Context16K | Est. memory≈ 12.5 GB | ollama run starcoder2:15b-q4_1 |
| 15b-q4_K_M | Typelocal | Inputstext | Digestc2a2fb5a804b | Download9.9 GB | Parameters15b | QuantizationQ4_K_M | Context16K | Est. memory≈ 12.5 GB | ollama run starcoder2:15b-q4_K_M |
| 15b-q4_K_S | Typelocal | Inputstext | Digest16306a9d809f | Download9.3 GB | Parameters15b | QuantizationQ4_K_S | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:15b-q4_K_S |
| 15b-q5_0 | Typelocal | Inputstext | Digest0b62c0bbb602 | Download11 GB | Parameters15b | QuantizationQ5_0 | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-q5_0 |
| 15b-q5_1 | Typelocal | Inputstext | Digest3ea2ac47dcf6 | Download12 GB | Parameters15b | QuantizationQ5_1 | Context16K | Est. memory≈ 14.5 GB | ollama run starcoder2:15b-q5_1 |
| 15b-q5_K_M | Typelocal | Inputstext | Digestaedac0a1adc9 | Download11 GB | Parameters15b | QuantizationQ5_K_M | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-q5_K_M |
| 15b-q5_K_S | Typelocal | Inputstext | Digest656825622bc3 | Download11 GB | Parameters15b | QuantizationQ5_K_S | Context16K | Est. memory≈ 13.5 GB | ollama run starcoder2:15b-q5_K_S |
| 15b-q6_K | Typelocal | Inputstext | Digestcad9bff49536 | Download13 GB | Parameters15b | QuantizationQ6_K | Context16K | Est. memory≈ 16 GB | ollama run starcoder2:15b-q6_K |
| 15b-q8_0 | Typelocal | Inputstext | Digest95f55571067f | Download17 GB | Parameters15b | QuantizationQ8_0 | Context16K | Est. memory≈ 20 GB | ollama run starcoder2:15b-q8_0 |
| 3b | Typelocal | Inputstext | Digest9f4ae0aff61e | Download1.7 GB | Parameters3b | QuantizationUnknown | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:3b |
| 3b-fp16 | Typelocal | Inputstext | Digestcb88461498e2 | Download6.1 GB | Parameters3b | QuantizationFP16 | Context16K | Est. memory≈ 8 GB | ollama run starcoder2:3b-fp16 |
| 3b-q2_K | Typelocal | Inputstext | Digest1900fee8d3bb | Download1.1 GB | Parameters3b | QuantizationQ2_K | Context16K | Est. memory≈ 2.5 GB | ollama run starcoder2:3b-q2_K |
| 3b-q3_K_L | Typelocal | Inputstext | Digestbabdc98cb857 | Download1.7 GB | Parameters3b | QuantizationQ3_K_L | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:3b-q3_K_L |
| 3b-q3_K_M | Typelocal | Inputstext | Digest379661ce2af0 | Download1.5 GB | Parameters3b | QuantizationQ3_K_M | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:3b-q3_K_M |
| 3b-q3_K_S | Typelocal | Inputstext | Digest8a53797dc302 | Download1.3 GB | Parameters3b | QuantizationQ3_K_S | Context16K | Est. memory≈ 2.5 GB | ollama run starcoder2:3b-q3_K_S |
| 3b-q4_0 | Typelocal | Inputstext | Digest9f4ae0aff61e | Download1.7 GB | Parameters3b | QuantizationQ4_0 | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:3b-q4_0 |
| 3b-q4_1 | Typelocal | Inputstext | Digest85914e75a280 | Download1.9 GB | Parameters3b | QuantizationQ4_1 | Context16K | Est. memory≈ 3.5 GB | ollama run starcoder2:3b-q4_1 |
| 3b-q4_K_M | Typelocal | Inputstext | Digest80f4c07afd24 | Download1.8 GB | Parameters3b | QuantizationQ4_K_M | Context16K | Est. memory≈ 3.5 GB | ollama run starcoder2:3b-q4_K_M |
| 3b-q4_K_S | Typelocal | Inputstext | Digest428a0952a464 | Download1.7 GB | Parameters3b | QuantizationQ4_K_S | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:3b-q4_K_S |
| 3b-q5_0 | Typelocal | Inputstext | Digestc0ef01710c53 | Download2.1 GB | Parameters3b | QuantizationQ5_0 | Context16K | Est. memory≈ 3.5 GB | ollama run starcoder2:3b-q5_0 |
| 3b-q5_1 | Typelocal | Inputstext | Digestca2b86530fda | Download2.3 GB | Parameters3b | QuantizationQ5_1 | Context16K | Est. memory≈ 4 GB | ollama run starcoder2:3b-q5_1 |
| 3b-q5_K_M | Typelocal | Inputstext | Digest716699033e66 | Download2.2 GB | Parameters3b | QuantizationQ5_K_M | Context16K | Est. memory≈ 3.5 GB | ollama run starcoder2:3b-q5_K_M |
| 3b-q5_K_S | Typelocal | Inputstext | Digest285e6c835a6b | Download2.1 GB | Parameters3b | QuantizationQ5_K_S | Context16K | Est. memory≈ 3.5 GB | ollama run starcoder2:3b-q5_K_S |
| 3b-q6_K | Typelocal | Inputstext | Digest4d0d8586d8a6 | Download2.5 GB | Parameters3b | QuantizationQ6_K | Context16K | Est. memory≈ 4 GB | ollama run starcoder2:3b-q6_K |
| 3b-q8_0 | Typelocal | Inputstext | Digest003abcecad23 | Download3.2 GB | Parameters3b | QuantizationQ8_0 | Context16K | Est. memory≈ 5 GB | ollama run starcoder2:3b-q8_0 |
| 7b | Typelocal | Inputstext | Digest1550ab21b10d | Download4.0 GB | Parameters7b | QuantizationUnknown | Context16K | Est. memory≈ 5.5 GB | ollama run starcoder2:7b |
| 7b-fp16 | Typelocal | Inputstext | Digestf0643097e171 | Download14 GB | Parameters7b | QuantizationFP16 | Context16K | Est. memory≈ 17 GB | ollama run starcoder2:7b-fp16 |
| 7b-q2_K | Typelocal | Inputstext | Digestbfb544f5b9db | Download2.7 GB | Parameters7b | QuantizationQ2_K | Context16K | Est. memory≈ 4.5 GB | ollama run starcoder2:7b-q2_K |
| 7b-q3_K_L | Typelocal | Inputstext | Digeste3e28011754e | Download4.0 GB | Parameters7b | QuantizationQ3_K_L | Context16K | Est. memory≈ 5.5 GB | ollama run starcoder2:7b-q3_K_L |
| 7b-q3_K_M | Typelocal | Inputstext | Digest663450d06f0d | Download3.6 GB | Parameters7b | QuantizationQ3_K_M | Context16K | Est. memory≈ 5.5 GB | ollama run starcoder2:7b-q3_K_M |
| 7b-q3_K_S | Typelocal | Inputstext | Digest8aaa68a8ab5e | Download3.1 GB | Parameters7b | QuantizationQ3_K_S | Context16K | Est. memory≈ 4.5 GB | ollama run starcoder2:7b-q3_K_S |
| 7b-q4_0 | Typelocal | Inputstext | Digest1550ab21b10d | Download4.0 GB | Parameters7b | QuantizationQ4_0 | Context16K | Est. memory≈ 5.5 GB | ollama run starcoder2:7b-q4_0 |
| 7b-q4_1 | Typelocal | Inputstext | Digest1747ad646a6a | Download4.5 GB | Parameters7b | QuantizationQ4_1 | Context16K | Est. memory≈ 6.5 GB | ollama run starcoder2:7b-q4_1 |
| 7b-q4_K_M | Typelocal | Inputstext | Digest3c8e476efe98 | Download4.4 GB | Parameters7b | QuantizationQ4_K_M | Context16K | Est. memory≈ 6 GB | ollama run starcoder2:7b-q4_K_M |
| 7b-q4_K_S | Typelocal | Inputstext | Digest0c4f8acf0ae2 | Download4.1 GB | Parameters7b | QuantizationQ4_K_S | Context16K | Est. memory≈ 6 GB | ollama run starcoder2:7b-q4_K_S |
| 7b-q5_0 | Typelocal | Inputstext | Digest3990ce180fdd | Download4.9 GB | Parameters7b | QuantizationQ5_0 | Context16K | Est. memory≈ 6.5 GB | ollama run starcoder2:7b-q5_0 |
| 7b-q5_1 | Typelocal | Inputstext | Digestf2936f039525 | Download5.4 GB | Parameters7b | QuantizationQ5_1 | Context16K | Est. memory≈ 7.5 GB | ollama run starcoder2:7b-q5_1 |
| 7b-q5_K_M | Typelocal | Inputstext | Digestde006f564c13 | Download5.1 GB | Parameters7b | QuantizationQ5_K_M | Context16K | Est. memory≈ 7 GB | ollama run starcoder2:7b-q5_K_M |
| 7b-q5_K_S | Typelocal | Inputstext | Digestc81c75ed4e4e | Download4.9 GB | Parameters7b | QuantizationQ5_K_S | Context16K | Est. memory≈ 6.5 GB | ollama run starcoder2:7b-q5_K_S |
| 7b-q6_K | Typelocal | Inputstext | Digest5d99bdda7ea4 | Download5.9 GB | Parameters7b | QuantizationQ6_K | Context16K | Est. memory≈ 8 GB | ollama run starcoder2:7b-q6_K |
| 7b-q8_0 | Typelocal | Inputstext | Digestd76878e96d8a | Download7.6 GB | Parameters7b | QuantizationQ8_0 | Context16K | Est. memory≈ 9.5 GB | ollama run starcoder2:7b-q8_0 |
| instruct | Typelocal | Inputstext | Digest432973cfbc4c | Download9.1 GB | ParametersUnknown | QuantizationUnknown | Context16K | Est. memory≈ 11.5 GB | ollama run starcoder2:instruct |
| latestdefault | Typelocal | Inputstext | Digest9f4ae0aff61e | Download1.7 GB | ParametersUnknown | QuantizationUnknown | Context16K | Est. memory≈ 3 GB | ollama run starcoder2:latest |
Related models
DeepSeek-R1 is a family of open reasoning models with performance approaching that of leading models, such as O3 and Gemini 2.5 Pro.
A family of efficient AI models under 10B parameters performant in science, math, and coding through innovative training techniques.
A fine-tuned version of Deepseek-R1-Distilled-Qwen-1.5B that surpasses the performance of OpenAI’s o1-preview with just 1.5B parameters on popular math evaluations.
Stable Code 3B is a coding model with instruct and code completion variants on par with models such as Code Llama 7B that are 2.5x larger.