> Index: https://quebragalho.dev/en/docs/llms.txt

# Vercel AI SDK

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

- Protocol: /v1/chat/completions

## In your code

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

Read it in the browser: https://quebragalho.dev/en/docs/integracoes/vercel-ai-sdk
