# Vercel AI SDK with zurelay > Streaming, tools and UI hooks for TypeScript. Made by Vercel. Source: https://zurelay.com/docs/integrations/vercel-ai-sdk The examples use `claude-opus-5-5`. Any model ID from [the models page](https://zurelay.com/docs/models) works. ## Set it up 1. Install `ai` and the OpenAI-compatible provider: `npm install ai @ai-sdk/openai-compatible`. 2. Create a zurelay provider with the base URL and your key. 3. Pass `zurelay(modelId)` to `streamText`, `generateText` or any other AI SDK call. ## Configuration TypeScript (`lib/ai.ts`): ```typescript import { createOpenAICompatible } from "@ai-sdk/openai-compatible"; import { streamText } from "ai"; const zurelay = createOpenAICompatible({ name: "zurelay", baseURL: "https://api.zurelay.com/v1", apiKey: process.env.ZURELAY_API_KEY, }); const result = streamText({ model: zurelay("claude-opus-5-5"), prompt: "Write a haiku about routers.", }); for await (const text of result.textStream) process.stdout.write(text); ``` [Vercel AI SDK’s own docs](https://ai-sdk.dev/providers/openai-compatible-providers)