corehu

OPEN MODELS

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

gemma-2-9b-it-GGUF needs about 16 GB less GPU memory than shieldgemma-9b (8 GB vs 24 GB). Cheapest way to run them today: shieldgemma-9b from $0.25 per hour on Tesla P40, gemma-2-9b-it-GGUF from $0.13 per hour on RTX 3060.

shieldgemma-9bgemma-2-9b-it-GGUF
DevelopergoogleSanctumAI
Parameters9.2B9.2B
WeightsBF16GGUF
Licensegemmagemma
GPU memory needed≈ 24 GB≈ 8 GB
Memory at 4-bit≈ 8 GB—
Cheapest GPU that fitsTesla P40 · $0.25RTX 3060 · $0.13
Speed (est.)≈ 9.6 tok/s · $7.22/1M≈ 40 tok/s · $0.90/1M
Downloads63,8503,434

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