This paper deeply discusses the smart grid forecasting strategy based on artificial intelligence technology. Firstly, the development status and integration trend of smart grid and artificial intelligence technology are summarized. Then the existing smart grid forecasting strategies are analyzed, and the application of artificial intelligence in forecasting strategies is emphatically discussed. On this basis, the framework of smart grid forecasting strategy based on artificial intelligence is constructed, and the key links of strategy construction are expounded in detail, including data collection and processing, model selection and training, and forecasting result evaluation. Through the application of practical cases, the effectiveness of this strategy in improving prediction accuracy and stability is verified. Finally, the research results are summarized, and the existing problems of the current strategy and the future research direction are pointed out. The research in this paper provides technical support for the optimal scheduling and decision-making of smart grid, and helps to promote the sustainable development of smart grid.