LobeChat / NextChat

Prerequisites

LobeChat Configuration

  1. Open LobeChat settings
  2. Go to Language Model > OpenAI
  3. Enter the following:
    • API Key: ck-your-key-here
    • API Proxy URL: https://api.chuizi.ai/v1
  4. Enable Fetch Model List to automatically load available models
  5. Save settings and select a model in the chat interface

NextChat Configuration

  1. Open NextChat settings
  2. Find the Custom Endpoint section
  3. Enter the following:
    • Base URL: https://api.chuizi.ai/v1
    • API Key: ck-your-key-here
  4. Enter your desired model in the model list, e.g., anthropic/claude-sonnet-4-6
  5. Save settings

Docker Deployment Configuration

If you self-host via Docker, configure through environment variables:

LobeChat:

terminal
bash
docker run -d \
  -e OPENAI_API_KEY=ck-your-key-here \
  -e OPENAI_PROXY_URL=https://api.chuizi.ai/v1 \
  -p 3210:3210 \
  lobehub/lobe-chat

NextChat:

terminal
bash
docker run -d \
  -e OPENAI_API_KEY=ck-your-key-here \
  -e BASE_URL=https://api.chuizi.ai/v1 \
  -p 3000:3000 \
  yidadaa/chatgpt-next-web

Verify the Configuration

  1. Return to the chat interface
  2. Select a model (e.g., anthropic/claude-sonnet-4-6)
  3. Send a test message
  4. If you receive a normal reply, the configuration is working

Common Issues

Empty Model List

Manually enter model names using the provider/model format. You can view all available models on the Chuizi.AI models page.

Streaming Output Stuttering

Ensure your network connection is stable. Some larger models may have higher time-to-first-token latency, which is normal.

API URL Not Working in Self-Hosted Deployment

Verify the environment variable names are correct: LobeChat uses OPENAI_PROXY_URL, while NextChat uses BASE_URL. Restart the container after changing environment variables.

Next Steps

LobeChat / NextChat — Chuizi AI Docs | Chuizi AI