the price (one) has to pay
The physical, emotional, or psychological difficulty one must endure (as a result of something); the unpleasant, difficult aspects (of something) that one must face. Working extremely long hours is just one of the prices you have to pay to work in this industry. I'm the one who chose to leave home and move to Europe—missing my friends and family is just the price I'll have to pay.
price one has to pay
the sacrifice that one has to make; the unpleasantness that one has to suffer. Being away from home a lot is the price one has to pay for success.