Musk open-sourced Grok Build to fight Anthropic. Anthropic pays him $1.25 billion a month.

Wait 5 sec.

I’m Matt Burns, Chief Content Officer at Insight Media Group. Each week, I round up the most important AI developments, explaining what they mean for people and organizations putting this technology to work. The thesis is simple: Workers who learn to use AI will define the next era of their industries, and this newsletter is here to help you be one of them.Last week I told you the AI frontier was dropping the price of intelligence toward a dollar. This week, Elon Musk took one part of the stack to zero.On Wednesday, SpaceXAI open-sourced Grok Build, its terminal coding agent, under an Apache 2.0 license. “Grok Build is now open source,” Musk posted. The move looks like a direct attack on Claude Code and Codex: Give developers the harness for free, reset usage limits, and make competing tools defend their prices.Then Bloomberg supplied the number that explains why SpaceXAI can afford the open source move. Anthropic, the company behind Claude Code, reportedly pays SpaceXAI $1.25 billion a month for compute. Across Anthropic, Google, and Reflection, SpaceXAI’s compute agreements total roughly $2.3 billion a month. Musk is competing with Anthropic for developers while renting Anthropic the machines it needs to compete. Grok does not have to beat Claude for SpaceXAI to benefit from Claude’s growth. Open-sourcing the harness may expand the market for coding agents. SpaceXAI is unusually positioned to make money if that happens, even when developers choose Claude instead.Musk can lose the coding-agent race and still get paidCoding agents have become more capable, more autonomous, and more token-thirsty throughout 2026. Musk has now made one of the major agent harnesses open source, even though the model powering it still costs money to run.Grok Build is a terminal coding agent in the same category as Claude Code and OpenAI’s Codex. As our own Janakiram MSV wrote in a six-months-in comparison, the contest stopped being about raw model quality a while ago: “Once everyone accepted the shape, the contest moved to the platform around it.” Grok Build entered the platform war in May with a local-first design and a roughly 70% score on SWE-bench. The model behind it is not a joke, either: Artificial Analysis placed the newly launched Grok 4.5 near the frontier on its independent benchmarks while measuring it as one of the cheapest models at that performance level. OpenAI noticed. Greg Brockman, its president, replied: “If you’re able to get better price/perf on any workload, would love to hear the details,” and published his email address.So why give the coding agent away? Because SpaceXAI can afford to fight this war differently from OpenAI and Anthropic. Musk can open-source the harness, price Grok aggressively, and still earn infrastructure revenue from Anthropic, the company behind the coding agent it’s trying to undercut.Musk has enough compute to make this move. According to Bloomberg Businessweek, SpaceXAI’s own models were using just 11% of its available computing power in April, so it has room to spare and rarely caps its customers, even as Anthropic is reportedly scrambling through a compute crunch. SpaceX’s CFO put the strategy plainly: “Elon felt the constraint was going to be compute and power. We are already seeing that.” That is the strange shape of it. SpaceXAI can subsidize the product competing against one of its largest infrastructure customers.The business model is stronger than the organization running itA second economic position is worth nothing if the company can’t run the product. This is where the story gets harder for Musk. That same Bloomberg piece is a portrait of an operation in disarray: All eleven of xAI’s co-founders have left, and an internal survey found the most common complaint was that management “didn’t seem to know what it wanted.” The most damning detail for a company selling coding tools is that xAI’s own engineers reportedly won’t use them, reaching for Anthropic’s and OpenAI’s tools instead. If the people building Grok don’t trust it to code, it’s fair to ask why outside developers should.That trust problem got worse the week of the open-source release. Grok Build was open-sourced the day after developers discovered it was quietly uploading entire directories to SpaceXAI’s cloud. One user watched it grab “my SSH keys, my password manager database, my documents, photos, videos, everything.” Musk promised the data would be “completely and utterly deleted.” In that context, whatever strategic value the open-source release had, it also became damage control.Then the world read the Grok Build code. As Simon Willison writes, parts of Grok Build’s tooling were ported from other coding agents, including OpenAI’s Codex and the open-source OpenCode. So the tool positioned against Codex incorporates openly licensed work derived from Codex.That is not necessarily a scandal. It is how open source is supposed to work. But opening the repository exposed two things at once: The privacy mechanism Musk had just disabled, and how quickly the coding-agent layer is becoming portable. Our own Paul Sawers made the case months ago that the harness is where coding agents differentiate themselves. Grok Build shows how difficult it may be to keep that differentiation proprietary. Strip away the organizational chaos, and the economic move is narrow and smart. Musk does not need to win developers away from Anthropic. Open-sourcing Grok Build can expand the market for coding agents, and SpaceXAI can benefit even when developers choose Claude. Anthropic pays for the compute beneath that growth.That’s the strange shape of Musk’s position. Anthropic has to make Claude beat Grok, and Musk can get paid when it does.The post Musk open-sourced Grok Build to fight Anthropic. Anthropic pays him $1.25 billion a month. appeared first on The New Stack.