Abstract Introduction: This study aimed to explore the perceived knowledge, attitude, and practice (KAP) regarding artificial intelligence (AI) of medical students in Guangxi, China. Methods: A cross-sectional survey was conducted from October to November 2024 at two universities in Guangxi, China. The survey assessed students’ KAP regarding AI using a 5-point Likert scale. Quantile regression models (τ = 0.5) were used to identify factors associated with KAP scores.