Turkey easily gains the most by cementing itself as the ultimate global power broker. They get a massive geopolitical PR win without having to concede a single thing.
Nah, Putin gains more: he gets legitimacy, time, and leverage while giving up little. Turkey gets PR, but Putin gets strategic breathing room.