In this paper, the thermal-related stress–strain behavior of alkali-activated slag (AAS) concretes, with different alkali concentrations and moduli, was studied under compression. After exposure to high temperatures (200 °C, 400 °C, 600 °C, 800 °C, and 1000 °C), a compression test was carried out on the specimens. The stress–strain relationship, axial compressive strength, and elastic modulus were expressed using both a displacement extensometer and the digital image correlation (DIC) technique. It was mainly determined that: (1) With the increase in temperature, the stress–strain curves of the AAS concretes tended to be flattened, indicating reductions in both axial compressive strength and elastic modulus. After 1000 °C, only 2.5–3.7% axial compressive strength and 1.4–3.9% elastic modulus remained, respectively. (2) The DIC technique was used for thermal strain measurements of the AAS concrete. Compared to the traditional extensometer, DIC yielded a small error of 4.5% and 7.2% for axial compressive strength and elastic modulus measurements, respectively. The strain cloud chart obtained from DIC was helpful for monitoring the damage process of the specimens. The findings of this paper refined scientific systems of AAS concrete under thermal action, and also provided a newly non-contact approach for thermal strain measurements of AAS concrete under compression.