Your value as a consultant depends on the value you realise for your client. If your efforts earn or save the client a million, then you could earn between 10% to 30% of that amount - depends very much on your ability to sell and negotiate.
Successful consultants are not just technically competent, but also great at selling, negotiating and collecting on invoices.