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-7b | gemma-7b-it | |
|---|---|---|
| Developer | ||
| Parameters | 8.5B | 8.5B |
| Weights | BF16 | BF16 |
| License | gemma | gemma |
| GPU memory needed | ≈ 22 GB | ≈ 22 GB |
| Memory at 4-bit | ≈ 8 GB | ≈ 8 GB |
| Cheapest GPU that fits | Tesla P40 · $0.27 | Tesla P40 · $0.27 |
| Speed (est.) | ≈ 11 tok/s · $6.61/1M | ≈ 11 tok/s · $6.61/1M |
| Downloads | 2,635 | 26,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.