corehu

OPEN MODELS / codellama:34b

Can you run codellama:34b on RTX 4090?

Fits on one GPU

Yes. codellama:34b needs about 23 GB of GPU memory and one RTX 4090 has 24 GB, which leaves about 1 GB for longer context, bigger batches or higher resolution.

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

Rent RTX 4090 RTX 4090 from $0.79 per hour, billed per second. Ten hours cost about $7.90.
Memory needed
≈ 23 GB
RTX 4090 memory
24 GB
Free memory
1 GB
Price per hour
$0.79

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

Cheapest GPUs that fit codellama:34b today

Questions

Can I run codellama:34b on RTX 4090?
Yes. codellama:34b needs about 23 GB of GPU memory and one RTX 4090 has 24 GB, which leaves about 1 GB for longer context, bigger batches or higher resolution.
How much does it cost to run codellama:34b on RTX 4090?
RTX 4090 from $0.79 per hour, billed per second. Ten hours cost about $7.90.