Demand response programs can effectively handle the smart grid’s increasing energy demand and power imbalances. In this regard, price-based DR (PBDR) and incentive-based DR (IBDR) are two broad categories of demand response in which incentives for consumers are provided in IBDR to reduce their demand. This work aims to implement the IBDR strategy from the perspective of the service provider and consumers. The relationship between the different entities concerned is modelled. The incentives offered by the service provider (SP) to its consumers and the consumers’ reduced demand are optimized using Stackelberg–particle swarm optimization (SPSO) as a bi-level problem. Furthermore, the system with a grid operator, the industrial consumers of the grid operator, the service provider and its consumers are analyzed from the service provider’s viewpoint as a tri-level problem. The benefits offered by the service provider to its customers, the incentives provided by the grid operator to its industrial customers, the reduction of customer demand, and the average cost procured by the grid operator are optimized using SPSO and compared with the Stackelberg-distributed algorithm. The problem was analyzed for an hour and 24 h in the MATLAB environment. Besides this, sensitivity analysis and payment analysis were carried out in order to delve into the impact of the demand response program concerning the change in customer parameters.