Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.218 ·

Pricing Records: canonicalModel and provider Fields

Entry
JSON All of v2.1.218
EntryKind: in v2.1.218,
ImprovementsSection of the release

Two new optional fields appear in per-model usage/pricing records:

  • canonicalModel: The canonical model ID used for the pricing lookup (e.g., claude-opus-4-7). May differ from the raw model string when provider-specific IDs or aliases are in use.
  • provider: The API provider that served the model: 'firstParty', 'bedrock', 'vertex', 'foundry', 'anthropicAws', 'anthropicGoogleCloud', 'mantle', 'gateway'.

These fields are useful for hooks and third-party cost tracking tools that need to normalize model identifiers across providers.

Evidence

New schema fields (search for "Canonical model id used for the pricing lookup")

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.218 →

Feedback