Packages

@ai-sdk/openai-compatible

3.0.93 · 17 Nov 2026Apache-2.014.4M / weekRepositoryHomepagenpmAtom feed

Your version

2.0.66

11 Aug 2026Where it was published

2.0.94 is the newest release of 2.x.

In short

1 fixed1 internal

Release note

Patch Changes

  • provider/openai-compatible: Clamp outputTokens.text at 0 when a provider reports completion_tokens_details.reasoning_tokens greater than completion_tokens (observed with Baseten serving reasoning models that hit the length stop mid-reasoning). The text share of completion tokens can never be negative; total and reasoning remain as reported by the provider.

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.