Packages

@ai-sdk/replicate

3.0.85 · 17 Nov 2026Apache-2.0111.4k / weekRepositoryHomepagenpmAtom feed

Your version

3.0.77

6 Nov 2026Where it was published

3.0.85 is the newest release of 3.x.

In short

2 fixed

Release note

Patch Changes

  • Refactor Replicate model ID logic into a model catalog that declares capabilities and provider options, and generate provider capability documentation from it. Request behavior is unchanged.

  • replicate: Cancel abandoned image predictions on abort or poll timeout

    Image generations that were abandoned — the caller aborted via abortSignal or polling gave up after maxPollAttempts — stopped polling but left the prediction running on Replicate, where it kept consuming compute. The image model now sends a best-effort cancel request to POST /predictions/{prediction_id}/cancel in those cases. The cancel URL is built from the configured base URL instead of the response body's urls.cancel, so configured credentials are only sent to the provider origin. Cancellation uses only the provider headers, never reuses the aborted signal, is never retried, and never replaces the abort or timeout error.

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.