As far as I understand, they both use Web Audio for their sound production and therefore generate their sound in the browser. As for features, there’s likely to be things they can do that Sonic Pi can’t and visa versa. It all really depends on your musical goals
I’d experiment with them both and see what you think.