Quick start
ollama run codegemma:latestRunnable variants
Memory is a rough file-size estimate; context length, runtime and GPU offload change it.
12 of 85 matching variants shown.85 of 85 variants shown.
| Tag | Type | Inputs | Digest | Download | Parameters | Quantization | Context | Est. memory | Run |
|---|---|---|---|---|---|---|---|---|---|
| 2b | Typelocal | Inputstext | Digest926331004170 | Download1.6 GB | Parameters2b | QuantizationUnknown | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b |
| 2b-code | Typelocal | Inputstext | Digest926331004170 | Download1.6 GB | Parameters2b | QuantizationUnknown | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code |
| 2b-code-fp16 | Typelocal | Inputstext | Digestcb6daa72179a | Download5.0 GB | Parameters2b | QuantizationFP16 | Context8K | Est. memory≈ 7 GB | ollama run codegemma:2b-code-fp16 |
| 2b-code-q2_K | Typelocal | Inputstext | Digestac67535c1552 | Download1.2 GB | Parameters2b | QuantizationQ2_K | Context8K | Est. memory≈ 2.5 GB | ollama run codegemma:2b-code-q2_K |
| 2b-code-q3_K_L | Typelocal | Inputstext | Digestc6a3ccbac1d9 | Download1.5 GB | Parameters2b | QuantizationQ3_K_L | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q3_K_L |
| 2b-code-q3_K_M | Typelocal | Inputstext | Digestf0346e149522 | Download1.4 GB | Parameters2b | QuantizationQ3_K_M | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q3_K_M |
| 2b-code-q3_K_S | Typelocal | Inputstext | Digest6b80287fa068 | Download1.3 GB | Parameters2b | QuantizationQ3_K_S | Context8K | Est. memory≈ 2.5 GB | ollama run codegemma:2b-code-q3_K_S |
| 2b-code-q4_0 | Typelocal | Inputstext | Digestd90011175ac4 | Download1.6 GB | Parameters2b | QuantizationQ4_0 | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q4_0 |
| 2b-code-q4_1 | Typelocal | Inputstext | Digest801d0eb569e7 | Download1.7 GB | Parameters2b | QuantizationQ4_1 | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q4_1 |
| 2b-code-q4_K_M | Typelocal | Inputstext | Digestb593bb191655 | Download1.6 GB | Parameters2b | QuantizationQ4_K_M | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q4_K_M |
| 2b-code-q4_K_S | Typelocal | Inputstext | Digest259e48057973 | Download1.6 GB | Parameters2b | QuantizationQ4_K_S | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-q4_K_S |
| 2b-code-q5_0 | Typelocal | Inputstext | Digestbecd697505ba | Download1.8 GB | Parameters2b | QuantizationQ5_0 | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-q5_0 |
| 2b-code-q5_1 | Typelocal | Inputstext | Digest820b54de78f0 | Download1.9 GB | Parameters2b | QuantizationQ5_1 | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-q5_1 |
| 2b-code-q5_K_M | Typelocal | Inputstext | Digest9617b59cd865 | Download1.8 GB | Parameters2b | QuantizationQ5_K_M | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-q5_K_M |
| 2b-code-q5_K_S | Typelocal | Inputstext | Digeste9b5e9befa9e | Download1.8 GB | Parameters2b | QuantizationQ5_K_S | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-q5_K_S |
| 2b-code-q6_K | Typelocal | Inputstext | Digestfead9028c732 | Download2.1 GB | Parameters2b | QuantizationQ6_K | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-q6_K |
| 2b-code-q8_0 | Typelocal | Inputstext | Digest2be70d05c9ca | Download2.7 GB | Parameters2b | QuantizationQ8_0 | Context8K | Est. memory≈ 4.5 GB | ollama run codegemma:2b-code-q8_0 |
| 2b-code-v1.1-fp16 | Typelocal | Inputstext | Digest962c58660bab | Download5.0 GB | Parameters2b | QuantizationFP16 | Context8K | Est. memory≈ 7 GB | ollama run codegemma:2b-code-v1.1-fp16 |
| 2b-code-v1.1-q2_K | Typelocal | Inputstext | Digest75ba44f889ab | Download1.2 GB | Parameters2b | QuantizationQ2_K | Context8K | Est. memory≈ 2.5 GB | ollama run codegemma:2b-code-v1.1-q2_K |
| 2b-code-v1.1-q3_K_L | Typelocal | Inputstext | Digest6c9dbaeb7d96 | Download1.5 GB | Parameters2b | QuantizationQ3_K_L | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q3_K_L |
| 2b-code-v1.1-q3_K_M | Typelocal | Inputstext | Digest7d484bdf35ae | Download1.4 GB | Parameters2b | QuantizationQ3_K_M | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q3_K_M |
| 2b-code-v1.1-q3_K_S | Typelocal | Inputstext | Digestd3a7d018d4c9 | Download1.3 GB | Parameters2b | QuantizationQ3_K_S | Context8K | Est. memory≈ 2.5 GB | ollama run codegemma:2b-code-v1.1-q3_K_S |
| 2b-code-v1.1-q4_0 | Typelocal | Inputstext | Digest926331004170 | Download1.6 GB | Parameters2b | QuantizationQ4_0 | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q4_0 |
| 2b-code-v1.1-q4_1 | Typelocal | Inputstext | Digest2128822ebc78 | Download1.7 GB | Parameters2b | QuantizationQ4_1 | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q4_1 |
| 2b-code-v1.1-q4_K_M | Typelocal | Inputstext | Digest718e1de01c13 | Download1.6 GB | Parameters2b | QuantizationQ4_K_M | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q4_K_M |
| 2b-code-v1.1-q4_K_S | Typelocal | Inputstext | Digesta8166a21676a | Download1.6 GB | Parameters2b | QuantizationQ4_K_S | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-code-v1.1-q4_K_S |
| 2b-code-v1.1-q5_0 | Typelocal | Inputstext | Digest2eb16b352c75 | Download1.8 GB | Parameters2b | QuantizationQ5_0 | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-v1.1-q5_0 |
| 2b-code-v1.1-q5_1 | Typelocal | Inputstext | Digest2b872b7f7fcf | Download1.9 GB | Parameters2b | QuantizationQ5_1 | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-v1.1-q5_1 |
| 2b-code-v1.1-q5_K_M | Typelocal | Inputstext | Digest421f855bcae9 | Download1.8 GB | Parameters2b | QuantizationQ5_K_M | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-v1.1-q5_K_M |
| 2b-code-v1.1-q5_K_S | Typelocal | Inputstext | Digestba1202a14d4e | Download1.8 GB | Parameters2b | QuantizationQ5_K_S | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-v1.1-q5_K_S |
| 2b-code-v1.1-q6_K | Typelocal | Inputstext | Digestd06cfbc95341 | Download2.1 GB | Parameters2b | QuantizationQ6_K | Context8K | Est. memory≈ 3.5 GB | ollama run codegemma:2b-code-v1.1-q6_K |
| 2b-code-v1.1-q8_0 | Typelocal | Inputstext | Digeste7a5cfdf2f8b | Download2.7 GB | Parameters2b | QuantizationQ8_0 | Context8K | Est. memory≈ 4.5 GB | ollama run codegemma:2b-code-v1.1-q8_0 |
| 2b-v1.1 | Typelocal | Inputstext | Digest926331004170 | Download1.6 GB | Parameters2b | QuantizationUnknown | Context8K | Est. memory≈ 3 GB | ollama run codegemma:2b-v1.1 |
| 7b | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | Parameters7b | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b |
| 7b-code | Typelocal | Inputstext | Digestaee9a63c13b9 | Download5.0 GB | Parameters7b | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-code |
| 7b-code-fp16 | Typelocal | Inputstext | Digest0e5867ab03b0 | Download17 GB | Parameters7b | QuantizationFP16 | Context8K | Est. memory≈ 20 GB | ollama run codegemma:7b-code-fp16 |
| 7b-code-q2_K | Typelocal | Inputstext | Digest9a5f3c6225e2 | Download3.5 GB | Parameters7b | QuantizationQ2_K | Context8K | Est. memory≈ 5 GB | ollama run codegemma:7b-code-q2_K |
| 7b-code-q3_K_L | Typelocal | Inputstext | Digest421c03d31cc9 | Download4.7 GB | Parameters7b | QuantizationQ3_K_L | Context8K | Est. memory≈ 6.5 GB | ollama run codegemma:7b-code-q3_K_L |
| 7b-code-q3_K_M | Typelocal | Inputstext | Digestb000753cb7f5 | Download4.4 GB | Parameters7b | QuantizationQ3_K_M | Context8K | Est. memory≈ 6 GB | ollama run codegemma:7b-code-q3_K_M |
| 7b-code-q3_K_S | Typelocal | Inputstext | Digest59358d79fbb3 | Download4.0 GB | Parameters7b | QuantizationQ3_K_S | Context8K | Est. memory≈ 5.5 GB | ollama run codegemma:7b-code-q3_K_S |
| 7b-code-q4_0 | Typelocal | Inputstext | Digestaee9a63c13b9 | Download5.0 GB | Parameters7b | QuantizationQ4_0 | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-code-q4_0 |
| 7b-code-q4_1 | Typelocal | Inputstext | Digest9067dd660ab0 | Download5.5 GB | Parameters7b | QuantizationQ4_1 | Context8K | Est. memory≈ 7.5 GB | ollama run codegemma:7b-code-q4_1 |
| 7b-code-q4_K_M | Typelocal | Inputstext | Digest1b95ec1e6836 | Download5.3 GB | Parameters7b | QuantizationQ4_K_M | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-code-q4_K_M |
| 7b-code-q4_K_S | Typelocal | Inputstext | Digest0eb5f6d5362a | Download5.0 GB | Parameters7b | QuantizationQ4_K_S | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-code-q4_K_S |
| 7b-code-q5_0 | Typelocal | Inputstext | Digeste866e2cde5d5 | Download6.0 GB | Parameters7b | QuantizationQ5_0 | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-code-q5_0 |
| 7b-code-q5_1 | Typelocal | Inputstext | Digest104988c6ebfd | Download6.5 GB | Parameters7b | QuantizationQ5_1 | Context8K | Est. memory≈ 8.5 GB | ollama run codegemma:7b-code-q5_1 |
| 7b-code-q5_K_M | Typelocal | Inputstext | Digest819c2d1e9b36 | Download6.1 GB | Parameters7b | QuantizationQ5_K_M | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-code-q5_K_M |
| 7b-code-q5_K_S | Typelocal | Inputstext | Digest12594d83fcd9 | Download6.0 GB | Parameters7b | QuantizationQ5_K_S | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-code-q5_K_S |
| 7b-code-q6_K | Typelocal | Inputstext | Digestd00cdbfa8157 | Download7.0 GB | Parameters7b | QuantizationQ6_K | Context8K | Est. memory≈ 9 GB | ollama run codegemma:7b-code-q6_K |
| 7b-code-q8_0 | Typelocal | Inputstext | Digest9d29d6048003 | Download9.1 GB | Parameters7b | QuantizationQ8_0 | Context8K | Est. memory≈ 11.5 GB | ollama run codegemma:7b-code-q8_0 |
| 7b-instruct | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | Parameters7b | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct |
| 7b-instruct-fp16 | Typelocal | Inputstext | Digest27f776c137a0 | Download17 GB | Parameters7b | QuantizationFP16 | Context8K | Est. memory≈ 20 GB | ollama run codegemma:7b-instruct-fp16 |
| 7b-instruct-q2_K | Typelocal | Inputstext | Digest2936dc87cdb1 | Download3.5 GB | Parameters7b | QuantizationQ2_K | Context8K | Est. memory≈ 5 GB | ollama run codegemma:7b-instruct-q2_K |
| 7b-instruct-q3_K_L | Typelocal | Inputstext | Digest95fefb8f59d4 | Download4.7 GB | Parameters7b | QuantizationQ3_K_L | Context8K | Est. memory≈ 6.5 GB | ollama run codegemma:7b-instruct-q3_K_L |
| 7b-instruct-q3_K_M | Typelocal | Inputstext | Digest4816aadf859f | Download4.4 GB | Parameters7b | QuantizationQ3_K_M | Context8K | Est. memory≈ 6 GB | ollama run codegemma:7b-instruct-q3_K_M |
| 7b-instruct-q3_K_S | Typelocal | Inputstext | Digest16494f9aaad4 | Download4.0 GB | Parameters7b | QuantizationQ3_K_S | Context8K | Est. memory≈ 5.5 GB | ollama run codegemma:7b-instruct-q3_K_S |
| 7b-instruct-q4_0 | Typelocal | Inputstext | Digestca966f70c13f | Download5.0 GB | Parameters7b | QuantizationQ4_0 | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-q4_0 |
| 7b-instruct-q4_1 | Typelocal | Inputstext | Digest596e25861a46 | Download5.5 GB | Parameters7b | QuantizationQ4_1 | Context8K | Est. memory≈ 7.5 GB | ollama run codegemma:7b-instruct-q4_1 |
| 7b-instruct-q4_K_M | Typelocal | Inputstext | Digest4ef43ea9dac1 | Download5.3 GB | Parameters7b | QuantizationQ4_K_M | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-q4_K_M |
| 7b-instruct-q4_K_S | Typelocal | Inputstext | Digest5f15be900227 | Download5.0 GB | Parameters7b | QuantizationQ4_K_S | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-q4_K_S |
| 7b-instruct-q5_0 | Typelocal | Inputstext | Digestf3e24c336347 | Download6.0 GB | Parameters7b | QuantizationQ5_0 | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-q5_0 |
| 7b-instruct-q5_1 | Typelocal | Inputstext | Digesta5d197370268 | Download6.5 GB | Parameters7b | QuantizationQ5_1 | Context8K | Est. memory≈ 8.5 GB | ollama run codegemma:7b-instruct-q5_1 |
| 7b-instruct-q5_K_M | Typelocal | Inputstext | Digestea2f6eee4ed5 | Download6.1 GB | Parameters7b | QuantizationQ5_K_M | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-q5_K_M |
| 7b-instruct-q5_K_S | Typelocal | Inputstext | Digest720341c38018 | Download6.0 GB | Parameters7b | QuantizationQ5_K_S | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-q5_K_S |
| 7b-instruct-q6_K | Typelocal | Inputstext | Digest7aab9ab8f462 | Download7.0 GB | Parameters7b | QuantizationQ6_K | Context8K | Est. memory≈ 9 GB | ollama run codegemma:7b-instruct-q6_K |
| 7b-instruct-q8_0 | Typelocal | Inputstext | Digest359218041ed4 | Download9.1 GB | Parameters7b | QuantizationQ8_0 | Context8K | Est. memory≈ 11.5 GB | ollama run codegemma:7b-instruct-q8_0 |
| 7b-instruct-v1.1-fp16 | Typelocal | Inputstext | Digestd0b6beaa41bd | Download17 GB | Parameters7b | QuantizationFP16 | Context8K | Est. memory≈ 20 GB | ollama run codegemma:7b-instruct-v1.1-fp16 |
| 7b-instruct-v1.1-q2_K | Typelocal | Inputstext | Digestffadaea5308f | Download3.5 GB | Parameters7b | QuantizationQ2_K | Context8K | Est. memory≈ 5 GB | ollama run codegemma:7b-instruct-v1.1-q2_K |
| 7b-instruct-v1.1-q3_K_L | Typelocal | Inputstext | Digestd2c94e66c966 | Download4.7 GB | Parameters7b | QuantizationQ3_K_L | Context8K | Est. memory≈ 6.5 GB | ollama run codegemma:7b-instruct-v1.1-q3_K_L |
| 7b-instruct-v1.1-q3_K_M | Typelocal | Inputstext | Digest98df477b4dd7 | Download4.4 GB | Parameters7b | QuantizationQ3_K_M | Context8K | Est. memory≈ 6 GB | ollama run codegemma:7b-instruct-v1.1-q3_K_M |
| 7b-instruct-v1.1-q3_K_S | Typelocal | Inputstext | Digestbf6229637a9a | Download4.0 GB | Parameters7b | QuantizationQ3_K_S | Context8K | Est. memory≈ 5.5 GB | ollama run codegemma:7b-instruct-v1.1-q3_K_S |
| 7b-instruct-v1.1-q4_0 | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | Parameters7b | QuantizationQ4_0 | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-v1.1-q4_0 |
| 7b-instruct-v1.1-q4_1 | Typelocal | Inputstext | Digesta6bd8bc93405 | Download5.5 GB | Parameters7b | QuantizationQ4_1 | Context8K | Est. memory≈ 7.5 GB | ollama run codegemma:7b-instruct-v1.1-q4_1 |
| 7b-instruct-v1.1-q4_K_M | Typelocal | Inputstext | Digest1216b3135c8b | Download5.3 GB | Parameters7b | QuantizationQ4_K_M | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-v1.1-q4_K_M |
| 7b-instruct-v1.1-q4_K_S | Typelocal | Inputstext | Digest61a7d2976eb8 | Download5.0 GB | Parameters7b | QuantizationQ4_K_S | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-instruct-v1.1-q4_K_S |
| 7b-instruct-v1.1-q5_0 | Typelocal | Inputstext | Digesta4b9382b8bc5 | Download6.0 GB | Parameters7b | QuantizationQ5_0 | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-v1.1-q5_0 |
| 7b-instruct-v1.1-q5_1 | Typelocal | Inputstext | Digestc381b9ac5109 | Download6.5 GB | Parameters7b | QuantizationQ5_1 | Context8K | Est. memory≈ 8.5 GB | ollama run codegemma:7b-instruct-v1.1-q5_1 |
| 7b-instruct-v1.1-q5_K_M | Typelocal | Inputstext | Digest218da16d05a6 | Download6.1 GB | Parameters7b | QuantizationQ5_K_M | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-v1.1-q5_K_M |
| 7b-instruct-v1.1-q5_K_S | Typelocal | Inputstext | Digest121eb5f29436 | Download6.0 GB | Parameters7b | QuantizationQ5_K_S | Context8K | Est. memory≈ 8 GB | ollama run codegemma:7b-instruct-v1.1-q5_K_S |
| 7b-instruct-v1.1-q6_K | Typelocal | Inputstext | Digest84dfb4c2b2ba | Download7.0 GB | Parameters7b | QuantizationQ6_K | Context8K | Est. memory≈ 9 GB | ollama run codegemma:7b-instruct-v1.1-q6_K |
| 7b-instruct-v1.1-q8_0 | Typelocal | Inputstext | Digest9cbd7648b75f | Download9.1 GB | Parameters7b | QuantizationQ8_0 | Context8K | Est. memory≈ 11.5 GB | ollama run codegemma:7b-instruct-v1.1-q8_0 |
| 7b-v1.1 | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | Parameters7b | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:7b-v1.1 |
| code | Typelocal | Inputstext | Digest926331004170 | Download1.6 GB | ParametersUnknown | QuantizationUnknown | Context8K | Est. memory≈ 3 GB | ollama run codegemma:code |
| instruct | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | ParametersUnknown | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:instruct |
| latestdefault | Typelocal | Inputstext | Digest0c96700aaada | Download5.0 GB | ParametersUnknown | QuantizationUnknown | Context8K | Est. memory≈ 7 GB | ollama run codegemma:latest |
Related models
Google Gemma 2 is a high-performing and efficient model available in three sizes: 2B, 9B, and 27B.
Gemma is a family of lightweight, state-of-the-art open models built by Google DeepMind. Updated to version 1.1
BGE-M3 is a new model from BAAI distinguished for its versatility in Multi-Functionality, Multi-Linguality, and Multi-Granularity.
2.7B uncensored Dolphin model by Eric Hartford, based on the Phi language model by Microsoft Research.