This research aims to carry out a predictive analysis of the Consumer Price Index in the city of Makassar to anticipate possible impacts on inflation and deflation in the future. The Consumer Price Index is an indicator that can be used as a basis for measuring changes in the prices of goods and services purchased by consumers which have an impact on inflation in a region. The CPI is very useful for knowing the level of increase in prices, services, and income, as well as measuring the amount of production costs. This data was obtained through the official website of the Central Statistics Agency (BPS) for the Makassar city area. The methods used in this research are Long Short Term Memory (LSTM) and Gated Recurrent Unit (GRU). The results of this research show that based on analysis and testing, the LSTM model has an MAE of 1.0849 and the GRU model has an MAE of 0.9915, which shows that there is no significant difference between the two methods and both methods can work very well, however, The lowest error value was obtained in the GRU model using a 70:30 dataset ratio, 9 number of sequences, 16 neurons in hidden layer 1 and 32 neurons in hidden layer 2, and 1000 number of epochs.