IDEAS home Printed from https://ideas.repec.org/p/osf/socarx/sr9hy_v1.html

Request routing services undermine the reproducibility of open weight LLMs

Author

Listed:
  • Higton, Joe
  • Tucker, Joshua A
  • Barrie, Christopher

    (NYU)

Abstract

Large language models (LLMs) are now a standard tool for classifying text in social science. To make these classifications reproducible, researchers are often advised to use open weight models and to set the sampling temperature to zero. We show that this advice is insufficient when models are accessed through a request-routing service, in which queries are sent to different hosting providers through a single API. Using a popular request-routing service, OpenRouter, we classify British manifesto sentences for ideology 100 times per sentence across eight models and 33 hosting providers, alongside five model configurations served on our own hardware, generating approximately 1m classification draws. When using the request-routing service, open weight models consistently fail to return deterministic outputs. Depending on the model, only 26% to 92% of sentences receive the same label in all repeated classifications. This variation is not solely due to different providers fielding queries: for five of the eight models, the majority of classification variance arises within providers. On our own hardware, the same task is perfectly reproducible at temperature=0. We conclude that reproducibility depends on the entire model hosting environment, and recommend that researchers report the fullest available metadata and raw responses when using LLMs.

Suggested Citation

  • Higton, Joe & Tucker, Joshua A & Barrie, Christopher, 2026. "Request routing services undermine the reproducibility of open weight LLMs," SocArXiv sr9hy_v1, Center for Open Science.
  • Handle: RePEc:osf:socarx:sr9hy_v1
    DOI: 10.31235/osf.io/sr9hy_v1
    as

    Download full text from publisher

    File URL: https://osf.io/download/6a70c53c4be96b842ea19f29/
    Download Restriction: no

    File URL: https://libkey.io/10.31235/osf.io/sr9hy_v1?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    References listed on IDEAS

    as
    1. Stefan Feuerriegel & Christopher Barrie & M. J. Crockett & Laura K. Globig & Killian L. McLoughlin & Dan-Mircea Mirea & Arthur Spirling & Diyi Yang & Tim Althoff & Maria Antoniak & Lisa P. Argyle & As, 2026. "A reporting checklist for large language models in behavioural science," Nature Human Behaviour, Nature, vol. 10(7), pages 1182-1186, July.
    2. Arthur Spirling, 2023. "Why open-source generative AI models are an ethical way forward for science," Nature, Nature, vol. 616(7957), pages 413-413, April.
    3. Le Mens, Gaël & Gallego, Aina, 2025. "Positioning Political Texts with Large Language Models by Asking and Averaging - CORRIGENDUM," Political Analysis, Cambridge University Press, vol. 33(3), pages 283-283, July.
    4. Le Mens, Gaël & Gallego, Aina, 2025. "Positioning Political Texts with Large Language Models by Asking and Averaging," Political Analysis, Cambridge University Press, vol. 33(3), pages 274-282, July.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kevin Rinz, 2026. "Measuring Overtime Exemption Status: A Task-Based Approach," Working Papers 26-15, Federal Reserve Bank of Cleveland.
    2. Ziwen Zu, 2026. "Talking Politics with Artificial Intelligence," Papers 2607.00551, arXiv.org, revised Jul 2026.
    3. Patrick Parschan & Charlott Jakob, 2026. "Computational measurement of political positions: a review of text-based ideal point estimation algorithms," Quality & Quantity: International Journal of Methodology, Springer, vol. 60(2), pages 5663-5690, April.
    4. Thomas Davidson & Daniel Karell, 2025. "Integrating Generative Artificial Intelligence into Social Science Research: Measurement, Prompting, and Simulation," Sociological Methods & Research, , vol. 54(3), pages 775-793, August.
    5. Julien Boelaert & Samuel Coavoux & Étienne Ollion & Ivaylo Petev & Patrick Präg, 2025. "Machine Bias. How Do Generative Language Models Answer Opinion Polls?1," Sociological Methods & Research, , vol. 54(3), pages 1156-1196, August.
    6. Meysam Alizadeh & Maël Kubli & Zeynab Samei & Shirin Dehghani & Mohammadmasiha Zahedivafa & Juan D. Bermeo & Maria Korobeynikova & Fabrizio Gilardi, 2025. "Open-source LLMs for text annotation: a practical guide for model setting and fine-tuning," Journal of Computational Social Science, Springer, vol. 8(1), pages 1-25, February.
    7. Shi, Jincheng & Jiang, Shan, 2025. "Toward open-source foundation model ecosystem: Impact evaluation framework and promotion mechanism," Technological Forecasting and Social Change, Elsevier, vol. 221(C).
    8. Konrad Turek, 2025. "Accelerating social science knowledge production with the coordinated open-source model," Quality & Quantity: International Journal of Methodology, Springer, vol. 59(2), pages 767-795, April.
    9. Guillaume Coqueret & Joan Llull & Florian Oswald & Christophe Pérignon & Christoph Scheuch & Lars Vilhuber, 2026. "Randomness In Large Language Models: What Researchers Need to Know (And Report)," Working Papers hal-05730402, HAL.
    10. Finn Stürenburg & Kerstin Forster & Nicolas Banholzer & Malte Toetzke & Kenneth Harttgen & Stefan Feuerriegel, 2026. "Tracking funding disparities in global health aid with machine learning," Nature Communications, Nature, vol. 17(1), pages 1-15, December.
    11. Viglia, Giampaolo & Adler, Susanne J. & Miltgen, Caroline Lancelot & Sarstedt, Marko, 2024. "The use of synthetic data in tourism," Annals of Tourism Research, Elsevier, vol. 108(C).

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:osf:socarx:sr9hy_v1. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: OSF (email available below). General contact details of provider: https://socarxiv.org .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.