Skip to content

v0.1.0

Choose a tag to compare

@scaccogatto scaccogatto released this 17 Jul 10:32
· 6 commits to main since this release

First tagged release.

Fixed

  • Per-model energy attribution: tokens are now tracked per modelID and billed at each model's own energy factor, then summed — previously every token in a mixed session was billed at the single largest model's rate.
  • Token counters are ?? 0-guarded — an undefined field from a provider can no longer poison the totals with NaN.
  • PUE (1.1) is now actually applied in the CO2 computation (was documented but never multiplied in).
  • Cache read/write tokens are included in the energy total (flat-rate simplification, noted in code).

Added

  • Unit tests (node --test, 9 cases) + CI on Node 24.
  • @opencode-ai/plugin bumped 1.1.60 → 1.18.3.

Changed

  • The /co2 report now shows a per-model breakdown above the session total.