Abstract The ability of migration scholars to synthesize knowledge is increasingly hindered by the rapid expansion of the field, both in sheer volume and interdisciplinarity. This article introduces LlaMig (large language model for migration research), an open-source, local framework designed to transform massive scholarly text into a structured, queryable database. By fine-tuning the Llama 3.2 3B architecture, LlaMig demonstrates a transformative leap in classification accuracy. Applied to a co