granite-8b-code-instruct-128k vs granite-8b-code-instruct-4k-GGUF
granite-8b-code-instruct-4k-GGUF needs about 14 GB less GPU memory than granite-8b-code-instruct-128k (7 GB vs 21 GB). Cheapest way to run them today: granite-8b-code-instruct-128k from $0.23 per hour on RTX 2080 Ti, granite-8b-code-instruct-4k-GGUF from $0.13 per hour on GTX 1070.
| granite-8b-code-instruct-128k | granite-8b-code-instruct-4k-GGUF | |
|---|---|---|
| Developer | ibm-granite | ibm-granite |
| Parameters | 8.1B | 8.1B |
| Weights | BF16 | GGUF |
| License | apache-2.0 | apache-2.0 |
| GPU memory needed | ≈ 21 GB | ≈ 7 GB |
| Memory at 4-bit | ≈ 7 GB | — |
| Cheapest GPU that fits | RTX 2080 Ti · $0.23 | GTX 1070 · $0.13 |
| Speed (est.) | ≈ 22 tok/s · $2.93/1M | ≈ 28 tok/s · $1.29/1M |
| Downloads | 2,431 | 6,770 |
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, granite-8b-code-instruct-128k or granite-8b-code-instruct-4k-GGUF?
- granite-8b-code-instruct-4k-GGUF needs about 14 GB less GPU memory than granite-8b-code-instruct-128k (7 GB vs 21 GB).
- Which is cheaper to run, granite-8b-code-instruct-128k or granite-8b-code-instruct-4k-GGUF?
- Cheapest way to run them today: granite-8b-code-instruct-128k from $0.23 per hour on RTX 2080 Ti, granite-8b-code-instruct-4k-GGUF from $0.13 per hour on GTX 1070.