source : Reddit - Dive into anything
I love this graphic , someone on reddit plotted geekenbech scores for cpu and gpu(metal) . for each cpu/gpu , now they didnt specify the core counts as there are multiple M4 pros or whatever but it should be close.
dont have enough specific info on performance scaling - geekbench vs flame has but it might be a good guide to gauge general performance differences
also for ML (not on flame) ram amount matters a lot