Launch Week Day 5: Introducing Reachability for PHP.Learn More
Socket
Book a DemoSign in
Socket

@ai-sdk/deepseek

Package Overview
Dependencies
Maintainers
3
Versions
256
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/deepseek

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.

latest
Source
npmnpm
Version
2.0.29
Version published
Weekly downloads
670K
2.7%
Maintainers
3
Weekly downloads
 
Created
Source

AI SDK - DeepSeek Provider

The DeepSeek provider for the AI SDK contains language model support for the DeepSeek 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.

Setup

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

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:

npx skills add vercel/ai

Provider Instance

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

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

Example

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

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

Documentation

Please check out the DeepSeek provider for more information.

Keywords

ai

FAQs

Package last updated on 07 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts