Scaleway will give you an 8 core 16GB RAM 256GB SSD M1 Mac Mini for €0.1/h. It may not sound like much of an increase from core count but it is ~10x faster for multicore which means it probably comes out on top for perf/€, perf/Watt, and total perf compared to a rack of Pi 4's for any such distributed ARM use case.
For pure traditional cloud a Graviton2 instance on AWS is probably more green, albeit probably less cost efficient to the user.