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.
With options markets, as with futures markets, long and short refer to the buying and selling of one or more contracts, but unlike futures markets, they do not refer to the direction of the trade. For example, if a futures trade is entered by buying a contract, the trade is a long trade, and the trader wants the price to go up, but with options, a trade can be entered by buying a Put contract, and is still a long trade, even though the trader wants the price to go down. The following chart may help explain this further:

Just as you can buy a stock because you think the price will go up or short a stock when you think its price is going to drop, an option allows you to bet on which direction you think the price of a stock will go. But instead of buying or shorting the asset outright, when you buy an option you’re buying a contract that allows — but doesn’t obligate — you to do a number of things, including:
However, options are not the same thing as stocks because they do not represent ownership in a company. And, although futures use contracts just like options do, options are considered lower risk due to the fact that you can withdraw (or walk away from) an options contract at any point. The price of the option (its premium) is thus a percentage of the underlying asset or security.