Skip to content
quebragalho/docs

SDKs

Vercel AI SDK

/v1/chat/completions

Change the client's base URL and API key. The rest of the code stays the same.

In your code

Where to configure
createOpenAICompatible with baseURL at /v1.
API key
apiKey: process.env.QUEBRAGALHO_API_KEY.