Generative AI has the potential to transform how firms produce output. Yet, credible evidence on how AI is actually substituting for human labor remains limited. In this paper, we study firm-level substitution between contracted online labor and generative AI using payments data from a large U.S. expense management platform. We track quarterly spending from Q3 2021 to Q3 2025 on online labor marketplaces (such as Upwork and Fiverr) and leading AI model providers. To identify causal effects, we exploit the October 2022 release of ChatGPT as a common adoption shock and estimate a difference-in-differences model. We provide a novel measure of exposure based on the share of spending at online labor marketplaces prior to the shock. Firms with greater exposure to online labor adopt AI earlier and more intensively following the shock, while simultaneously reducing spending on contracted labor. By Q3 2025, firms in the highest exposure quartile increase their share of spending on AI model providers by 0.8 percentage points relative to the lowest exposure quartile, alongside significant declines in labor marketplace spending. Combining these responses yields a direct estimate of substitution: among the most exposed firms, a \$1 decline in online labor spending is associated with approximately \$0.03 of additional AI spending, implying order-of-magnitude cost savings from replacing outsourced tasks with AI services. These effects are heterogeneous across firms and emerge gradually over time. Taken together, our results provide the first direct, micro-level evidence that generative AI is being used as a partial substitute for human labor in production.
Economic Governance of Autonomous Agents and Robots: Factor-Origin Accounting and Social Automation Funds
AI Center, Faculty of Computer and Information Systems, Islamic University of Madinah(麦地那伊斯兰大学计算机与信息学院人工智能中心);AI V&V Lab, King Fahd University of Petroleum and Minerals(国王法赫德国油矿大学人工智能验证与验证实验室);Department of Computer Science, The Islamia University of Bahawalpur(巴哈瓦尔布尔伊斯兰大学计算机科学系)
Artificial Intelligence and Skills: Evidence from Contrastive Learning in Online Job Vacancies
Zhejiang University(浙江大学);Research Center for Regional Coordinated Development, Zhejiang University(浙江大学区域协调发展研究中心);Center for Research on China Open Economy, Zhejiang University(浙江大学中国经济研究中心);School of Economics, Zhejiang University(浙江大学经济学院)
Understanding Interfirm AI Talent Flow Networks through Online Professional Profiles
Massachusetts Institute of Technology(麻省理工学院);Peking University(北京大学);Singapore-MIT Alliance for Research and Technology (SMART)(新加坡-麻省理工研究与技术创新联盟);University of Florida(佛罗里达大学)
Economics of Human and AI Collaboration: When is Partial Automation More Attractive than Full Automation?
Massachusetts Institute of Technology(麻省理工学院);École Polytechnique Fédérale de Lausanne(洛桑联邦理工学院);IBM Research(IBM研究院);IBM’s Institute for Business Value(IBM商业价值研究院)