corehu

OPEN MODELS / codegen2-16B_P

Can you run codegen2-16B_P on L40S?

Fits on one GPU

Yes. codegen2-16B_P needs about 40 GB of GPU memory and one L40S has 48 GB, which leaves about 8 GB for longer context, bigger batches or higher resolution.

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

Rent L40S L40S from $1.01 per hour, billed per second. Ten hours cost about $10.10.
Memory needed
≈ 40 GB
L40S memory
48 GB
Free memory
8 GB
Price per hour
$1.01

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 L40S?
Yes. codegen2-16B_P needs about 40 GB of GPU memory and one L40S has 48 GB, which leaves about 8 GB for longer context, bigger batches or higher resolution.
How much does it cost to run codegen2-16B_P on L40S?
L40S from $1.01 per hour, billed per second. Ten hours cost about $10.10.