Don't use grok and gemini, but based on your comment, I am surprised that they haven't cracked memory yet.
I actually like Claude code for memory, but you're right from a token consumption perspective, it consumes a lot more tokens, didn't really think much of this before.
I agree that it is a hard problem at scale. But at that scale, companies should be able to build their own memory layer for their agent's use case, instead of relying on a memory layer which is built for a more general use case.