ToolKiti
Home/开发工具/Vercel AI SDK

Vercel AI SDK

Vercel AI SDK

Open-source TypeScript toolkit for building AI-powered applications with streaming, tool calls, and multi-provider support.

开源 TypeScript 工具包,用于构建 AI 应用,支持流式传输、工具调用和多供应商。

Pricing

free (open-source), Vercel hosting additional

Authentication

  • API Key (for provider integrations)

Popularity

86/100

Endpoints

N/A (SDK - integrates with 20+ providers)

SDKs

TypeScript/JavaScriptPython (via LangChain)

Key Features

Code Examples

Streaming Chat with Next.jstypescript
import { streamText } from 'ai';
import { openai } from '@ai-sdk/openai';

export async function POST(req: Request) {
  const { messages } = await req.json();
  const result = streamText({
    model: openai('gpt-4o'),
    messages,
  });
  return result.toDataStreamResponse();
}

Tags

sdkaistreamingtypescript

Last updated: 2026-07-30

Compare Vercel AI SDK with other APIs

Similar APIs

Something wrong or missing? Open an issue on GitHub →

Get Started with Vercel AI SDK

Click below to visit the official website and start using this API.

Visit Vercel AI SDK