It benefits them to have you leave the bay area, because they know it will be much more difficult for you to find your next job. They are paying $10k now to minimize future raises and equity grants.
I can think of less risky ways to squeeze $10k out of a new employer.
I can think of less risky ways to squeeze $10k out of a new employer.