Google

CodeGemma 2B

Lightweight code completion model from Google. Fast on-device code suggestions.

2B parametersgemmagemma8K context1.9GB - 2.7GB VRAM

Check Your Hardware

See which quantizations of CodeGemma 2B your hardware can run.

Quantization Options

QuantizationBitsFile SizeVRAM NeededRAM NeededQuality
Q4_K_M4.51.4 GB1.9 GB3 GB
85%
Q8_082.2 GB2.7 GB4 GB
98%

See It In Action

Real model outputs generated via RunThisModel.com — watch responses stream in real time.

Llama 3.3 70B responding...

Outputs generated by real AI models via RunThisModel.com. Generation speed shown is from cloud inference. Local speeds vary by hardware — check your device.

Frequently Asked Questions

How much VRAM do I need to run CodeGemma 2B?

CodeGemma 2B requires 1.9GB VRAM minimum with Q4_K_M quantization. For full precision, you need 2.7GB VRAM.

What is the best quantization for CodeGemma 2B?

Q4_K_M offers the best balance of quality and VRAM usage. Q8_0 is near-lossless if you have enough VRAM.