I bet you are not really selling the product. You are probably selling support and consultancy.
Basically, you are consulting for the company to solve an issue, and the open source is an enabler.
And $240k/year is what they pay an individual contributor. You are basically being paid for your time and expertise and not really for your product.