Packages

@langchain/anthropic

1.6.6 · 20 Nov 2026MIT2.1M / weekRepositoryHomepagenpmAtom feed

Your version

1.5.5

13 Aug 2026Where it was published

1.6.6 is the newest release of 1.x.

In short

1 fixed

Release note

Patch Changes

  • anthropic: Preserve gateway cost on the native stream path

    convertAnthropicStream now surfaces an Anthropic-compatible gateway's numeric usage.cost at response_metadata.usage.cost, matching the chunk path. Token accounting in usage_metadata is unchanged.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.