NConnect
DocsCost metering

04 / FEATURES

Cost metering

Track what every coding session costs on Nebius. See local spend by model and tool, and route spawned harnesses through the daemon for metering and fallback.

Proxied harnesses go through the daemon, so every turn is metered. Spawned harnesses hold the key and call Nebius directly, which is why they report $0.00.

See your spend

nconnect usage --last 7d

The report is built from local data and is never uploaded.

Meter spawned harnesses

NCONNECT_METER=1 points a spawned harness at the daemon instead:

NCONNECT_METER=1 npi --print "..."
Output
NConnect ▸ Launching Pi Code with Nebius Token Factory.
[nconnect cost] session total: $0.0056 (1,518 in, 69 out)

The harness then shares the same client as everyone else: automatic model fallback, the per-model circuit breaker and transient-fault retries. The real Nebius key stays inside the daemon, since the harness only ever sees a local session token. If the daemon is unreachable the launcher says so and connects directly, so metering can never be the reason a session fails to start.