Spotify clearly outshines Youtube Music with a maximum streaming quality of 320kbps. But keep in mind that to a casual listener, there isn't going to be any noticeable difference between 256kbps and 320kbps in terms of sound quality. Even more so if you're using mid- to low-tier audio gear.