Skip to content
SETU by SUPREME AI

Integrations

Vercel AI SDK

Use Setu models with generateText and streamText through the OpenAI provider.

Setup

Point the OpenAI provider at Setu and use .chat(model): Setu serves the Chat Completions API, not the newer Responses API that the provider uses by default.

npm install ai @ai-sdk/openai