Skip to main content

Overview

NextChat (formerly ChatGPT Next Web) is a popular open-source ChatGPT web client.

Online Configuration

1

Open Settings

Click the Settings icon in the bottom left
2

Configure API

  • API URL: https://crazyrouter.com
  • API Key: sk-xxx
3

Select Model

Select or enter a model name in the Model field

Docker Self-Hosting

services:
  nextchat:
    image: yidadaa/chatgpt-next-web
    ports:
      - "3000:3000"
    environment:
      - OPENAI_API_KEY=sk-xxx
      - BASE_URL=https://crazyrouter.com
      - CUSTOM_MODELS=+gpt-4o,+claude-sonnet-4-20250514,+gemini-2.5-pro

Environment Variables

VariableDescription
OPENAI_API_KEYAPI key
BASE_URLAPI URL (without /v1)
CUSTOM_MODELSCustom model list, + means add
HIDE_USER_API_KEYSet to 1 to hide user custom Key entry
NextChat’s API URL does not need the /v1 suffix — the application appends it automatically.