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

# OpenAI SDK

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

- Protocol: chat · responses

## In your code

- **Where to configure:** `base_url` (Python) or `baseURL` (Node) at `/v1`.
- **API key:** `os.environ["QUEBRAGALHO_API_KEY"]` or `process.env.QUEBRAGALHO_API_KEY`.

[Full example](https://quebragalho.dev/en/docs/quickstart.md)

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