Abstract. With the development of society, spatial artificial intelligence (spatial AI) research is gradually able to play a greater role. However, spatial AI has problems such as data alignment, poor interpretability, and cross domain learning. Therefore, this paper proposes an innovative GeoSOT-3D grid modeling framework for spatial AI research, which enhances the application capabilities of spatial AI. Grid modeling will be able to run through the upstream and downstream of spatial AI research, providing encoding calculations and spatial neighborhood embedding matrices for spatial data. This paper also uses task examples to demonstrate how to effectively organize and index spatial data using GeoSOT-3D grids and conduct spatial AI research. The use of GeoSOT-3D grids for spatial AI analysis has enormous potential and broad application prospects, which will help promote the further development and application of spatial AI.