packages/baseten/README.md
The Baseten provider for the AI SDK contains language model and embedding model support for the Baseten platform.
The Baseten provider is available in the @ai-sdk/baseten module. You can install it with
npm i @ai-sdk/baseten
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
You can import the default provider instance baseten from @ai-sdk/baseten:
import { baseten } from '@ai-sdk/baseten';
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?',
});
Please check out the Baseten provider for more information.