The purpose of the article is to determine the optimal value of the number of vehicles on the route network of Kremenchuk in the interaction of mainline and internal passenger transport by organizing the work of participants in the transport process of moving passengers during the transition from mainline (car, railway, river) to urban (trolley buses, buses, route taxis) transport. Optimization of the interaction was carried out according to the criterion of reducing the total reduced costs. A generalized criterion for assessing the total costs of participants in the transport process is proposed, which tends to be minimized as a result of the organization of transportation. The passenger capacity of a unit of rolling stock of mainline passenger transport differs from the passenger capacity of a unit of rolling stock of urban passenger transport. Taking into account that urban passenger transport operates in conditions of significant fluctuations in passenger flows, there are periods when the loading of rolling stock exceeds the nominal capacity, that is, the static coefficient of utilization of the passenger capacity of rolling stock is greater than one. The greater the number of vehicles of urban passenger transport, which ensures its interaction with mainline transport, on the route, the shorter the waiting time of passengers, which reduces social costs, but the higher the operating costs of the carrier. The combination of these aspects will allow to balance both the economic effect of the provision of transport services and the social aspect, which has a direct positive effect on the development of the interaction of highway passenger transport with city transport and the city as a whole. The search for ways to reduce the total costs can improve the level of quality of passenger transportation in the interaction of highway and urban transport. Using transport services as a generalizing criterion allows you to determine a compromise between the interests of the provider of transport services (carrier) and the consumer of services (passenger). The optimal value of the number of vehicles on the city's route network is directly proportional to the cost of transport service time and inversely proportional to the operating costs of the carrier's enterprise. Also, the increase in passenger turnover, which goes from highway to city passenger transport, and the length of the route, which determines the turnover time, requires an increase in the number of vehicles.