OpenCode Go Usage Export

Export OpenCode Go usage from the console — token breakdown (cache read / reasoning), aggregated by model / API key / plan / date, CSV + Excel export. 导出 OpenCode 控制台 Go 订阅用量统计(token 细分、按模型/API key/plan/日期聚合、CSV/Excel 导出)。⚠ Install only from the official GitHub repo (github.com/Shirolin/opencode-go-usage-export) — modified copies from unknown sources may steal your API keys. 请仅从官方 GitHub 获取,未知来源修改版可能窃取 API Key

As of 2026-08-12. See the latest version.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Author
Shirolin
Ratings
0 0 0
Version
1.0.1
Created
2026-08-12
Updated
2026-08-12
Size
106 KB
License
GPL-3.0-or-later
Applies to

Export OpenCode Go subscription usage from the OpenCode console — token breakdown (cache read / reasoning), aggregated by model / API key / plan / date, with CSV + Excel export. Network-layer capture, 30-day detail + permanent aggregates in IndexedDB, full/incremental sync, interruptible fetch, auto-sync. GPL-3.0, open source — install only from the official repository.

导出 OpenCode 控制台的 Go 订阅用量统计:token 细分(cache read / reasoning)、按模型 / API key / plan / 日期聚合,支持 CSV + Excel。网络层抓取原始 JSON、IndexedDB 分层存储(30 天明细 + 永久聚合)、全量/增量同步、可中断抓取、自动同步。GPL-3.0 开源——请仅从官方仓库安装,未知来源修改版可能窃取 API Key。