Under the call of "vigorously developing public transportation" and the evolution of People's travel demand, customized bus comes into being. In order to promote the healthy development of the customized bus market, this paper presents a dynamic pricing strategy based on the previous researches and the consideration of the actual situations. This dynamic pricing strategy refers to divide the operation period of the customized bus into the initial period and the stable period, and to set different fares at different times according to different development objectives by applying differential discounts. Based on this dynamic pricing strategy, a pricing model is constructed to maximize the benefit of the enterprise, and particle swarm optimization algorithm is used to solve the model. In the case study, a commuting route from Shanghai Lingang Industrial District to the Main City of Shanghai Lingang is taken as an example to verify the rationality of the pricing strategy, thus providing a reference for the scientific pricing of customized public transport.