corehu

OPEN MODELS / codegen2-16B_P

Can you run codegen2-16B_P on RTX 4090?

Needs 2 GPUs

Not on a single card: codegen2-16B_P needs about 40 GB and one RTX 4090 has 24 GB. It fits on a machine with 2× RTX 4090 (48 GB in total).

A 4-bit quantized build needs about 13 GB and fits on one RTX 4090.

For one request, expect about 38 tokens per second, roughly $10.98 per million generated tokens at this price.

Rent 2× RTX 4090 2× RTX 4090 from $1.52 per hour, billed per second. Ten hours cost about $15.20.
Memory needed
≈ 40 GB
RTX 4090 memory
24 GB
Free memory
8 GB
2× RTX 4090
Price per hour
$1.52
2× RTX 4090

Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.

Cheapest GPUs that fit codegen2-16B_P today

Questions

Can I run codegen2-16B_P on RTX 4090?
Not on a single card: codegen2-16B_P needs about 40 GB and one RTX 4090 has 24 GB. It fits on a machine with 2× RTX 4090 (48 GB in total). A 4-bit quantized build needs about 13 GB and fits on one RTX 4090.
How much does it cost to run codegen2-16B_P on RTX 4090?
2× RTX 4090 from $1.52 per hour, billed per second. Ten hours cost about $15.20.