No one is losing money on inference these days. Google's vertical integration means that they have some of the lowest inference costs in the industry in any event.
They were charging a flat rate per query no matter how many tokens it consumed. People naturally got very good at writing prompts that used as many tokens as possible.