unstale

npm / @ai-sdk/deepseek

@ai-sdk/deepseek

What changed in @ai-sdk/deepseek 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-18.

12 new APIs and options1 behavior and defaults12 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.1.1 on npm

@ai-sdk/deepseek 323 changes

New APIs and options 12

  • Adds max as a portable reasoning level, with native provider mappings, compatibility coercions, and budget-based fallback support.

    3.0.60release notes

  • provider-utils adds deleteFromApi.

    3.0.38release notes

  • FilesV4 call options now support abortSignal.

    3.0.38release notes

  • FilesV4 gains an optional deleteFile operation.

    3.0.38release notes

  • FilesV4 gains an optional streaming downloadFile operation.

    3.0.38release notes

  • FilesV4 gains an optional getFileMetadata operation.

    3.0.38release notes

  • FilesV4 call options now support headers.

    3.0.38release notes

  • provider-utils adds postMultipartStreamToApi for streaming multipart uploads with deterministic part ordering and failure-path stream teardown.

    3.0.38release notes

  • Upload data now accepts a { type: 'stream' } variant.

    3.0.38release notes

  • Upload results now expose byteSize.

    3.0.38release notes

  • Upload results now expose createdAt.

    3.0.38release notes

  • Upload results now expose expiresAt.

    3.0.38release notes

Behavior and default changes 1

  • Preserves reasoning content on all assistant turns for future DeepSeek models, using current reasoning-enabled defaults; known pre-V4 versions and legacy chat/reasoner aliases retain previous handling.

    1.0.63, 2.0.72, 3.0.64release notesrelease notesrelease notes

Fixes and other changes 10

@ai-sdk/deepseek 21 changes

Fixes and other changes 1

  • Complete raw chat usage objects are now preserved, so developers retain all usage data.

    2.0.61release notes

@ai-sdk/deepseek 11 changes

Fixes and other changes 1

  • Treats the deepseek-flash alias as a V4 model so prior-turn reasoning_content is preserved in multi-turn requests.

    1.0.57release notes