← All applications · Connect apps section on /docs
OpenAIManual setup
NextChat
ChatGPT-Next-Web / NextChat self-host.
Base URL to paste
Paste exactly one of two formats — wrong URL yields 404 (not 401).
https://vietrouter.com.vn/v1Prerequisites
- NextChat deploy
- API key
Recommended model: claude-fable-5
Quick way — command / config
OPENAI_API_KEY=sk-mtm-...
BASE_URL=https://vietrouter.com.vn
CUSTOM_MODELS=+claude-fable-5,+gpt-5.6-sol
DEFAULT_MODEL=claude-fable-5Where to place file / fill Settings
Environment variableany
.env.local hoặc biến host
Một số fork dùng OPENAI_URL thay BASE_URL — xem README fork của bạn.
Verify connection
- Chat thử
- Dashboard Sử dụng
Troubleshooting
| Symptom | Reason | How to handle |
|---|---|---|
| 404 trên /v1/chat/completions | BASE_URL đã kèm /v1 trong khi app tự nối thêm /v1. | Thử https://vietrouter.com.vn (không /v1) hoặc https://vietrouter.com.vn/v1 tùy fork. |