Lest we forget, "Attention is All You Need" came from Google.
It also came directly from the university of Toronto, and the university of Toronto seeded all American frontier labs (including Grok (why do you think they could start so fast))
I do not think OpenAI or Anthropic are actively chasing margins - though, Anthropic is supposed to be profitable on some form of non-GAAP accounting...
I suspect Google isn't really interested in seeing how far it can get dragged into a race of selling dollars for $0.25, and is more interested to see if it can stay in the race selling $0.50 for a dollar - when everyone else is losing or barely breaking even.
Maybe they don't want to price war with the other labs so they can comfortably maintain healthy margins on selling them compute?
Porting CUDA-based research, debugging, and overall experimentation speed is likely slower.
The GPU is still king for training.
Yes, subs like codex are heavily subsidized. But API billing has massive margins and that's what enterprises pay.
https://www.bloomberg.com/news/articles/2025-12-21/openai-se...
As for Anthropic, the rumors I remember seeing for their API margins were more like 85-90%, but I don't have a reference at hand for those. But once you know the API is wildly profitable and the subscriptions are roughly break-even and not even a big slice of their income, all of the investment makes a lot more sense.