onWatch

即時追蹤 Synthetic、Z.ai、Anthropic (Claude Code)、Codex、GitHub Copilot 及 Antigravity 的 AI API 配額。輕量背景常駐程式(記憶體低於 50MB)

onWatch 是什麼?

即時追蹤 Synthetic、Z.ai、Anthropic (Claude Code)、Codex、GitHub Copilot 及 Antigravity 的 AI API 配額。輕量背景常駐程式(記憶體低於 50MB),採用 SQLite 儲存,Material Design 3 儀表板。零遙測。

onWatch 概覽

這是什麼

onWatch 是一款免費、開源的 AI API 配額監控工具,專為開發者設計。它能即時追蹤多個 AI 提供者的使用量,以輕量背景守護程式(低於 50 MB 記憶體)運行,搭配 SQLite 儲存與 Material Design 3 儀表板。此工具無任何遙測功能,完全在本機運作。

主要功能

  • 即時追蹤 Synthetic、Z.ai、Anthropic (Claude Code)、Codex、GitHub Copilot、MiniMax、Gemini CLI (舊版)、Cursor、Grok、Kimi Code 與 Antigravity 的使用量。
  • 提供歷史用量趨勢、重置週期偵測、每週期消耗統計、用量率預測、每工作階段追蹤與即時倒數計時器。
  • Material Design 3 儀表板支援深色/淺色模式,並針對各提供者顯示專屬配額卡片(例如 Synthetic 的訂閱/搜尋/工具呼叫卡片,Anthropic 的動態配額卡片含 OAuth 自動重新整理)。
  • 提供 VS Code 擴充功能,可在編輯器內檢視配額。
  • 支援 Codex、MiniMax 與 Cursor 的多帳號追蹤。
  • API 整合功能可匯入自訂 API 工作流程的本機遙測資料。
  • 無遙測功能,所有資料儲存於本機 SQLite。

使用情境

  • 即時監控多個 AI 提供者的 API 配額,避免觸發速率限制或超出預算。
  • 追蹤歷史用量趨勢與重置週期,以進行更佳的容量規劃。
  • 從單一儀表板管理 Codex、MiniMax 或 Cursor 的多個帳號。
  • 整合自訂 API 工作流程,集中管理代幣與花費遙測資料。
  • 使用 VS Code 擴充功能,無需離開編輯器即可檢查配額。

快速開始

macOS 與 Linux 一鍵安裝: bash curl -fsSL https://raw.githubusercontent.com/onllm-dev/onwatch/main/install.sh | bash Windows PowerShell 一鍵安裝: powershell irm https://raw.githubusercontent.com/onllm-dev/onwatch/main/install.ps1 | iex 安裝後,編輯 ~/.onwatch/.env(或專案目錄中的 .env),至少設定一個提供者的 API 金鑰。接著執行: bash onwatch # 背景啟動 onwatch --debug # 前景模式 onwatch stop # 停止實例 onwatch status # 檢查狀態 開啟 http://localhost:9211,使用 .env 中的憑證登入。

授權與價格

GPL-3.0 開源授權,免費使用。

內容整理自該專案公開的 README 與儲存庫資訊。

將此徽章加入你的 README

Featured on YunoDB 徽章樣式與說明

你是這個專案的維護者嗎?展示它已收錄於 YunoDB。

Markdown[![Featured on YunoDB](https://yunodb.com/badge/onllm-devonwatch.svg)](https://yunodb.com/tools/onllm-devonwatch?utm_source=github&utm_medium=badge)
HTML<a href="https://yunodb.com/tools/onllm-devonwatch?utm_source=github&utm_medium=badge"><img src="https://yunodb.com/badge/onllm-devonwatch.svg" alt="Featured on YunoDB" height="20"></a>