OpenCode Go 用量导出

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

Versione datata 12/08/2026. Vedi la nuova versione l'ultima versione.

Dovrai installare un'estensione come Tampermonkey, Greasemonkey o Violentmonkey per installare questo script.

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

Dovrai installare un'estensione come Tampermonkey o Violentmonkey per installare questo script.

Dovrai installare un'estensione come Tampermonkey o Userscripts per installare questo script.

Dovrai installare un'estensione come ad esempio Tampermonkey per installare questo script.

Dovrai installare un gestore di script utente per installare questo script.

(Ho già un gestore di script utente, lasciamelo installare!)

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione come ad esempio Stylus per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

Dovrai installare un'estensione per la gestione degli stili utente per installare questo stile.

(Ho già un gestore di stile utente, lasciamelo installare!)

Autore
Shirolin
Valutazione
0 0 0
Versione
1.0.0
Creato il
12/08/2026
Aggiornato il
12/08/2026
Dimensione
105 KB
Licenza
GPL-3.0-or-later
Applica a

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。