OPEN MODELS / granite-code:20b
Can you run granite-code:20b on RTX 4090?
Fits on one GPU
Yes. granite-code:20b needs about 15 GB of GPU memory and one RTX 4090 has 24 GB, which leaves about 9 GB for longer context, bigger batches or higher resolution.
For one request, expect about 51 tokens per second, roughly $4.12 per million generated tokens at this price.
Rent RTX 4090 RTX 4090 from $0.76 per hour, billed per second. Ten hours cost about $7.60.
Memory needed
≈ 15 GB
RTX 4090 memory
24 GB
Free memory
9 GB
Price per hour
$0.76
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.
Cheapest GPUs that fit granite-code:20b today
Questions
- Can I run granite-code:20b on RTX 4090?
- Yes. granite-code:20b needs about 15 GB of GPU memory and one RTX 4090 has 24 GB, which leaves about 9 GB for longer context, bigger batches or higher resolution.
- How much does it cost to run granite-code:20b on RTX 4090?
- RTX 4090 from $0.76 per hour, billed per second. Ten hours cost about $7.60.