SUZENT / Docs
THE SUZENT HANDBOOK

OpenAI

Use GPT models with an OpenAI API key, or point Suzent at Azure OpenAI or another compatible endpoint.

Use GPT and other OpenAI models with an API key from your OpenAI account.

Set up

  1. Get an API key from platform.openai.com/api-keys.
  2. Open Settings → Providers → OpenAI, click CHANGE on the API KEYS tab, and paste the key.
  3. On the MODELS tab, click FETCH, tick the models you want, and click Save Changes.

Settings

FieldEnvironment variableNotes
API KeyOPENAI_API_KEYStarts with sk-.
Base URL (Optional)—Leave empty for OpenAI. Set it for Azure OpenAI or another OpenAI-compatible endpoint.

You can set the key's environment variable before starting Suzent instead of pasting it. It then shows as Set in env and can't be changed from the app.

Good to know

Already pay for ChatGPT Plus or Pro? The ChatGPT Subscription provider uses your plan instead of API credit.

Edit this page on GitHub ↗

On this page