Vercel AI SDK logo

Vercel AI SDK

by VercelFramework / SDKai-sdk.dev

The Vercel AI SDK is the default TypeScript toolkit for building AI features, and Opper publishes a provider for it. Install @opperai/ai-sdk-provider, set OPPER_API_KEY, and every generateText, streamText and tool call routes through the gateway, so switching model means editing a string rather than rewriting a client. Wrap a model with opperSpan and every call in a session lands under one span in tracing.

Build with Vercel AI SDK on Opper

Opper publishes and maintains @opperai/ai-sdk-provider. Install it, set OPPER_API_KEY, and pick any model in the catalogue.

Get your API key

In your code

import { opper } from '@opperai/ai-sdk-provider';
import { generateText } from 'ai';
const { text } = await generateText({
model: opper('openai/gpt-5.5'),
prompt: 'Hello!',
});

More apps on Opper

Build with Vercel AI SDK on any model

One key, 700+ models, a choice of region, and zero data retention. Switch the model behind your app without changing your workflow.

Get startedView Documentation