Dengue is the world's most important vector-borne viral disease. The dengue mosquito and virus are sensitive to climate variability and change. Temperature, humidity and precipitation influence mosquito biology, abundance and habitat, and the virus replication speed. In this study, we develop a modelling procedure to quantify the added value of including climate information in a dengue model for the 76 provinces of Thailand, from 1982-2013. We first developed a seasonal-spatial model, to account for dependency structures from one month to the next and between provinces. We then tested precipitation and temperature variables at varying time lags, using linear and nonlinear functional forms, to determine an optimum combination of time lags to describe dengue relative risk. Model parameters were estimated using Integrated Nested Laplace Approximation (INLA).This approach provides a novel opportunity to perform model selection in a Bayesian framework, while accounting for underlying spatial and temporal dependency structures and linear or nonlinear functional forms. We quantified the additional variation explained by interannual climate variations, above that provided by the seasonal-spatial model. Overall, an additional 8% of the variance in dengue relative risk can be explained by accounting for interannual variations in precipitation and temperature in the previous month. The inclusion of nonlinear functions of climate in the model framework improved the model for 79% of the provinces. Therefore, climate forecast information could significantly contribute to a national dengue early warning system in Thailand.