{"version":"2.1.246","anchor":"cost-tracking-is-now-scoped-to-a-session-and-can-be-snapshot","canonical_anchor":"cost-tracking-is-now-scoped-to-a-session-and-can-be-snapshot","heading":"Cost tracking is now scoped to a session and can be snapshotted","tier":"internal","area":"Cost Tracking","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246\/e\/cost-tracking-is-now-scoped-to-a-session-and-can-be-snapshot","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.246","markdown":"### Cost tracking is now scoped to a session and can be snapshotted\n\nCost tracking is now per session, can be snapshotted, and flags costs priced without a rate.\n\n**What**\n\nThe cost and usage tracker gained an owning session id, snapshot and restore of totals, per-model usage and the logical start time, and a flag marking that some model cost was priced without a known rate. It also registers a transcript recorder, so usage can be written into the transcript.\n\n**Evidence**\n\n`hasUnknownModelCost`\n\n- Area: Cost Tracking\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5"}