Not even top 25 in the US. Median household income in Berkeley, CA is $97,834.
Berkely is in the San Francisco-Oakland-Hayward MSA, which had the fourth-highest per-capita income on the 2010 US census and is likely to place higher on the more recent one. It's absolutely one of the highest-income metropolitan areas in the world.
In addition, looking a college town median income is a demographic anomaly. There are 50000 people at the University with zero income.
If you look at prime-earning-age householders in the Census, Berkeley is way off the scale.
I feel like Bay Area rich people don’t really live in Berkeley. Maybe they used to?