I was paid a local salary while living in Japan. The total cost of living in Tokyo blows NYC and the Bay out of the water in terms of affordability and I’ve lived multiple years in all three. CPI with rent in NYC is nearly 90% higher.
Median household in New York is 120k; it’s 87k in Japan. Rent is over 200% higher than in Japan. Even adjusting for square footage and the earning differential, I assure you it is much easier to get an affordable place (and pay less per square foot accounting for income differentials) in Japan than in New York. Because of the Japanese transit system and the lack of household appreciation, there is a much broader range of rental prices and that range increases the further outside the city center you go.