Okay, make me unhappy. I'm just another toxic male. I can go, right? My leaving will just make the rest of the team more vibrant or whatever.
Well, I produce 10x more code than the rest of the team put together, so good luck.
It sounds like you are a very intelligent and motivated person , so lets think about this logically.
Here's an alternative scenario: lets say you take the time and effort to get your team to like you and inspire them to improve to your skill level. If you are the 10x engineer, then produce code at 1x and spend the other 9x learning and doing what it takes to inspire the rest of the team to get to your productivity. If it takes the team 1 year to get to your productivity and the team has size of 10, then the team collectively will have 100x productivity by the end of the year. You would be able to accomplish way more than what you could have accomplished yourself. (Obviously, I generalized the math. But you get the point).
Counter argument: "I don't plan to stay in the company for that long to reap the benefits"
Fortunately, if you inspire somebody to become 10x the person they were, you would have made a lasting impact in their lives. Companies come and go, but relationships stick around. If you leave to do your startup, chances are these 10x engineers would be more than happy to join (at various stages of success during the life of the startup).
This is all I have time to write. I hope this helps. Good luck.