It is true that posing that question can sometimes cost you the job (please note "can sometimes" is not the same as "will for sure")
However, I wouldn't really be too concerned for the cases where it does cost you the job, because those are precisely the cases where the answer to your question is "No". And if you are asking that question, it's probably because that's important to you.
gmasher729 is right that "how much do you pay?" is probably a better way to ask that "do you pay at all?", because it creates the same (or less) "nuisance" but provides you more information. Jay's formulations also look OK to me.
By the way, I wonder what kind of job the author of the post is currently holding...