packages/vercel/README.md
The Vercel provider for the AI SDK
gives you access to the v0 API, designed for building modern web applications. The v0-1.0-md model supports text and image inputs, provides fast streaming responses, and is compatible with the OpenAI Chat Completions API format.
Key features include:
The Vercel provider is available in the @ai-sdk/vercel module. You can install it with
npm i @ai-sdk/vercel
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 vercel from @ai-sdk/vercel:
import { vercel } from '@ai-sdk/vercel';
import { vercel } from '@ai-sdk/vercel';
import { generateText } from 'ai';
const { text } = await generateText({
model: vercel('v0-1.0-md'),
prompt: 'Create a Next.js app',
});
Please check out the Vercel provider documentation for more information.