NextChat (ChatGPT-Next-Web)
NextChat is a widely-used open-source ChatGPT web client that supports custom OpenAI-compatible endpoints.
Official repository: https://github.com/ChatGPTNextWeb/NextChat Official docs: https://docs.nextchat.dev/quickstart/selfhost/env
UI configuration
- Click the Settings icon in the lower left
- Find the Custom Endpoint toggle in the settings panel and turn it on
- Fill in the connection details:
| Field | Value |
|---|---|
| OpenAI API Key | Your codex_... or sk-... key |
| API Proxy URL | https://api.gemiaude.com/v1 |
- Save and start a conversation to verify.
Self-hosted deployment
For self-hosted instances, configure via environment variables:
OPENAI_API_KEY=codex_your_api_key
BASE_URL=https://api.gemiaude.com/v1Restart the service after setting the variables.
Custom models
In the settings panel's Model dropdown, you can manually enter gpt-5-codex-mini or any other available model name.
For self-hosted deployments, you can also pre-set the model list via the CUSTOM_MODELS environment variable:
bash
CUSTOM_MODELS=gpt-5-codex-miniNotes
- The API Proxy URL takes the base URL including
/v1:https://api.gemiaude.com/v1 - Available models can be found via
GET /v1/models
