Factory, whose AI coding agents switch between AI models depending on the complexity of the task, is in talks to raise $150M led by Khosla at a $1.5B valuation

April 16, 2026
Aerial shot showcasing a densely packed urban residential neighborhood in daylight.
Photo by Young Wang on Pexels

Funding and stake talk

It has been reported that Factory is in talks to raise roughly $150 million in a round led by Khosla Capital at a $1.5 billion valuation. The details remain fluid and the round hasn’t closed; nevertheless, the chatter marks another big bet on the next generation of developer tooling as venture firms pile into AI-first code assistants. Big check, big expectations.

What the product does

Factory builds AI coding agents that don’t just run a single model on every prompt. Instead, they allegedly switch between different models depending on task complexity — light touch for routine edits, heavy-duty models for architecture or tricky bug hunts. Think of it as dynamic model routing: cheaper and faster where possible, deeper and slower where needed. That’s very much in line with industry trends toward model ensembles and mixture-of-experts systems, aimed at trimming costs while lifting accuracy.

The human leap

It has been reported that the startup’s founder was challenged by an investor — allegedly told to quit school — and took a leap. There’s your emotional hook: a risky pivot, a bet on a dream, and now potential validation from top-tier backers. Silicon Valley loves those origin stories for a reason; they tap into the drama behind product demos and term sheets.

Market and implications

If the deal closes, Factory would join a crowded field — from GitHub Copilot to Replit and a raft of niche code assistants — but with a differentiated technical playbook. Investors are backing not just code generation, but smarter orchestration of compute and models, which could matter a lot as teams try to balance cost and quality. Whether Factory can turn model-switching into a durable competitive moat, though, is the question everyone will be watching.

Sources: wsj.com