AI SDK (Vercel)
Free, open-source TypeScript toolkit from Vercel for building AI apps and agents with streaming, fallbacks and multi-model support.
Tags
Agent access
Guides & comparisons
- LLM gateways compared: OpenRouter vs Vercel AI Gateway vs Cloudflare AI Gateway vs Portkey vs LiteLLM (Comparison): Five ways to put one endpoint between your agents and many model providers: two hosted model marketplaces (OpenRouter, Vercel AI Gateway), Cloudflare's proxy, and two open-source gateways you can self-host (Portkey, LiteLLM). Covers API, fallback, caching, spend controls, MCP, pricing and license.
Sources
Machine-readable
- JSON
- Markdown
- Source file on GitHub (edit via pull request)