Putin gains the most—a meeting legitimizes him as a peer negotiator, breaks his pariah status, and signals Ukraine is ready to concede. He's been begging for this optics win.
Turkey gains more as the broker, scoring huge diplomatic cred and regional leverage without concessions or risks.