Skip to main content
ToolNaviq

Vercel AI SDK

Vercel AI SDK is an open-source TypeScript toolkit. Implement one streaming request and test errors and cancellation.

Pricing model
Free tier
Plan
AI Gateway free tier · USD 0.00 / month · Per Vercel team Source 2026-10-26
Key limit
Free credits start with first request; BYOK unavailable. Source 2026-10-26

Compare tools

Use cases

Prototype a typed chat UI.

Compare provider adapters for a task.

Review a harness integration boundary.

Product screenshotsAI SDK code exampleView 1
AI SDK code exampleThe official Vercel AI SDK page shows framework integration guidance and a code example.Product page · Public interface capture

AI SDK code example

The official Vercel AI SDK page shows framework integration guidance and a code example.
Product overview and more use cases

Product overview

AI SDK is a TypeScript toolkit with Core APIs for text, structured objects and tools, UI helpers for chat, and a Harness abstraction for supported agent harnesses. It integrates with multiple frontend/runtime stacks and providers. A shared API shape does not guarantee every provider or harness supports identical behavior.

Capabilities, models and access
What it can doConditions and limits

Generate text and structured outputs.

Define model tools and agents.

Build streaming chat interfaces.

Integrate supported agent harnesses.

Usage limits

The current repository license is Apache 2.0. Model providers, optional gateways, harness subscriptions and deployment infrastructure have separate terms. Choose documentation for the installed SDK generation and check provider-specific tools, streaming and structured-output support. A browser UI should not expose provider credentials. Review server authorization, input/output validation, tool side effects and stream persistence. The toolkit does not automatically provide production access control, unlimited models or factual correctness.

How to use or connect

Choose a connection route

Use the docs to choose a provider or Gateway and identify the model.

Implement a streaming response

Test incremental output, completion and interruption with a small input.

Check usage and cost

Review model requests and hosting usage against the applicable rates.

Pricing and access

The SDK is open source. Direct model calls follow provider pricing. AI Gateway and deployment follow their own billing terms. Official pricing reference · Additional terms

AI SDK

USD 0 One-time · Per software project

No SDK license fee.

Open-source TypeScript toolkit; provider and hosting usage are separate.

AI Gateway free tier

USD 0 / month · Per Vercel team

Free credits start with first request; BYOK unavailable.

USD 5 monthly credit for a subset of models with lower rate limits.

Compare all plans and billing rules
AI SDK
USD 0One-time · Per software project

No SDK license fee.

  • ✓ Open-source TypeScript toolkit; provider and hosting usage are separate.
  • ✓ Model-provider and deployment charges may apply.
AI Gateway free tier
USD 0/ month · Per Vercel team

Free credits start with first request; BYOK unavailable.

  • ✓ USD 5 monthly credit for a subset of models with lower rate limits.
  • ✓ Provider list rates apply against the credit.
AI Gateway paid tier
Per use · Provider tokens through purchased credits

Pay as you go; no commitment.

  • ✓ Pay provider list price with zero token markup and no platform fee.
  • ✓ Optional reporting, allowlist, ZDR and traces add metered charges.
Custom Reporting queries
USD 5Per use · Per 1,000 reporting queries

Disabled by default.

  • ✓ Optional add-on.
  • ✓ Writes cost USD 0.075 per 1,000 identifiers.

Compare key allowances

AllowanceAI SDKAI Gateway free tierAI Gateway paid tierCustom Reporting queries
Billing unitPer software projectPer Vercel teamProvider tokens through purchased creditsPer 1,000 reporting queries
Included allowanceOpen-source TypeScript toolkit; provider and hosting usage are separate.USD 5 monthly credit for a subset of models with lower rate limits.Pay provider list price with zero token markup and no platform fee.Optional add-on.
Additional chargesModel-provider and deployment charges may apply.Provider list rates apply against the credit.Optional reporting, allowlist, ZDR and traces add metered charges.Writes cost USD 0.075 per 1,000 identifiers.

Usage requirements

Platforms
Local installation, API
More usage requirements
Installation
The AI SDK installs into TypeScript applications; it is not a model runtime.
Alternatives and relationships

Compare alternatives by need

Research and sources

Frequently asked questions

Does the SDK require Vercel hosting?

The docs list multiple frontend and runtime stacks.

Are provider features identical?

No. Check the selected adapter and model.

Does the license include model credits?

No. Provider/service terms are separate.

Product facts
Product type
TypeScript AI application toolkit
Where to start
Code project using Core, UI or Harness APIs
Cost
Apache 2.0 code; provider/hosting fees separate
Chinese readiness
Test Chinese streaming and schema outputs
Main condition
Match SDK generation and provider features
Identifiers
Slug vercel-ai-sdk · Product ID 97bfac48-8b95-45c2-9a03-a06507685161
Original records and guides

Introduction and use cases

Build TypeScript AI interfaces and agent integrations with Vercel AI SDK, matching SDK versions and provider capabilities while budgeting inference separately.

Our selection advice

Start with one provider and a synthetic read-only conversation, then validate streaming and authorization before adding tools.

Capabilities and requirements

Choose SDK surfaces

Match package versions and the required runtime/UI.

Configure server-side access

Keep credentials server-side and scope model/tool access.

Inspect output and usage

Test streaming, errors and separate provider charges.

Billing notes

AI SDK

Billing unit: Per software project Allowance: Open-source TypeScript toolkit; provider and hosting usage are separate. Extra fees: Model-provider and deployment charges may apply. Conditions: No SDK license fee.

AI Gateway free tier

Billing unit: Per Vercel team Allowance: USD 5 monthly credit for a subset of models with lower rate limits. Extra fees: Provider list rates apply against the credit. Conditions: Free credits start with first request; BYOK unavailable.

AI Gateway paid tier

Billing unit: Provider tokens through purchased credits Allowance: Pay provider list price with zero token markup and no platform fee. Extra fees: Optional reporting, allowlist, ZDR and traces add metered charges. Conditions: Pay as you go; no commitment.

Custom Reporting queries

Billing unit: Per 1,000 reporting queries Allowance: Optional add-on. Extra fees: Writes cost USD 0.075 per 1,000 identifiers. Conditions: Disabled by default.

AI SDK

USD 0 · Per software project · Open-source TypeScript toolkit; provider and hosting usage are separate. · Model-provider and deployment charges may apply. · No SDK license fee.

AI Gateway free tier

USD 0 · Per Vercel team · USD 5 monthly credit for a subset of models with lower rate limits. · Provider list rates apply against the credit. · Free credits start with first request; BYOK unavailable.

AI Gateway paid tier

Provider tokens through purchased credits · Pay provider list price with zero token markup and no platform fee. · Optional reporting, allowlist, ZDR and traces add metered charges. · Pay as you go; no commitment.

Custom Reporting queries

USD 5 · Per 1,000 reporting queries · Optional add-on. · Writes cost USD 0.075 per 1,000 identifiers. · Disabled by default.

Updates, relationships and reviews

Official usage resources checked in this batch. Independent user reviews are still pending verification; no overall sentiment rating is assigned.

Questions and guides

Vercel AI SDK current Core, UI and Harness surfaces

Official reference for the workflow and its conditions.

Specify a fictional streaming chat

Design a read-only chat around synthetic notes, with server-side model access and an explicit error state for interrupted streams.

Check credentials, access, streaming completion and provider usage.

Editorial example; no application, account or model call was executed.

Related guides

Choosing a tool for this task

Source records 7
[1]
Does the SDK require Vercel hosting? ↗Are provider features identical? · Choose SDK surfaces · Configure server-side access · Inspect output and usage · Specify a fictional streaming chat · Our selection advice · Vercel AI SDK current Core, UI and Harness surfaces · Product type · Where to start · Chinese readiness · Main condition · ai-sdk.devhttps://ai-sdk.dev/docs/introduction
[3]
AI SDK ↗https://ai-sdk.dev/docs/introduction
[4]
AI Gateway free tier ↗AI Gateway paid tier · Custom Reporting querieshttps://vercel.com/docs/ai-gateway/pricing
SOURCE
PASS IT ON

Share this tool

Vercel AI SDK

A useful find, worth sharing.

Opens the platform’s share page; you may need to sign in. You choose when to publish.

System sharing is not supported here. You can still copy the link or save a card.

Scan to open the tool on ToolNaviq