diff --git a/CLAUDE.md b/CLAUDE.md index bfc9930..b428b2b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -113,6 +113,14 @@ the one case that was checked live it agrees with the measurement in direction and magnitude (7.8x predicted vs 5.0x measured). It is also free, needs no sweep, and refreshes whenever the poller runs. +`objective.plan_kwh_per_period` is a planning figure only: per-request traffic +is **never** refused for exceeding it — it **gates nothing**. Overage is billed +against the account's credit balance (`allowance_remaining_usd` from the +provider). `/metrics` now reports balance, estimated burn rate, and projected +runway (hours remaining) derived from the provider-reported +`allowance_remaining_usd` over a configurable window, using a configurable +minimum segment length and sample count to avoid wild extrapolations. + Three signals said `deepseek-v4-flash` — catalog token price (7.8x cheaper), NeuralWatt's own published per-request energy (~10x lower), and a live 70k measurement (5.0x cheaper). Only the 400-token benchmark disagreed. Trust the diff --git a/admin/frontend/index.html b/admin/frontend/index.html index 1326f4e..9a59b6a 100644 --- a/admin/frontend/index.html +++ b/admin/frontend/index.html @@ -460,7 +460,7 @@ header.navbar{padding-top:2px!important;padding-bottom:2px!important}