What you would have to do is find out which routers have more "long term" support. Those are the ones that tend to have the better developed software and less security holes. Those also tend to be the more expensive ones for that exact reason. Once you bought that router, they are getting no more money from you, so if they want to keep it supported, they have to charge more to make up for the cost of software support.