Socket
Book a DemoInstallSign in
Socket

@ai-sdk/baseten

Package Overview
Dependencies
Maintainers
3
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ai-sdk/baseten

The **[Baseten provider](https://ai-sdk.dev/providers/ai-sdk-providers/baseten)** for the [AI SDK](https://ai-sdk.dev/docs) contains language model and embedding model support for the [Baseten](https://baseten.co) platform.

latest
Source
npmnpm
Version
1.0.5
Version published
Maintainers
3
Created
Source

AI SDK - Baseten Provider

The Baseten provider for the AI SDK contains language model and embedding model support for the Baseten platform.

Setup

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

npm i @ai-sdk/baseten

Provider Instance

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

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

Language Model Example (Model APIs)

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

const { text } = await generateText({
  model: baseten('deepseek-ai/DeepSeek-V3-0324'),
  prompt: 'What is the meaning of life?',
});

Documentation

Please check out the Baseten provider for more information.

Keywords

ai

FAQs

Package last updated on 06 Jan 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