Forecasting streamflows, essential for flood mitigation and the efficient management of water resources for drinking, agriculture and hydroelectric power generation, presents a formidable challenge in most real-world scenarios. In this study, two models, the first based on the Additive Regression of Radial Basis Function Neural Networks (AR-RBF) and the second based on the stacking with the Pace Regression of the Multilayer Perceptron and Random Forest (MLP-RF-PR), were compared for the prediction of short-term (1–3 days ahead) and medium-term (7 days ahead) daily streamflow rates of three different rivers in Germany: the Elbe River at Wittenberge, the Leine River at Herrenhausen, and the Saale River at Hof. The lagged values of streamflow rate, precipitation and temperature were considered for the modeling. Moreover, the Bayesian Optimization (BO) algorithm was used to assess the optimal number of lagged values and hyperparameters. Both models showed accurate predictions for short-term forecasting, with R2 for 1-day ahead predictions ranging from 0.939 to 0.998 for AR-RBF and from 0.930 to 0.996 for MLP-RF-PR, while MAPE ranged from 2.02 % to 8.99 % for AR-RBF and from 2.14 % to 9.68 % for MLP-RF-PR, when exogeneous variables were included. As the forecast horizon increased, a reduction in forecasting accuracy was observed. However, both models could still predict the overall flow pattern, even for 7-day-ahead predictions, with R2 ranging from 0.772 to 0.871 for AR-RBF and from 0.703 to 0.840 for MLP-RF-PR, while MAPE ranged from 10.60 % to 20.45 % for AR-RBF and from 10.44 % to 19.65 % for MLP-RF-PR. Overall, the outcomes of this study suggest that both AR-RBF and MLP-RF-PR can be reliable tools for the short- and medium-term streamflow rate prediction, requiring a short number of parameters to be optimized, making them easy to implement while reducing the calculation time required.