| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
An OpenCode plugin to query account quota usage for multiple AI platforms.
| Platform | Account Type | Data Source |
|---|---|---|
| OpenAI | Plus / Team / Pro | ~/.local/share/opencode/auth.json |
| Zhipu AI | Coding Plan | ~/.local/share/opencode/auth.json |
| Z.ai | Coding Plan | ~/.local/share/opencode/auth.json |
| GitHub Copilot | Individual / Business | ~/.local/share/opencode/auth.json |
| Google Cloud | Antigravity | ~/.config/opencode/antigravity-accounts.json |
Paste this into any LLM agent (Claude Code, OpenCode, Cursor, etc.):
Install the opencode-mystatus plugin by following: https://raw.githubusercontent.com/vbgate/opencode-mystatus/main/README.md
To install this plugin, perform these steps:
Add "opencode-mystatus" to the plugin array in ~/.config/opencode/opencode.json
Add the slash command to the command object in the same file:
{
"plugin": ["opencode-mystatus"],
"command": {
"mystatus": {
"description": "Query quota usage for all AI accounts",
"template": "Use the mystatus tool to query quota usage. Return the result as-is without modification."
}
}
}{
"plugin": ["opencode-mystatus"],
"command": {
"mystatus": {
"description": "Query quota usage for all AI accounts",
"template": "Use the mystatus tool to query quota usage. Return the result as-is without modification."
}
}
}Copy the plugin files to your OpenCode config directory:
Use the /mystatus command to get complete quota information:
/mystatus
Simply ask in natural language, for example:
OpenCode will automatically use the mystatus tool to answer your question.
## OpenAI Account Quota Account: user@example.com (team) 3-hour limit ██████████████████████████████ 85% remaining Resets in: 2h 30m ## Zhipu AI Account Quota Account: 9c89****AQVM (Coding Plan) 5-hour token limit ██████████████████████████████ 95% remaining Used: 0.5M / 10.0M Resets in: 4h ## Z.ai Account Quota Account: 9c89****AQVM (Z.ai) 5-hour token limit ██████████████████████████████ 95% remaining Used: 0.5M / 10.0M Resets in: 4h ## GitHub Copilot Account Quota Account: GitHub Copilot (individual) Premium ████░░░░░░░░░░░░░░░░ 24% (229/300) Quota resets: 19d 0h (2026-02-01) ## Google Cloud Account Quota ### user@gmail.com G3 Pro 4h 59m ████████████████████ 100% G3 Image 4h 59m ████████████████████ 100% G3 Flash 4h 59m ████████████████████ 100% Claude 2d 9h ░░░░░░░░░░░░░░░░░░░░ 0%
No additional configuration required. The plugin automatically reads credentials from:
To query Google Cloud (Antigravity) account quota, you need to install the opencode-antigravity-auth plugin first to authenticate your Google account.
This plugin is safe to use:
Local Files Accessed (read-only):
API Endpoints (all official):
Privacy:
The plugin displays quota for these models:
| Display Name | Model Key |
|---|---|
| G3 Pro | gemini-3-pro-high / gemini-3-pro-low |
| G3 Image | gemini-3-pro-image |
| G3 Flash | gemini-3-flash |
| Claude | claude-opus-4-5-thinking / claude-opus-4-5 |
# Using npm
npm install
npm run typecheck
npm run build
# Or using Bun
bun install
bun run typecheck
bun run buildMIT
| Back | FazBrowse Home | New Git URL |