corehu

OPEN MODELS / Phi-3-medium-4k-instruct

Can you run Phi-3-medium-4k-instruct on RTX 3090?

Needs 2 GPUs

Not on a single card: Phi-3-medium-4k-instruct needs about 35 GB and one RTX 3090 has 24 GB. It fits on a machine with 2× RTX 3090 (48 GB in total).

A 4-bit quantized build needs about 12 GB and fits on one RTX 3090.

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

Rent 2× RTX 3090 2× RTX 3090 from $0.72 per hour, billed per second. Ten hours cost about $7.20.
Memory needed
≈ 35 GB
RTX 3090 memory
24 GB
Free memory
13 GB
2× RTX 3090
Price per hour
$0.72
2× RTX 3090

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

Cheapest GPUs that fit Phi-3-medium-4k-instruct today

Questions

Can I run Phi-3-medium-4k-instruct on RTX 3090?
Not on a single card: Phi-3-medium-4k-instruct needs about 35 GB and one RTX 3090 has 24 GB. It fits on a machine with 2× RTX 3090 (48 GB in total). A 4-bit quantized build needs about 12 GB and fits on one RTX 3090.
How much does it cost to run Phi-3-medium-4k-instruct on RTX 3090?
2× RTX 3090 from $0.72 per hour, billed per second. Ten hours cost about $7.20.