codegemma:2b vs MiniCPM-2B-sft-bf16
codegemma:2b needs about 3 GB less GPU memory than MiniCPM-2B-sft-bf16 (3 GB vs 6 GB). Cheapest way to run them today: codegemma:2b from $0.07 per hour on Quadro P2000, MiniCPM-2B-sft-bf16 from $0.13 per hour on GTX 1070.
| codegemma:2b | MiniCPM-2B-sft-bf16 | |
|---|---|---|
| Developer | Ollama | openbmb |
| Parameters | 2B | 2B |
| Weights | GGUF | — |
| License | — | — |
| GPU memory needed | ≈ 3 GB | ≈ 6 GB |
| Memory at 4-bit | — | ≈ 3 GB |
| Cheapest GPU that fits | Quadro P2000 · $0.07 | GTX 1070 · $0.13 |
| Speed (est.) | ≈ 68 tok/s · $0.28/1M | ≈ 34 tok/s · $1.07/1M |
| Downloads | 0 | 19,393 |
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:2b or MiniCPM-2B-sft-bf16?
- codegemma:2b needs about 3 GB less GPU memory than MiniCPM-2B-sft-bf16 (3 GB vs 6 GB).
- Which is cheaper to run, codegemma:2b or MiniCPM-2B-sft-bf16?
- Cheapest way to run them today: codegemma:2b from $0.07 per hour on Quadro P2000, MiniCPM-2B-sft-bf16 from $0.13 per hour on GTX 1070.