OpenCode Go 用量导出

导出 OpenCode 控制台 Usage 的 token 统计。拦截服务端请求拿原始 JSON;分层存储(30 天明细 + 永久聚合),全量/增量、并发拉页+重试、断点续传、自动同步、可中断抓取、按 keyID/plan 维度、面板、CSV+Excel 导出。⚠ 请仅从官方 GitHub (github.com/Shirolin/opencode-go-usage-export) 获取本脚本,未知来源修改版可能窃取 API Key

Verze ze dne 12. 08. 2026. Zobrazit nejnovější verzi.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

Autor
Shirolin
Hodnocení
0 0 0
Verze
1.0.0
Vytvořeno
12. 08. 2026
Aktualizováno
12. 08. 2026
velikost
105,4 KB
Licence
GPL-3.0-or-later
Spustit na

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。