The fluctuations of agricultural commodity prices have a great impact on people's daily lives as well as the inputs and outputs of agricultural production. An accurate forecast of commodity prices is therefore essential if agricultural authorities are to make scientific decisions. To forecast prices more adaptively, this study proposes a novel model selection framework which includes time series features and forecast horizons. Twenty-nine features are used to depict agricultural commodity prices and three intelligent models are specified as the candidate forecast models; namely, artificial neural network (ANN), support vector regression (SVR), and extreme learning machine (ELM). Both random forest (RF) and support vector machine (SVM) are applied to learn the underlying relationships between the features and the performances of the candidate models. Additionally, a minimum redundancy and maximum relevance approach (MRMR) is employed to reduce feature redundancy and further improve the forecast accuracy. The experimental results demonstrate that, firstly, the proposed model selection framework has a better forecast performance compared with the optimal candidate model and simple model average; secondly, feature reduction is a workable approach to further improve the performance of the model selection framework; and thirdly, for bean and pig grain products, different distributions of the time series features lead to a different selection of the optimal models. INDEX TERMS Model selection, agricultural commodity, price forecasting, time series features, forecast horizons.