Retrieved article excerpt
Open article · Retrieved 2026-10-23T18:28:40.976388+00:00
# Writing Code vs. Shipping Code: Productivity Effects Across Generations of AI Coding Tools
[Mert Demirer](https://www.nber.org/people/mert_demirer),
[Leon Musolff](https://www.nber.org/people/leon_musolff)
& [Liyuan Yang](https://www.nber.org/people/liyuan_yang)
Share
[X](https://twitter.com/intent/?text=Writing%20Code%20vs.%20Shipping%20Code%3A%20Productivity%20Effects%20Across%20Generations%20of%20AI%20Coding%20Tools&url=https://www.nber.org/papers/w35275 "X")
[LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https://www.nber.org/papers/w35275 "LinkedIn")
[Facebook](https://www.facebook.com/sharer/sharer.php?u=https://www.nber.org/papers/w35275 "Facebook")
[Bluesky](https://bsky.app/intent/compose?text=Writing%20Code%20vs.%20Shipping%20Code%3A%20Productivity%20Effects%20Across%20Generations%20of%20AI%20Coding%20Tools+https://www.nber.org/papers/w35275 "Bluesky")
[Threads](https://www.threads.net/intent/post?text=Writing%20Code%20vs.%20Shipping%20Code%3A%20Productivity%20Effects%20Across%20Generations%20of%20AI%20Coding%20Tools&url=https://www.nber.org/papers/w35275 "Threads")
Email
[Link](https://www.nber.org/papers/w35275 "Link")
Working Paper 35275
DOI 10.3386/w35275
Issue Date May 2026
Revision Date September 2026
How do the productivity effects of AI evolve across successive generations of tools, and to what extent do task-level gains ultimately translate into final output? We study these questions in the context of software development, using data on more than 500,000 GitHub developers combined with their AI usage telemetry. In a matched event study design, we find that autocomplete, interactive coding agents, and autonomous coding agents each significantly increase coding activity (“commits”), with respective cumulative effects of 30%, 180%, and 240%. These gains, however, attenuate sharply across the production hierarchy: the 240% cumulative effect falls to 80% for the number of projects, and to 30% for actual releases. This pattern is consistent with the weak-link hypothesis: the strong productivity gains from AI are attenuated by human bottlenecks in the production chain, with an estimated elasticity of substitution of 0.23 between AI and human effort, which indicates strong complementarities. We further confirm these results across four major software marketplaces, finding a sharp increase in the number of new apps but no increase in total usage. Large task-level AI productivity gains have therefore translated only partially into shipped and used software thus far.
- Acknowledgements and Disclosures
We thank Joel Becker, Seth Benzell, Alexander Bick, Adam Blandin, David P. Byrne, Tom Cunningham, Andrey Fradkin, Jan De Loecker, Anders Humlum, Sanjog Misra, Frank Nagle, Sida Peng, Nate Rush, Suproteem Sarkar, Max Schnidman, Chad Syverson and Kevin Xu. This paper benefited from comments by seminar participants at BIG.AI@MIT, the Chicago AI Workshop, the RAP Symposium at Harvard & MIT, the PSU AI and the Economy Initiative, the St. Louis Fed, the Government Office of the Czech Republic, Wharton’s AI and the Future of Work Conference, the Columbia MAD conference, HKU, NUS and HKUST. This project was funded in part by the Mack Institute For Innovation Management at Wharton and the Chicago AI Incubator. Frederick Lei and Roman Shrestha provided excellent research assistance. The views expressed herein are those of the authors and do not necessarily reflect the views of the National Bureau of Economic Research.
**[Mert Demirer](https://www.nber.org/people/mert_demirer)**
Mert Demirer previously held a postdoctoral research position at Microsoft and now works as a paid research consultant for the company.
**[Leon Musolff](https://www.nber.org/people/leon_musolff)**
Leon Musolff previously held a postdoctoral research position at Microsoft and now works as a paid research consultant for the company.
- Citation and Citation Data
Copy Citation
Mert Demirer, Leon Musolff, and Liyuan Yang, "Writing Code vs. Shipping Code: Productivity Effects Across Generations of AI Coding Tools," NBER Working Paper 35275 (2026), https://doi.org/10.3386/w35275.
Copy to Clipboard
Download Citation
- Other Versions
- [May 28, 2026](https://www.nber.org/system/files/working_papers/w35275/revisions/w35275.rev0.pdf "May 28, 2026")
## Related
### Topics
[Microeconomics](https://www.nber.org/topics/microeconomics)
[Households and Firms](https://www.nber.org/taxonomy/term/421)
[Industrial Organization](https://www.nber.org/topics/industrial-organization)
[Industry Studies](https://www.nber.org/taxonomy/term/626)
[Development and Growth](https://www.nber.org/topics/development-and-growth)
[Innovation and R&D](https://www.nber.org/taxonomy/term/656)
### Programs
[Industrial Organization](https://www.nber.org/programs-projects/programs-working-groups/industrial-organization)
[Labor Studies](https://www.nber.org/programs-projects/programs-working-groups/labor-studies)
[Productivity, Innovation, and Entrepreneurship](https://www.nber.org/programs-projects/programs-working-groups/productivity-innovation-and-entrepreneurship)
### Conferences
[Firms, Technology, and Economic Implications, Fall 2026](https://www.nber.org/conferences/firms-technology-and-economic-implications-fall-2026)
## Mentioned in the News
[AI's New Leadership Trap: When Token Counts Become Performance Reviews - Forbes](https://www.forbes.com/sites/michaeledmondson/2026/08/04/ais-new-leadership-trap-when-token-counts-become-performance-reviews/)
August 4, 2026
Source:
[Forbes](https://www.forbes.com/sites/michaeledmondson/2026/08/04/ais-new-leadership-trap-when-token-counts-become-performance-reviews/)
[Read the research here](https://www.nber.org/papers/w35275).
[Writing code versus shipping code: Productivity effects across generations of AI coding tools](https://voxeu.org/voxeu/columns/writing-code-versus-shipping-code-productivity-effects-across-generations-ai-coding)
June 20, 2026
Source:
[VoxEU](https://voxeu.org/voxeu/columns/writing-code-versus-shipping-code-productivity-effects-across-generations-ai-coding)
[Read the research here](https://www.nber.org/papers/w35275) and [here](https://www.nber.org/papers/w34779).
## More from the NBER
In addition to [**working papers**](https://www.nber.org/papers), the NBER disseminates affiliates’ latest findings through a range of free periodicals—the [**NBER Reporter**](https://www.nber.org/reporter), the [**NBER Digest**](https://www.nber.org/digest), the [**Bulletin on Health**](https://www.nber.org/bulletin-health), the [**Bulletin on the Economics of Alzheimer's**](https://www.nber.org/ba?page=1&perPage=50), and the [**Bulletin on Entrepreneurship**](https://www.nber.org/bulletin-entrepreneurship)—as well as [**research spotlights, lectures, and panel videos**](https://www.nber.org/research/videos?page=1&perPage=50)**.**
2026, 18th Annual Feldstein Lecture, Mark Duggan, "Social Security Reform in an Era of Fiscal Deficits" Primary tabs
[2026, 18th Annual Feldstein Lecture, Mark Duggan, "Social Security Reform in an Era of Fiscal Deficits"](https://www.nber.org/research/videos/2026-18th-annual-feldstein-lecture-mark-duggan-social-security-reform-era-fiscal-deficits)
- Feldstein Lecture
- Presenter:
[Mark Duggan](https://www.nber.org/people/mark_duggan)
Mark Duggan, who is currently the Wayne and Jodi Cooperman Professor of Economics at Stanford University and will soon...
SI 2026 Methods Lecture
[2026, Methods Lecture, Melissa Dell and Ashesh Rambachan, "Estimation and Inference with AI-Generated Data"](https://www.nber.org/research/videos/2026-methods-lecture-melissa-dell-and-ashesh-rambachan-estimation-and-inference-ai-generated-data)
- Methods Lectures
- Presenters:
[Melissa Dell](https://www.nber.org/people/melissa_dell)
& [Ashesh Rambachan](https://www.nber.org/people/ashesh_rambachan)
Research Associate Melissa Dell of Harvard University and Ashesh Rambachan of MIT delivered the 2026 Methods...
Using AI in Household Finance Research: A Practical Guide
[2026, SI Household Finance, Paul Goldsmith-Pinkham, "Using AI in Household Finance Research: A Practical Guide"](https://www.nber.org/research/videos/2026-si-household-finance-paul-goldsmith-pinkham-using-ai-household-finance-research-practical-guide)
- Video
- Presenter:
[Paul Goldsmith-Pinkham](https://www.nber.org/people/paul_goldsmithpinkham)
Supported by the Vanguard Group