To ensure energy security and environmental sustainability, transition to renewable energy sources is required, one of the most important and sustainable renewable energy is solar energy, However, in developing predicting system, accurate solar radiation is essential for optimizing solar energy systems particularly in regions with limited ground based infrastructures including Northwest Nigeria, To address this challenge a time series dataset of daily solar radiation measurements from available meteorological parameter, several previous studies have used various methods including ARIMA, SARIMA, Machine learning and Deep leaning models with static hyperparameter optimization approach, Meanwhile optimization of forecasting systems is necessary for developing accurate energy predicting systems. Deep learning is effective in solar radiation forecasting. To evaluate the performance of deep learning method for daily solar prediction, an optimized Long Short-Term Memory (GWO-LSTM and BO-LSTM) based deep learning models were developed in the study, The optimized models were created using daily solar radiation data from Nigerian Meteorological Agency for a period of 20 years, in three states in Northwest Nigeria: Kaduna, kano and katsina, This models were evaluated using two forecasting performance metrics: R2 coefficient of determination and Root Mean Square Error (RMSE), The models results shows that both optimized models outperformed baseline LSTM model, The LSTM-BO indicates performance with training R2 = 0.8500, RMSE=0.3876 and testing of R2 = 0.8205, RMSE = 0.4309 while GWO-LSTM achieves training of R2 = 0.8358, RMSE = 0.4054 and testing of R2 = 0.8190, RMSE = 0.4340 respectively. The LSTM-BO achieves slightly better predicting accuracy than LSTM-GWO.