Integrations / NextChat (ChatGPT-Next-Web)
Use API Models in NextChat / ChatGPT-Next-Web
NextChat (ChatGPT-Next-Web) is one of the most-deployed self-hosted ChatGPT UIs. It accepts a custom OpenAI base URL, so it works with API Models out of the box.
BASE_URL=https://apimodels.app/api/v1 · OPENAI_API_KEY=your key.
Setup steps
- Create an API key in the API Models Console.
- When deploying NextChat, set OPENAI_API_KEY to your key and BASE_URL to https://apimodels.app/api/v1.
- Or in the app: Settings → set the access endpoint to https://apimodels.app/api/v1 and paste your key.
- Add model names like gpt-5.1, claude-sonnet-4-6 in the custom-models field.
NextChat (ChatGPT-Next-Web) project: https://github.com/ChatGPTNextWeb/NextChat