Biodiversity modelling is largely focused on contemporary ecological constrains on species diversity, while modelling the processes of diversification itself in a spatial context remains challenging. Traditional correlative approaches in macroecology may not provide a mechanistic understanding of the way historical processes have shaped the distribution of biodiversity. To disentangle causalities for emergent patterns, the application of dynamic simulation models may provide a better mechanistic understanding on biodiversity gradients. For that, we are developing GaSM, which stands for General Allele Simulation Model and infers biodiversity patterns from historical range dynamics taking into account eco-evolutionary feedbacks. This spatial diversification model will provide an important tool for null hypothesis testing and better understanding of the processes of speciation and extinction, which will be contrasted with empirical data.