With respect to an option, this cost is known as the premium. It is the price of the option contract. In our home example, the deposit might be $20,000 that the buyer pays the developer. Let’s say two years have passed, and now the developments are built and zoning has been approved. The home buyer exercises the option and buys the home for $400,000 because that is the contract purchased.

In, At, or Out of the Money: If an option is in the money, its premium will have additional value because the option is already in profit, and the profit will be immediately available to the buyer of the option. If an option is at the money, or out of the money, its premium will not have any additional value because the options are not yet in profit. 
Options trading may seem overwhelming, but they're easy to understand if you know a few key points. Investor portfolios are usually constructed with several asset classes. These may be stocks, bonds, ETFs, and even mutual funds. Options are another asset class, and when used correctly, they offer many advantages that trading stocks and ETFs alone cannot.
The potential home buyer would benefit from the option of buying or not. Imagine they can buy a call option from the developer to buy the home at say $400,000 at any point in the next three years. Well, they can—you know it as a non-refundable deposit. Naturally, the developer wouldn’t grant such an option for free. The potential home buyer needs to contribute a down-payment to lock in that right.
When buying or selling options, the investor or trader has the right to exercise that option at any point up until the expiration date - so simply buying or selling an option doesn't mean you actually have to exercise it at the buy/sell point. Because of this system, options are considered derivative securities - which means their price is derived from something else (in this case, from the value of assets like the market, securities or other underlying instruments). For this reason, options are often considered less risky than stocks (if used correctly).