OPEN MODELS / gemma-4-31B-it-MLX-4bit
Can you run gemma-4-31B-it-MLX-4bit on L40S?
Needs 2 GPUs
Not on a single card: gemma-4-31B-it-MLX-4bit needs about 77 GB and one L40S has 45 GB. It fits on a machine with 2× L40S (90 GB in total).
A 4-bit quantized build needs about 24 GB and fits on one L40S.
For one request, expect about 14 tokens per second, roughly $46.46 per million generated tokens at this price.
Rent 2× L40S 2× L40S from $2.34 per hour, billed per second. Ten hours cost about $23.40.
Memory needed
≈ 77 GB
L40S memory
45 GB
Free memory
13 GB
2× L40S
Price per hour
$2.34
2× L40S
Memory figures are our estimates for inference; real use depends on resolution, batch size and context length.
Cheapest GPUs that fit gemma-4-31B-it-MLX-4bit today
Questions
- Can I run gemma-4-31B-it-MLX-4bit on L40S?
- Not on a single card: gemma-4-31B-it-MLX-4bit needs about 77 GB and one L40S has 45 GB. It fits on a machine with 2× L40S (90 GB in total). A 4-bit quantized build needs about 24 GB and fits on one L40S.
- How much does it cost to run gemma-4-31B-it-MLX-4bit on L40S?
- 2× L40S from $2.34 per hour, billed per second. Ten hours cost about $23.40.