🤖 AI Hot

Codex Now Produces 99.8% of OpenAI's Internal Code

A
Alex Chen

OpenAI just published an internal paper that accidentally revealed something wild: Codex is now responsible for 99.8% of all output tokens generated inside the company. Not lines of code — output tokens. The stuff that actually ships. And the agents aren’t staying in engineering either. They’re spreading into legal, HR, finance, and operations.

The paper, titled something dry like “Measuring AI-Augmented Productivity at Scale,” was meant to be a methodological contribution. But the numbers buried inside it tell a much more interesting story about what happens when a company goes all-in on AI-assisted work.

The numbers that matter

Codex produced 99.8% of OpenAI’s total internal output tokens during the study period. Human-written code, documentation, emails, and internal memos accounted for the remaining 0.2%. That ratio isn’t just high — it’s essentially total saturation.

The agent deployment pattern breaks down roughly like this. Software engineering was the first department to go deep, which makes sense given Codex’s origins as a coding tool. But the paper shows that as of mid-2026, agents are operating across legal (contract review, compliance checks), finance (budget modeling, expense categorization), HR (policy drafting, onboarding materials), and operations (incident response playbooks, infrastructure configs).

The paper frames this as a success story about “knowledge work augmentation.” But I keep thinking about what it actually means for a company to have 99.8% of its output generated by machines. At that ratio, the humans aren’t “augmented.” They’re steering.

One detail that jumped out: the paper distinguishes between “supervised” and “autonomous” agent output. Supervised output — where a human reviews and approves before it goes anywhere — accounted for about 40% of Codex tokens. Autonomous output — agents pushing changes, sending emails, or publishing docs without explicit human approval in the loop — made up the other 60%. That means the majority of what OpenAI produces internally gets generated and shipped by machines without anyone explicitly signing off.

What “agent spread” actually looks like

The paper describes agent adoption as following a recognizable pattern. It starts with individual engineers using Codex for code completion. Then someone realizes the same tool can draft release notes. Then the release notes person tells the marketing person. Six months later, the marketing team has agents generating campaign copy, the legal team has agents reviewing NDAs, and the HR team has agents drafting offer letters.

This isn’t top-down AI transformation. It’s contagious. Each department adopts because they see the department next door getting value, not because a VP mandated it.

The paper includes a chart showing adoption curves by department. Engineering hit 50% adoption within 3 months of Codex becoming available internally. Legal took closer to 12 months. Finance is still climbing. The pattern suggests that departments producing highly structured, repetitive text (code, contracts, compliance docs) adopt fastest. Departments dealing with more ambiguous, judgment-heavy work (strategy, creative direction) adopt more slowly — but they do adopt.

What’s less clear from the paper is what the humans are doing with the time they save. The authors gesture at “higher-value strategic work” but don’t quantify it. Are people doing deeper thinking? More experiments? Or are they just producing more output, faster, in the same hamster wheel? I suspect it’s a mix, and I suspect nobody at OpenAI really knows for sure.

The infrastructure implications

When 99.8% of your output tokens come from AI, your infrastructure requirements change fundamentally. You’re not provisioning compute for human workflows anymore. You’re provisioning for agent workflows, which have completely different characteristics.

Agents don’t work 9-to-5. They work continuously, with usage spikes when new models or features ship and dips when there’s nothing to process. The paper notes that Codex infrastructure costs have grown roughly 4x year-over-year, driven less by model improvements and more by sheer volume of agent-driven requests.

This has implications for anyone building AI infrastructure. Traditional capacity planning based on peak human usage patterns doesn’t apply. You need systems that can handle variable, often unpredictable agent workloads. And you need monitoring that distinguishes between “the system is down” and “the agents are just idle.” Those look identical in a dashboard but mean very different things.

The paper also mentions that internal model serving has shifted significantly toward smaller, fine-tuned models for specific agent tasks. Rather than routing every request through the largest available model, OpenAI runs a tiered inference system: small, fast models for routine completions, mid-size models for complex tasks, and the biggest models for truly hard problems. This mirrors what the wider industry has been discovering — that agent workloads reward model specialization and inference optimization far more than raw model size.

Who should use this approach, and who shouldn’t

If you’re a startup with 20 engineers, going all-in on AI agents probably makes sense. The productivity gains are real, and you don’t have decades of institutional inertia to work against. You can build agent-first workflows from scratch.

If you’re a 5,000-person enterprise with regulated workflows and compliance requirements, the path is trickier. That 60% autonomous output number should give you pause. Most regulated industries can’t have agents pushing legal documents or financial models without human review, no matter how good the models get. The adoption curve will look more like Legal’s (slow, cautious, compliance-gated) than Engineering’s (fast, experimental, tool-driven).

If you’re somewhere in between — a mid-size company with some technical depth but also some process maturity — you’re in the sweet spot. You can adopt the patterns without the extremes. Run agents in supervised mode for anything customer-facing or compliance-sensitive. Let them run autonomously for internal tooling and documentation. Build the monitoring infrastructure before you need it.

What this means for the developer job market

The obvious question when you read “99.8% of output is AI-generated” is: what happens to the humans? OpenAI’s paper doesn’t answer this directly, but the subtext is worth reading.

The company hasn’t shrunk its engineering team. If anything, it’s grown. But the nature of the work has changed. Engineers spend less time writing boilerplate, debugging syntax errors, and drafting documentation. They spend more time on architecture decisions, model evaluation, and product direction. The paper describes this as a shift from “producers of output” to “directors of production.”

This aligns with what I’m seeing across the industry. The engineers who thrive in an AI-heavy environment aren’t the fastest typists or the most prolific committers. They’re the ones who can spot when an agent-generated solution is wrong in subtle ways. They’re the ones who understand the system well enough to write effective prompts and review criteria. The skill isn’t producing output — it’s judging output quality at scale.

The paper also hints at something concerning: junior engineers may have a harder time developing this judgment if they never write code from scratch. If you’ve only ever reviewed agent-generated code, do you develop the same intuition for what good code looks like? OpenAI seems aware of this tension but doesn’t offer a clear resolution.

Limitations and caveats

Let’s be honest about what this paper doesn’t tell us.

First, this is OpenAI studying itself. There’s a strong selection effect. The company that builds Codex is going to adopt it more aggressively than anyone else. The 99.8% number is an extreme outlier, not a forecast for the industry average in 2027.

Second, the paper doesn’t break down output quality. 99.8% of tokens being agent-generated says nothing about whether those tokens are any good. If agents are generating mediocre documentation and humans are only writing the high-stakes strategic memos, the ratio tells you more about task allocation than about AI capability.

Third, there’s no control group. We can’t compare OpenAI’s internal productivity to a version of OpenAI that didn’t adopt Codex. The authors acknowledge this but hand-wave it away with “historical baselines” that are themselves confounded by rapid company growth.

Fourth, the study period may not be representative. If it coincided with a major product launch or hiring surge, the output patterns could be skewed.

The paper is still worth reading. But treat the numbers as “what’s possible when a company goes all-in” rather than “what will happen to your company next quarter.”

The bigger picture

I keep coming back to that 99.8% figure. It’s such a clean, round number that it feels almost designed to be shared. And maybe it was. But even if you discount it by half — say the real number is closer to 90% or 85% — the direction is clear.

OpenAI is running an experiment that the rest of the industry is watching closely. What happens when you saturate a knowledge-work organization with AI agents? The preliminary answer seems to be: the organization doesn’t collapse, the humans don’t get replaced, and the work changes in ways that are hard to measure with traditional productivity metrics.

The question I wish the paper had answered: what does the 0.2% human output consist of? Is it the most important 0.2% — the strategic decisions, the creative breakthroughs, the genuinely novel ideas? Or is it just the stuff agents can’t do yet — the messy, ambiguous, judgment-heavy work that resists automation? My guess is it’s both, and the ratio between them is what will determine whether AI agents are a net positive for knowledge work or a fancy way to accelerate mediocrity.

What I’d do differently if I were setting this up

I’ve been thinking about what I’d recommend to a team that wants to follow OpenAI’s lead but avoid the pitfalls. A few things stand out.

First, measure quality, not just throughput. The 99.8% number is impressive optics, but it’s a volume metric. Track rejection rates — how often do humans send agent output back for revision? Track error rates in production — how often does agent-generated code introduce bugs that human-written code wouldn’t? These numbers tell you whether you’re accelerating good work or just accelerating all work equally.

Second, build agent review into your workflow from day one. OpenAI’s paper mentions that “supervised” agent output has a significantly lower error rate than autonomous output (no surprise there), but it doesn’t prescribe specific review practices. My suggestion: for anything customer-facing or security-sensitive, require explicit human approval. For internal documentation and tooling, let agents run freely but log everything. You need the audit trail even if you don’t need the approval step.

Third, invest in prompt engineering and evaluation infrastructure before you scale. The teams I’ve seen struggle with agent adoption usually skipped this step. They deployed agents, got excited about the volume, and then realized six months later that nobody knew whether the output was actually good because nobody had built the eval framework. By then, the bad habits were baked into the workflow.

The underlying dynamic is straightforward: agents are force multipliers, and force multipliers amplify both your strengths and your weaknesses. If your code review culture is already rigorous, agents make it more efficient. If your review culture is “ship it and pray,” agents will help you pray faster. The technology doesn’t fix process problems — it exposes them.


Sources:

  • OpenAI internal research paper on AI-augmented productivity (2026)
  • Historical Codex adoption data from OpenAI engineering blog
  • Industry analysis of AI agent deployment patterns in enterprise settings
Disclosure: CarCare Guide is reader-supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.
A
Alex Chen