Skip to main content
NextChat is a lightweight open-source ChatGPT web UI with one-click Vercel deployment.

Deployment

One-click Vercel deploy

On the NextChat repo, click Deploy with Vercel, then set these environment variables in Vercel: After deployment, visit the domain Vercel provides.

Docker

Configure in the web UI (no restart needed)

After opening NextChat:
  1. Gear icon at the bottom-left → open settings.
  2. Endpoint / Base URL: https://openp.ai
  3. API Key: sk-XXXXXXXXXXXXXXXX
  4. Custom models: +gpt-5.5,+claude-opus-4-8,+gemini-3.1-pro-preview
  5. Click Check availability → save once it passes.

Vision chat

NextChat has a built-in image upload button. When you choose a vision model like gpt-5.5 / claude-opus-4-8 / gemini-3.1-pro-preview, you can drag an image directly into the input box, and OpenPAI passes it through as that model’s vision input.

Notes

  • BASE_URL should not include /v1 — NextChat completes the path automatically.
  • In CUSTOM_MODELS, the + prefix adds a model and - hides one.
  • For a shared multi-user deployment, set an access CODE / password to prevent key leakage.