The impact of global climate change on mountainous regions with significant elevational gaps is complex and often unpredictable. In particular, alpine grassland ecosystems, are experiencing changes in their spatial patterns along elevational gradients, which increases their vulnerability to degradation. Therefore, a more detailed understanding of spatiotemporal changes in alpine grassland productivity along elevational gradients and an elevation-dependent characterization of the effects of climatic variables on grassland productivity dynamics are essential. Thus, we conducted a study in the Tibetan Plateau, where we collected 2251 above-ground biomass (AGB) observations collected from 1986 to 2020. Mean annual temperature (TMP), annual precipitation (PRE), interannual precipitation variability (CVP), and snowmelt (SNMM) were chosen as influential variables. Using the Random Forest algorithm, we generated an AGB raster dataset covering the period 1989–2020 based on earth observation data at 30 m resolution to examine the dynamics of alpine grasslands and their response to climate change with respect to elevation. The results showed that the AGB of alpine grassland on the Tibetan Plateau was 49.17 g/m2. We observed an increasing trend in grassland AGB at high elevations, with a growth rate of about 0.28 g/m2 per year within the interval of 3100–4800 m. However, above the elevation of approximately 4400–4600 m, we observed a decoupling trend between grassland AGB and TMP. Moreover, at most elevations, the proportion of maximum partial correlation coefficients for CVP, PRE, and SNMM surpassed that of TMP. We found the dominant role of precipitation variability on grassland AGB dynamics, with 22.80 % and 18.86 % for CVP+ and CVP-, respectively. The proportion of CVP+ did not vary much at different elevations, whereas the proportion of CVP- increased with elevation, varying between 12.85 and 30.25 %. In the future, precipitation on the Tibetan plateau is expected to increase, potentially reversing its original positive impact.