OpenCode Zen is pay-as-you-go. No public API is available to query your Zen balance programmatically yet โ GitHub issue #10448.
Local usage data is from this machine's SQLite database via opencode stats.
opencode stats