Unit commitment (UC) is the scheduling of power unit operating outages to meet electricity needs at a certain time with the aim of obtaining a total economical generating cost. Differences in the characteristics of each generating unit and limitations result in different scheduling combinations based on equations, and for this research, the renewable energy penetration will also be considered. Firefly Algorithm (FA) is a method to determine load requests and complete renewable energy scheduling power by using unit commitment. FA is a simple but reliable algorithm that solves optimization problems. Firefly Algorithm (FA) method obtained maximum generating power of 81,329 MW with the total cost of 827,556 $ and network losses of 3.6696 Coefficient of operating costs.