CC One

cc-one·Buktal.CCOne

A local-first dashboard that turns AI CLI session logs into tokens, cost, and trends

Your AI CLI usage, owned by you. cc one reads the session logs your AI CLIs already write and turns them into tokens, cost, cache efficiency, and trends — a local-first dashboard with optional multi-device sync through a GitHub repo you control. Why Every session with Claude Code, Codex, Gemini CLI, Grok CLI, or OpenCode writes a log to disk — tokens, cache hits, spend — all in plain text, unread. cc one reads those logs and turns them into a clear picture: what you spent, what you received, and where your tokens went. It also manages provider switching, writing the exact config file each CLI reads. Two principles govern the design: - Local-first. The full dashboard works with zero network — the logs already on your disk are all it needs. - Read-only toward your logs. cc one never modifies session logs or tool behavior. The sole write is provider switching: always your explicit action, always backed up first. Multi-device sync is an opt-in layer, never a precondition. Features Providers - One config hub for all five CLIs — switching a provider writes the real config file that CLI reads, merging controlled fields only, with the previous file backed up first. - 59 built-in presets — select one, enter your API key, and switch. Import from CC-Switch, local config files, or a CC One backup; export the whole list as JSON anytime. - Model role mapping — five roles (Sonnet / Opus / Fable / Haiku / Subagent), each with its own model and a 1M-context toggle; one click fetches the vendor's model list. - Structure syncs, keys never — the provider list syncs per device; API keys are stripped from anything that leaves your machine. Dashboard - Four-bucket token economics — input / output / cache creation / cache read, normalized across CLIs into one model that matches your bill. - Cache-hit rate, model distribution, requests & cost — models ranked by tokens, each with its own cache-hit rate; totals frozen at collection time. - Trends & request log — multi-metric trend chart with today-vs-yesterday delta; per-call log with token breakdown, cost, and full details on click. Sessions - Browsable history — every conversation grouped by project, full-text search, filters by time / source / model / device. - Complete transcripts, instantly — stored locally at collect time, rendered as markdown with syntax highlighting; in-session search with hit-highlighting and jump. - Local & Favorites — private local groups that never leave this machine; favorited sessions sync across devices with source-device badges. Only favorited sessions ever leave your machine. Sync (optional) - Your own repo, plain text — usage projected into human-readable, per-device, per-day JSONL in a GitHub repo you control; no third-party server in the middle. - Conflict-free by construction — device-isolated writes, deterministic artifacts, self-healing rebases. - System-proxy aware; dashboard, glance card, and tucked bar can be scoped to a single device. Library - Drag-to-relay upload — drop files or directories into the window; they travel through your sync repo into that device's subtree. - In-app preview & manual export — images, text/JSON, sandboxed rendering for the rest; export to a path you choose. Cost & pricing - Editable per-model pricing, one-click LiteLLM cost-map fetch, rebill for records collected without a price, JSON import/export. Experience - Glance mode — a tucked mini-bar or a floating card mirroring the dashboard; each shape retains its placement. - Multi-skin theming, tray-resident background collection (5s–60s), signed auto-updates, UI in English / 简体中文 / 日本語. What stays local, what syncs | | Standalone | Synced (repo bound) | | ------------------------------------------------ | ---------- | -------------------------------------------- | | Usage, cost, trends, request log | Local only | Syncs across devices | | Session transcripts & favorites | Local only | Favorited sessions sync; the rest stay local | | Provider structure | Local only | Syncs per device — API keys never sync | | Library files | Local only | Syncs across devices | | Settings, skins, pricing overrides, local groups | Local | Local — never written to the repo | Nothing leaves your machine unless you bind a repo and enable sync. The access token stays on your machine and is never written to the repo. How it works A Tauri 2 app: a Rust backend handles collection, the local store (the single source of truth), provider config writes, and optional sync; a React frontend renders the dashboard through generated, type-safe IPC bindings.

winget install --id Buktal.CCOne --exact --source winget

Latest 2.3.1·November 23, 2026

Release Notes

Fixed

  • Models missing from the pricing table no longer cost $0 — when no row of the table matches a model (after key normalization and prefix fallback), its published list price is used instead of giving up. The list prices come from the llm-prices dataset compiled into the app, so nothing is fetched over the network. Rows in the table (your edits on the Pricing page, the LiteLLM pull) always win over the list price. (#120)
  • Built-in seed prices corrected — the Claude, GPT-4o, GPT-5.x and Gemini 2.5 Pro seed rows now come from llm-prices instead of hand-copied values, which corrects Claude Fable 5 5/25 → 10/50, Claude Opus 4.8 15/75 → 5/25, Claude Sonnet 5 3/15 → 2/10 and the Gemini 2.5 Pro output price 5 → 10 (USD per 1M tokens, input / output). The seed is written only when the pricing table is empty, so an existing install keeps its current rows — correct them on the Pricing page or through the LiteLLM pull. (#120) Changed
  • Zero-cost history is topped up after the upgrade — the startup rebill (zero-cost rows only; already-costed history is never re-costed) now also reaches rows whose model resolves through llm-prices, so such rows recorded before the upgrade are priced on the next launch and those days' cost totals rise accordingly; in Synced mode the affected days are pushed on the next sync. (#120)
  • Cache-write rates for GPT-4o and Gemini 2.5 Pro follow the standard estimate — the dataset lists no cache-write price for OpenAI or Google, so the seed no longer carries a hand-set value for these two rows and cache-creation tokens are billed at the usual 1.25× input. (#120)
  • New runtime dependency: llm-prices 1.8.0 (MIT) — every row of the dataset records the provider pricing page it came from and the date it was checked. (#120)

Installer types: nullsoft, wix

x64usernullsoftC3F91E901ACA9E97042BF5558C704EE31C54CCA211E4706A3ECD365CC3845229
x64machinewix71F17BD9B457BCB00CCE915145C63F46D84DF2C9DBCB057C4326B5A8B27B184E

Details

Homepage
https://github.com/Buktal/cc-one
License
MIT
Publisher
cc-one
Support
https://github.com/Buktal/cc-one/issues
Copyright
Copyright (c) 2026 cc one Contributors

Tags

aiclaudecodexdashboardgeminillmusage

Older versions (2)

2.3.0
x64usernullsoft2018D7C62E5D6F8EB11007B8D7A7CBA07045F913832068A97A7C35F21629B234
x64machinewix18F87ABA3C33608A842B0C6C73E63066193E589033B63608058EB1AD3B4F0B1C
2.0.3
x64usernullsoft096222F392488B2642E0DD81B59383180BDF06A231D516C8A27744050873798F
x64machinewixDAF4FBE872A69B88E0409B31EF661417E86523E67A345A755D09EC10C2835FBE