Claude Code v2.1.246 ·
Usage accumulation records the pricing source alongside the model
Usage records now note where the price came from, and the SDK exposes that field.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
3Signal: worth watching, 1 to 5
Cost TrackingArea: what it touches
Internal ChangesKind: in v2.1.246,
Internal ChangesSection of the release
What
Each accumulated usage record now stores a cost basis next to the provider and canonical model name, which is what the new SDK schema field exposes.
Details
- The enum admits
list, managed and unknown; the schema field is optional so older producers omit it.
Evidence
costBasis: a(["list", "managed", "unknown"])
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.246 →