Stole this one from a Japanese dev: keep grok-bot running permanently. Rent a tiny Linux box (1 core, 1GB), install the Linux build of grok-bot, open its remote desktop view, then write a watchdog that checks every ten minutes and relaunches the view when it drops. That's the whole trick. You never spend a token, and the 8c/16g machine grok-bot runs on stays online forever. https://github.com/glorics/grok-bot-linux
Stole this one from a Japanese dev: keep grok-bot running