OpenCode and Ollama Cloud
How AgentGrid shows Ollama Cloud limits from your account balance.


In this guide
AgentGrid shows Ollama Cloud limits on the usage card from the key configured in OpenCode. It reads the monthly window from the Ollama balance API. When that account still returns session and weekly windows, those appear too.
Sign in to Ollama Cloud in OpenCode with opencode auth login. AgentGrid uses that key. It does not read Chrome, and it does not ask macOS for access to Chrome's cookie store.
The card keeps the last successful reading for about ten minutes when a refresh fails. If the key is missing or rejected, the card treats the account as signed out. If a refresh fails and there is no recent reading, it says the limits could not be refreshed.
AgentGrid reads the monthly balance with the OpenCode key and shows it on the usage card.
Diagram by AgentGridTroubleshooting
If the usage card has no Ollama limits:
- Run
opencode auth loginand connect Ollama Cloud with the account you want the card to show. - If the card says the limits could not be refreshed, wait and open usage again. A reading from the last ten minutes stays up while a refresh fails.