If you're buying new, 3x 4070 Super Ti 16GB might be better than 4x 3080 12GB:
4070 super ti 16GB, fp32 44 tflops, Mem 672 GB/s
3080 12gb, fp32 30 tflops, Mem 760 GB/s
3080 Ti 12GB fp32 34 tflops, Mem 912 GB/s
For 50% more gddr, a 4070 Super Ti costs less than 50% more than a base 3080. There's a tradeoff between FLOPS and memory bandwidth though, but using 3 cards instead of 4 should makeup for that.