In this article
Reconcile resource intervals and completion cohorts separately, carrying unfinished work forward without counting it as already delivered service.
The interval’s resources and completions are different populations
A resource report ends while a large batch or long generation is still running. The period contains its consumption but not its final accepted output. The next period contains completion and may also include later usage records. Dividing each period’s resources by only its completions can create a swing that reflects the cutoff rather than changed efficiency. The question is how to preserve interval observations and task-level results without inventing completed service or counting the same work twice.
Preserve metric temporality
The OpenTelemetry data model distinguishes delta and cumulative observations with time boundaries. The vLLM metric design distinguishes ongoing state, work observations and request completion. Preserve start time, reset identity and measurement scope before calculating a reporting difference. A cumulative counter’s entire value is not the current interval’s work. A sampled gauge does not automatically integrate resource occupation, and an endpoint sample cannot reveal precisely what happened inside an unobserved cutoff gap.
Create a carryover inventory
At the declared cutoff, retain identities and known states of admitted unfinished work, plus uncertainty about resource allocation. Link later completion, failure or cancellation to that same operation and its attempts. Keep late usage as enrichment rather than another completion. This is a proposed technical reconciliation record, not a financial accounting standard. Preserve which quantities are directly observed within the period and which are estimates or task-level totals that cannot be split reliably at the boundary.
Show interval and cohort views together
Report measured resource consumption for each interval with its active and terminal populations. Separately report complete task-cohort resources where attribution supports them, including their cross-period lifetimes. Do not silently move all consumption to completion time or treat partial output as final accepted work. Use matching units and boundaries across views. If only shared pool energy is measured, keep it at pool scope rather than assigning exact historical energy to a task merely because its completion arrived in the next report.
Test late records and a worker restart
Use a finite authorized fixture crossing an artificial cutoff. Deliver terminal and usage observations late, repeat a terminal event and include a counter reset from worker replacement. Verify that carried work resolves once, resource intervals remain explainable and missing data stays unknown. A late record can improve completeness without changing when execution occurred. Preserve corrections with their evidence rather than overwriting the earlier report so completely that readers cannot reconstruct why its apparent efficiency changed after reconciliation.
Publish a cutoff-aware resource account
Save cutoff definitions, temporality, carryover identities, correction history and accepted outcomes. Terminal reconciliation prevents repeated lifecycle counts; unit economics preserves useful denominators. This article adds work-in-progress continuity across resource reports. It does not infer invoices, force a universal allocation method or turn unknown partial consumption into an exact per-request figure. The supported result lets readers distinguish real serving changes from timing, late evidence and unresolved work crossing the reporting boundary.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.