corehu

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

Can you run Phi-3-medium-4k-instruct on A100 SXM4?

Fits on one GPU

Yes. Phi-3-medium-4k-instruct needs about 35 GB of GPU memory and one A100 SXM4 has 40 GB, which leaves about 5 GB for longer context, bigger batches or higher resolution.

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

Rent A100 SXM4 A100 SXM4 from $0.79 per hour, billed per second. Ten hours cost about $7.90.
Memory needed
≈ 35 GB
A100 SXM4 memory
40 GB
Free memory
5 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 Phi-3-medium-4k-instruct today

Questions

Can I run Phi-3-medium-4k-instruct on A100 SXM4?
Yes. Phi-3-medium-4k-instruct needs about 35 GB of GPU memory and one A100 SXM4 has 40 GB, which leaves about 5 GB for longer context, bigger batches or higher resolution.
How much does it cost to run Phi-3-medium-4k-instruct on A100 SXM4?
A100 SXM4 from $0.79 per hour, billed per second. Ten hours cost about $7.90.