corehu

OPEN MODELS

codegemma-7b vs gemma-7b-it

codegemma-7b and gemma-7b-it need about the same GPU memory (22 GB). Cheapest way to run them today: codegemma-7b from $0.27 per hour on Tesla P40, gemma-7b-it from $0.27 per hour on Tesla P40.

codegemma-7bgemma-7b-it
Developergooglegoogle
Parameters8.5B8.5B
WeightsBF16BF16
Licensegemmagemma
GPU memory needed≈ 22 GB≈ 22 GB
Memory at 4-bit≈ 8 GB≈ 8 GB
Cheapest GPU that fitsTesla P40 · $0.27Tesla P40 · $0.27
Speed (est.)≈ 11 tok/s · $6.61/1M≈ 11 tok/s · $6.61/1M
Downloads2,63526,973

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length. Speed is an estimate for one request at a time from the GPU's memory bandwidth; serving many requests at once raises total throughput and lowers the cost per token.

Questions

Which needs less GPU memory, codegemma-7b or gemma-7b-it?
codegemma-7b and gemma-7b-it need about the same GPU memory (22 GB).
Which is cheaper to run, codegemma-7b or gemma-7b-it?
Cheapest way to run them today: codegemma-7b from $0.27 per hour on Tesla P40, gemma-7b-it from $0.27 per hour on Tesla P40.