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-9b | shieldgemma-9b-IMat-GGUF | |
|---|---|---|
| Developer | legraphista | |
| Parameters | 9.2B | 9.2B |
| Weights | F32 | GGUF |
| License | gemma | gemma |
| GPU memory needed | ≈ 24 GB | ≈ 8 GB |
| Memory at 4-bit | ≈ 8 GB | — |
| Cheapest GPU that fits | Tesla P40 · $0.27 | GTX 1070 · $0.14 |
| Speed (est.) | ≈ 10 tok/s · $7.15/1M | ≈ 24 tok/s · $1.60/1M |
| Downloads | 16,160 | 3,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.