When deciding on such an investment, it is important to consider the costs of equipment, electricity and maintenance, as well as the level of competition in the mining .