Well in my personal experience the salary of senior devs in very early-stage startups i've been involved with in NYC get around get about 150K + options (text processing, machine learning, AI-stuff). With 2 incomes and some savings put aside, certainly its affordable, much more so than SF from what i've seen. The dev salary here may be higher because they need to complete with wall street firms, and there are overall less very senior devs in NYC compared to SF.
Maybe if you live in Manhattan. If you live out in Bayridge, you can get a 750+ sqft 1-bedroom apartment for $1450/mo. It takes me roughly 35 minutes getting to Soho on the R/N train from 86th st [which is near the end of the R train]