The rapid growth of the global population and the consequent increase in manufacturing activities have heightened the need for sustainable practices to protect the environment. Non-traditional manufacturing processes, such as electric discharge machining (EDM), often use oil-based dielectric fluids like kerosene, which emit toxic fumes and aerosols, contributing to environmental pollution. To address this, the reuse of waste cooking oil (WCO) as a dielectric fluid in EDM presents a promising solution. This method not only tackles the issue of waste oil disposal but also supports the circular economy by repurposing waste materials. EDM, frequently criticized for its low cutting rates, can be enhanced by using nitrogen assisted modified Cu electrodes (cryogenically treated (CT)). This study focused on machining the difficult-to-cut nickel-based superalloy, IN718 by incorporating Sillimanite nano-powder with Span-60 (S-60). The erosion performance characteristics such as material removal rate (MRR), electrode wear rate (EWR), and accuracy index (AI) were evaluated. An artificial neural network (ANN) was employed to predict and correlate experimental and predicted values. Significant improvements were achieved using the non-dominated sorting genetic algorithm (NSGA-II) in the confirmation investigations. With a non-treated (NT) Cu electrode, the confirmatory experiments showed a 79.81 % increase in MRR, an 18.99 % decrease in EWR, and a 0.89 % improvement in AI. For the CT Cu electrode, MRR increased by 85.48 %, EWR decreased by 32.90 %, and AI improved by 0.53 % when using optimal processing parameters. This study demonstrates the potential for significant environmental and performance benefits in EDM by reusing WCO and optimizing electrode treatments.