Skip to main content
The Vercel AI SDK is a TypeScript toolkit for building AI-powered applications. Opper publishes an official provider package, so any Opper model works with generateText, streamText, embed, and tool calls.

Setup

Pass any Opper model string: opper('anthropic/claude-sonnet-4-6'), opper('gemini/gemini-3.5-flash'), opper('default'), and so on.

Session tracing

Wrap your model with opperSpan to group every call in a conversation under one trace in Opper. Traces are stored once you turn tracing on; without it, each call still appears in Logs with its token usage and cost.

Traces

Grouped spans, per session.

Drop-in SDKs

The OpenAI, Anthropic, and Google AI SDKs against Opper.
Last modified on October 2, 2026