corehu

OPEN MODELS

gemma-2-9b vs shieldgemma-9b-IMat-GGUF

shieldgemma-9b-IMat-GGUF needs about 16 GB less GPU memory than gemma-2-9b (8 GB vs 24 GB). Cheapest way to run them today: gemma-2-9b from $0.27 per hour on Tesla P40, shieldgemma-9b-IMat-GGUF from $0.14 per hour on GTX 1070.

gemma-2-9bshieldgemma-9b-IMat-GGUF
Developergooglelegraphista
Parameters9.2B9.2B
WeightsF32GGUF
Licensegemmagemma
GPU memory needed≈ 24 GB≈ 8 GB
Memory at 4-bit≈ 8 GB—
Cheapest GPU that fitsTesla P40 · $0.27GTX 1070 · $0.14
Speed (est.)≈ 10 tok/s · $7.15/1M≈ 24 tok/s · $1.60/1M
Downloads16,1603,123

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, gemma-2-9b or shieldgemma-9b-IMat-GGUF?
shieldgemma-9b-IMat-GGUF needs about 16 GB less GPU memory than gemma-2-9b (8 GB vs 24 GB).
Which is cheaper to run, gemma-2-9b or shieldgemma-9b-IMat-GGUF?
Cheapest way to run them today: gemma-2-9b from $0.27 per hour on Tesla P40, shieldgemma-9b-IMat-GGUF from $0.14 per hour on GTX 1070.