Average rent in SF is $4K? vs Austin is $2K? ... seems you'd come out ahead by ~24K + 12K - 18.3K = $17.7K / year.
$20k now
10% cut
Leave NYC or SF for even another city like Seattle or Chicago or Austin and I'm pretty sure you win