# @ai-sdk/deepseek

Latest version **3.0.52** (published 2026-09-23) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @ai-sdk/deepseek
pnpm add @ai-sdk/deepseek
yarn add @ai-sdk/deepseek
bun add @ai-sdk/deepseek
```

## Health

**Score 60/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score; popular repo.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 3.0.52 |
| Published | 2026-09-23 |
| First published | 2025-01-04 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 26864 |
| Maintainers | vercel-release-bot, matheuss, matt.straka |
| Keywords | ai |

## Links

- npm: https://www.npmjs.com/package/@ai-sdk/deepseek
- Repository: https://github.com/vercel/ai
- Homepage: https://ai-sdk.dev/docs
- Issues: https://github.com/vercel/ai/issues
- npm.io page: https://npm.io/package/@ai-sdk/deepseek

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 3.0.52 (latest) — 2026-09-23
- 1.0.59 (ai-v5) — 2026-09-23
- 2.0.67 (ai-v6) — 2026-09-23
- 0.0.0-f1630544-20260811180950 (snapshot) — 2026-08-11
- 3.0.0-beta.56 (beta) — 2026-06-23
- 3.0.0-canary.54 (canary) — 2026-06-12
- 1.0.0-alpha.15 (alpha) — 2025-06-18
- 2.0.66 — 2026-09-23
- 3.0.51 — 2026-09-23
- 1.0.58 — 2026-09-23
- 2.0.65 — 2026-09-21
- 3.0.50 — 2026-09-21
- 3.0.49 — 2026-09-18
- 3.0.48 — 2026-09-18
- 3.0.47 — 2026-09-16
- … 385 more at https://npm.io/package/@ai-sdk/deepseek/versions

## README

# AI SDK - DeepSeek Provider

The **[DeepSeek provider](https://ai-sdk.dev/providers/ai-sdk-providers/deepseek)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model support for the [DeepSeek](https://www.deepseek.com) platform.

> **Deploying to Vercel?** With Vercel's AI Gateway you can access DeepSeek (and hundreds of models from other providers) — no additional packages, API keys, or extra cost. [Get started with AI Gateway](https://vercel.com/ai-gateway).

## Setup

The DeepSeek provider is available in the `@ai-sdk/deepseek` module. You can install it with

```bash
npm i @ai-sdk/deepseek
```

## Skill for Coding Agents

If you use coding agents such as Claude Code or Cursor, we highly recommend adding the AI SDK skill to your repository:

```shell
npx skills add vercel/ai
```

## Provider Instance

You can import the default provider instance `deepseek` from `@ai-sdk/deepseek`:

```ts
import { deepseek } from '@ai-sdk/deepseek';
```

## Example

```ts
import { deepseek } from '@ai-sdk/deepseek';
import { generateText } from 'ai';

const { text } = await generateText({
  model: deepseek('deepseek-v4-flash'),
  prompt: 'Write a JavaScript function that sorts a list:',
});
```

## Documentation

Please check out the **[DeepSeek provider](https://ai-sdk.dev/providers/ai-sdk-providers/deepseek)** for more information.

---
_Source: https://npm.io/package/@ai-sdk/deepseek · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
