The industrial revolution 4.0 is marked by the commencement of the digitalization era of the business sector. This condition requires all industrial sectors to transform through the digitalization of business processes. Advanced Metering Infrastructure (AMI) is a representation of the digital transformation of equipment technology and customer service delivered by utility companies in the electricity industry and is at the same time the core of the Smart Grid system. With the start of the commercialization phase of AMI infrastructure to customers in Jakarta, the State Electricity Company or PT PLN (a limited liability company) as the company managing the electricity supply business in Indonesia has successfully built an AMI infrastructure ecosystem in 2021. The commercialization of AMI infrastructures takes place in stages in accordance with the company's targets and funding capabilities. The right method is needed in the development phase of the AMI ecosystem so that PT PLN and customers can maximize the features and benefits of AMI technology in the future. Therefore, it is necessary to cluster PLN customers to build an optimal AMI customer ecosystem. By using Analytic Hierarchy Process (AHP) method, the customer clustering method has been found by prioritizing several things. For the Jakarta area specifically, based on expert judgment with a total overall inconsistency value of 0.03 it is known that Jakarta's PLN Distribution Main Unit must prioritize five subcategories are theft losses chance (C12) with 11,2%, customer density (C54) with 7,8%, corporation's bad debt problems (C13) with 7,5%, number of customers per substation (C53) with 6,9%, and the distance of LV distribution network to smart meter (C53) with 6,5% to make optimization of Advanced Metering Infrastructure (AMI) customer ecosystem.