The rise of vertical farms offers new opportunities for climate change and agricultural development. Vertical farms use greenhouses and AI technology applications to overcome the agricultural problems of climatic factors and labour shortages. It also leads to the problem of high electricity bills and other operating costs, which affects the operating efficiency. This study aims to analyse the operational efficiency and input-output resource allocation of vertical farms. This study uses a dynamic network DEA model to analyse the first-stage energy efficiency stage, second-stage operating efficiency and overall efficiency of the world's top 8 vertical farms from 2018 to 2022. The research results are as follows: 1. The first-stage input (solar power generation and water-saving equipment) is sufficient, and the intermediate output of the vertical farm (the higher the power generation, the greater the water saving) is prone to economies of scale, and the impact on the vertical farm in the first stage will be Brings positive operational efficiencies to the department. 2. The COVID-19 epidemic has had a significant positive impact on the power generation and energy saving efficiency of the first phase of vertical farms, which means that the energy input and output of vertical farms have been better distributed during the epidemic, and indirectly affected the second phase. stage operational efficiency as well as the overall operational efficiency of the vertical farm. 3. According to the slack variable analysis, in order for vertical farms to achieve the best overall operating efficiency, both input and output factors need to be reallocated and adjusted. Among them, operating costs (power costs) need to be reduced by 38.68%, which is the largest adjustment among all input factor resources. Vertical farms use modern, high-tech artificial intelligence to stabilise crop value supply chains and provide many other functional benefits. However, their operational efficiency is severely hampered by high electricity costs. Therefore, effectively reducing the electricity costs of vertical farm operations will be the key to their success or failure.