https://globalcio.com/news/16062/
You're maybe talking about the spot market, but companies are free to make any sort of supply contract.
https://www.tomshardware.com/pc-components/dram/openais-star...
The numbers aren't public but most guesses I've heard are that Anthropic's markup is around 50% on average, and that if considered in isolation, most models are profitable overall. The constant losses are instead due to training the next models, which will also eventually recoup but later, and forward capex investment.
This idea that big AI companies are normally and systematically selling inference at a loss as some kind of market share strategy is just not supported by the facts.
The CEO of Anthropic, for example, has publicly stated multiple times that if their individual models were companies in and of themselves, they'd be profitable. I have no reason to think he's lying.
It's all simply a fight for market share.
The original sin is the existing DRAM vendors selling their entire (spare) capacity to the likes of OpenAI.