In this study, the effect of energy cost liberalization policies on the cost-effectiveness of wind farms compared to gas power plants has been investigated. To calculate the cost of electricity generation from various sources, including wind energy and fossil fuels, the "levelized cost" method has been used as the most acceptable economic method to compare different types of electricity generation technologies. In addition, calculations related to the cost of electricity, different fuel prices, different technologies of wind farms, and different prices of different types of fuel are considered. Based on the results of this research, it was found that by targeting fuel prices in the country, wind farms are quite cost-effective, and considering the cost of the opportunity to use diesel in the country, the construction of these power plants can provide the possibility of exporting this fuel. This cost also increases with the production of valuable equipment in the country. The important point is that the macro policy should localize the wind turbine industry with priority to its valuable parts and components due to fuel price changes. This policy will continue to make this type of power plant cost-effective in the country and the employment of specialists in the country.