How should I manage my 9 day stay?

Looking to go to Japan for the first time with my wife in October, going to stay 9 days. I was originally thinking of doing 5 days in Tokyo and 4 days in Kyoto. Wondering if that’s a good amount of time in each place? Or should I stay in Osaka over Kyoto? I also talked to someone else and they recommended 4 days in Tokyo, 3 in Kyoto and 2 in Osaka but that seems like a lot of moving. Any suggestions is appreciated, thanks.

by alnz8