Codegemma 2B vs Gemma 2 9B

Side-by-side comparison of VRAM requirements, quantization, context length, and hardware compatibility.

Codegemma 2B

Google · 2.5B

ChatCode
Gemma 2 9B

Google · 9.2B

Chat

Specifications

Codegemma 2BGemma 2 9B
Parameters2.5B9.2B
Context
Architecture
LicenseGemma TermsGemma Terms
Downloads5.8K75.4K
ReleasedAug 2024Aug 2024

VRAM by Quantization: Codegemma 2B vs Gemma 2 9B

QuantizationBitsCodegemma 2B VRAMGemma 2 9B VRAM
Q2_K3.404.3 GB
Q3_K_M3.905.0 GB
Q3_K_S3.504.5 GB
Q4_04.005.1 GB
Q4_K_M4.806.1 GB
Q5_K_M5.707.2 GB
Q6_K6.608.4 GB
Q8_08.0010.2 GB

Verdict

Gemma 2 9B is the more widely downloaded of the two.

Frequently Asked Questions

What is the difference between Codegemma 2B and Gemma 2 9B?

Codegemma 2B is a 2.5B model from Google (Gemma 2 family), while Gemma 2 9B is a 9.2B model from Google (Gemma 2 family). Compare their VRAM requirements above to see which fits your GPU or Mac.