OpenCode Go 用量导出

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

Version vom 12.08.2026. Aktuellste Version

Du musst eine Erweiterung wie Tampermonkey, Greasemonkey oder Violentmonkey installieren, um dieses Skript zu installieren.

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.

Sie müssten eine Skript Manager Erweiterung installieren damit sie dieses Skript installieren können

(Ich habe schon ein Skript Manager, Lass mich es installieren!)

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!)

Autor
Shirolin
Bewertungen
0 0 0
Version
1.0.0
Erstellt am
12.08.2026
Letzte Aktualisierung
12.08.2026
Größe
105 KB
Lizenz
GPL-3.0-or-later
Wird angewandt auf

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。