Packages

@ai-sdk/openai

4.0.108 · 3 Nov 2026Apache-2.022M / weekRepositoryHomepagenpmAtom feed

Your version

4.0.99

21 Oct 2026Where it was published

4.0.108 is the newest release of 4.x.

In short

2 new1 fixed1 internal

Release note

Patch Changes

  • Add a shared encodePathSegment helper and use it to encode provider-returned identifiers in credentialed follow-up request paths.

  • Defer construction of provider validation schemas until first use to reduce package import time.

  • openai: Support 12h prompt cache writes and cache prewarming