The analysis of students’ attitudes and perceptions represents a basis for enhancing different types of activities, including teaching, learning, assessment, etc. Emphasis might be placed on the implementation of modern procedures and technologies, which play an important role in the process of digital transformation. Among them is artificial intelligence—a technology that has already been found to be applicable in various sectors. When it comes to education, several AI-based tools and platforms can be used by students and teachers. Besides offering customized learning experiences, AI may play a significant part in establishing the concept of sustainability, especially when concerning the achievement of sustainable development goal 4. This paper investigates students’ intention to use artificial intelligence in education, taking three predictors from the UTAUT model and AI awareness as the moderator. The analysis included students from the Autonomous Province of Vojvodina, Republic of Serbia. For the purpose of the research, the partial least squares structural equation modeling (PLS-SEM) method was applied. Hereby, two models (without and with a moderator) were tested to examine the main and moderating effects, respectively. Regarding the results, while interaction terms were non-significant, the impacts of performance expectancy, effort expectancy, and social influence on behavioral intention were significant and positive.