HomeCategory › Article

The AI That Writes 89% of Its Own Code Just Raised $1 Billion. Let That Sink In.

Image credit: Startups World News

TL;DR

Cognition raised $1 billion at a $26 billion valuation for Devin, the AI coding agent that now writes 89% of Cognition’s own code. Revenue jumped 13x to $492 million in a year, and enterprise clients include Goldman Sachs, Citi, and the US military. The recursive loop where the product builds itself is the real story, and it’s a pricing signal every founder should take seriously.

Experts say

The most dangerous thing about Cognition isn’t the $26 billion valuation or the $1 billion raise. It’s the 89% number. When your product writes its own code, the cost of improvement drops toward zero. Every other AI coding company is hiring engineers to build their tool. Cognition’s tool is building itself. That’s not a productivity gain. That’s a phase change.
How can Devin write 89% of Cognition's code if independent tests show only a 15% success rate?
The gap comes from scoping. Research benchmarks test Devin on arbitrary, often vague tasks. Inside Cognition, tasks are precisely defined, well-scoped, and optimized for what Devin does best. Enterprise deployments follow the same pattern: controlled scope, code review, human sign-off. It’s the difference between asking a self-driving car to navigate a demolition derby and asking it to drive on a highway.
Is $26 billion a reasonable valuation for $492 million in revenue?
That’s roughly a 53x revenue multiple, which sounds insane until you compare it to the rest of the AI coding market. Cursor is at $50 billion. Anthropic’s coding-driven revenue is even larger. The market is pricing in a trillion-dollar addressable market (global software engineering labor) and betting that AI coding agents will capture a meaningful share. Whether 53x is right depends entirely on whether you believe the 13x revenue growth rate continues.
What does this mean for software engineers' job security?
The job is changing, not disappearing. The engineers being replaced are the ones doing repetitive, well-scoped work like boilerplate, CRUD operations, test writing, and first-pass code review. The engineers becoming more valuable are the ones who can scope problems, make architectural decisions, and manage AI coding workflows. The skill that pays a million dollars isn’t writing code. It’s deciding which code to write.
How does Cognition compete with Cursor, Claude Code, and GitHub Copilot?
Different categories. Cursor and Copilot are IDE assistants that help developers write faster code, line by line. Claude Code operates at the repository level with developer oversight. Devin is fully autonomous: you assign a task, it plans, writes, tests, and submits a pull request without intervention. The trade-off is control versus autonomy, and different engineering teams want different things. Cognition is betting that autonomy wins as trust in AI coding increases.
Should founders replace their engineering teams with AI coding agents?
No. But they should stop treating headcount as the default scaling strategy. The ClickUp model (3,000 agents for 1,010 humans) and the Cognition model (89% AI-written code) point in the same direction: engineering teams should be smaller, higher-paid, and focused on the work AI can’t do. The founders who will build the most valuable companies in the next three years are the ones who deploy agents first and hire humans second.

Last Updated on July 7, 2026 by Taya Ziv

Every pitch deck in 2026 has an “AI replaces developers” slide. Usually it’s a hand-wavy bar chart showing “40% productivity gains” next to a stock photo of a person typing. The slide works because nobody in the room has actually seen it happen at scale.

Cognition just made that slide look conservative.

On Tuesday, the startup behind Devin, the AI coding agent that bills itself as “the first AI software engineer,” raised more than $1 billion at a $26 billion valuation. Lux Capital, General Catalyst, and 8VC co-led the round. Peter Thiel’s Founders Fund participated. So did Ribbit Capital and Atreides Management.

The valuation more than doubled from September, when Cognition was worth $10.2 billion. The revenue run-rate hit $492 million, up from $37 million a year ago. That’s a 13x revenue jump in twelve months.

Those numbers are impressive. They’re also not the story.

The story is this: 89% of Cognition’s own pull requests are now written by Devin. The product builds the product. The company that exists to replace software engineers has already replaced most of its own.

The Loop Nobody Wants to Talk About

Scott Wu, Cognition’s CEO, mentioned the 89% figure almost casually. In early 2025, he’d predicted that Devin would cross 50% of internal pull requests by year’s end. It blew past that target and kept going. Today, the humans at Cognition spend most of their time reviewing, steering, and prioritizing the work that their AI does. They don’t write most of the code. Devin does.

Think about what that means operationally. Cognition is not a company that sells an AI coding tool and then uses humans to build it. It’s a company that uses the thing it sells to build the thing it sells. The product is the workforce. The workforce is the product. It’s a recursive loop that, if you take it seriously, has no natural stopping point.

The closest analogy I can think of is a factory that manufactures its own robots, and those robots build more of themselves, and the humans are there mostly to decide which robots to build next. At some point you stop calling them employees and start calling them… supervisors? Curators? Janitors?

This is not a theoretical scenario for a 2030 think piece. It’s happening right now at a $26 billion company.

The Revenue Problem That Isn’t a Problem

The $492 million run-rate looks absurd until you map out who’s paying.

Citi. Goldman Sachs. Mercedes-Benz. Dell. Santander. The United States Army. The United States Navy. These are not startup customers who signed up for a free trial and forgot to cancel. These are institutions that run procurement cycles measured in quarters and compliance reviews measured in years. Getting Goldman Sachs to adopt an AI coding agent requires clearing security, legal, vendor risk, and probably three separate committees that exist solely to say no.

Cognition’s enterprise usage grew 10x since the start of the year. 10x in five months at organizations that move at the speed of bureaucracy. That’s the signal. Not the $1 billion raise. Not the $26 billion valuation. The fact that the most conservative institutions on Earth are quietly letting an AI write their production code.

And they’re doing it because the math is impossible to ignore. Devin’s pricing starts at $20 per month per seat, plus $2.25 per “Agent Compute Unit,” which is roughly 15 minutes of active work. A senior software engineer in New York costs $250,000 to $400,000 a year fully loaded. Even if Devin only handles 30% of the work a human engineer does, the cost-per-line-of-code comparison is so lopsided that the ROI conversation is over before it starts.

But Does It Actually Work?

Here’s where I have to be honest, because the pitch and the reality are still fighting each other.

Researchers at Answer.AI ran 20 real-world tasks through Devin and got 3 successes, 14 failures, and 3 inconclusive results. A 15% success rate. The criticism is specific and damning: Devin delivers 70% of a feature but misses edge cases, security vulnerabilities, and integration with the rest of the codebase. The last 30% still requires a human, and that last 30% is where the actual engineering judgment lives.

So how do you reconcile a 15% success rate on research benchmarks with a $26 billion valuation and Goldman Sachs writing checks?

The answer is the same one that explained why early self-driving cars worked on highways but crashed in parking lots. Controlled scope. Enterprise deployments don’t hand Devin a vague ticket that says “make the app faster.” They hand it a well-defined, well-scoped task inside a codebase that Devin has been trained on, with guardrails, code review, and human sign-off baked into the workflow. It’s not autonomous driving. It’s lane assist for code. And lane assist is what makes the economics work, because lane assist at scale still eliminates thousands of hours of labor.

The 89% stat at Cognition itself works because the team knows exactly how to scope tasks for Devin. They’ve spent two years learning what it’s good at and what it isn’t. We’ve seen this pattern before with Cursor’s $50 billion run, where the product worked not because it could do everything but because it found the exact seam where AI leverage was highest and widened it relentlessly.

The lesson for founders isn’t “AI can replace your engineers.” It’s “AI can replace the 60% of engineering work that isn’t actually engineering.”

The $26 Billion Question: Who’s Next?

Let’s be direct about what this valuation means for the market.

Cursor is valued at $50 billion. Anthropic’s Claude Code drove most of its $30 billion revenue run-rate. OpenAI launched Codex. Google shipped Antigravity. GitHub Copilot is embedded in millions of developer workflows. AI coding is now the most valuable segment of the entire AI wave, and it’s not close.

And the valuations keep climbing because the market is structurally enormous. There are approximately 30 million professional software developers worldwide. The global software engineering labor market is worth north of $1 trillion annually. If AI coding agents capture even 20% of that labor value, you’re looking at a $200 billion annual market. Suddenly $26 billion for the company that writes 89% of its own code doesn’t look expensive. It looks early.

But here’s the part that should make founders uncomfortable: the companies winning this race are not startups. They’re building on top of foundation models from Anthropic, OpenAI, and Google. Out of the 130 AI agent companies that are actually real, most are one model API change away from having their core product rebuilt by the model providers themselves. Cognition’s moat is not the model. It’s the workflow orchestration, the enterprise integration, the institutional trust, and, increasingly, the recursive feedback loop where Devin’s output trains Devin’s next version.

That feedback loop is the real asset. Every line of code Devin writes inside Cognition becomes training data for the next version of Devin. The product improves by using itself. It’s compounding intelligence, and it’s the kind of moat that gets wider over time instead of narrower.

What This Means for Your Startup

If you’re a founder with a 40-person engineering team, Cognition’s round isn’t just a funding headline. It’s a pricing signal.

The market is telling you that a single AI coding agent, deployed correctly, will do the work of multiple engineers for a fraction of the cost. Not in 2028. Now. Goldman Sachs didn’t wait. The US Navy didn’t wait. Cloudflare restructured its entire org chart around AI three weeks ago and hit record revenue while doing it.

The question isn’t whether to adopt AI coding tools. That ship sailed. The question is whether you’re going to be the company that deploys them at the task level (autocomplete, boilerplate, test generation) or at the workflow level (autonomous feature development, PR creation, code review). The gap between those two approaches is the gap between a 10% efficiency gain and a structural cost advantage.

Scott Wu is 28 years old. He dropped out of Harvard after two years. He has three gold medals from the International Olympiad in Informatics. He built Lunchclub, an AI networking platform, before founding Cognition in 2023. Three years later, his company is worth $26 billion and his product writes most of its own code.

The AI that builds itself just became a $26 billion company. If that doesn’t change how you think about your next engineering hire, you weren’t paying attention.

Enjoyed this analysis?

Get stories like this in your inbox every Monday morning.

You Might Also Like