Air quality is an essential aspect of any environmental study, and machine learning tools have provided a valuable method to predict the air quality index. In this study, Air Quality Index (AQI) is predicted from significant air quality variables like particulate matter-2.5 (PM 2.5), particulate matter-10 (PM10), NO, NO2, NOx, NH3, CO, SO2, O3, Benzene, Toluene, and xylene using autoML. Fourteen models were compared, and one was selected based on the significant model metrics. Random Forest Classifier is selected as an appropriate model based on model metrics: accuracy, AUC, Recall, Precision, F1 score, Kappa, and MCC. We obtained an accuracy score of 0.97 (97%) with good precision, recall, and F1. Our work supports that fine particulate matter (PM2.5) is crucial in predicting AQI. It is observed that the AutoML tools can be handy in machine learning tasks.