Skip to content
Need an API key for this client? One token for Claude, GPT-6.2, Gemini 4 & DeepSeek V4 — top up via USDT or Alipay

Connect NextChat (ChatGPT-Next-Web) to byesu API ​

Connect NextChat (desktop client, web app, Vercel, or Docker deployment) to byesu to access Claude, GPT, Gemini, DeepSeek, and Grok models with one pay-as-you-go API key.

Quick configuration

  • UI Custom Endpoint (OpenAI): https://byesu.com/v1 (or https://byesu.com if the input placeholder omits /v1)
  • UI Custom Endpoint (Anthropic): https://byesu.com
  • Docker / Vercel BASE_URL: https://byesu.com (backend proxy appends /v1 automatically)
  • API Key: your byesu token (sk-..., created in the default auto group)
  • Custom Models: claude-opus-5-5,claude-sonnet-5-5,gpt-6.2-sol,deepseek-v4-pro

Method 1: NextChat Desktop / Web UI Setup ​

  1. Create an sk-... token in the byesu Console under the default auto group (see Choosing a Group).
  2. Open NextChat → click Settings (bottom-left gear icon) → enable Custom Endpoint.
  3. Choose your preferred protocol:
    • OpenAI (all models): set Endpoint Address to https://byesu.com/v1 and API Key to your sk-... token. (Note: inspect the grey placeholder in your NextChat version — if the placeholder reads https://api.openai.com without /v1, enter https://byesu.com so NextChat does not double /v1/v1.)
    • Anthropic (native Claude + 0.1x Prompt Caching): set Anthropic Endpoint to https://byesu.com and Anthropic API Key to your sk-... token (Prompt Caching).
  4. In Custom Models, enter a comma-separated list of active model IDs:
    text
    claude-opus-5-5,claude-sonnet-5-5,gpt-6.2-sol,deepseek-v4-pro

Method 2: Docker & Vercel Environment Variables ​

When deploying NextChat via Docker or Vercel, set BASE_URL=https://byesu.com without /v1 — NextChat's server-side proxy appends /v1 automatically:

bash
docker run -d --name nextchat -p 3000:3000 \
  -e BASE_URL="https://byesu.com" \
  -e OPENAI_API_KEY="sk-YOUR_BYESU_TOKEN" \
  -e CODE="your-access-password" \
  -e CUSTOM_MODELS="-all,+claude-opus-5-5,+claude-sonnet-5-5,+gpt-6.2-sol,+gemini-4-argon,+deepseek-v4-pro" \
  yidadaa/chatgpt-next-web
  • Using -all,+... in CUSTOM_MODELS hides NextChat's built-in legacy model list and displays only the models you specify.
  • On Vercel, add the exact same BASE_URL, OPENAI_API_KEY, CODE, and CUSTOM_MODELS variables under Project Settings → Environment Variables and redeploy.
  • For glm-5.3 or kimi-k3, create a token in the Glm or Kimi group. Billing is pay-as-you-go per token with live rates displayed in the byesu Console after sign-in.

Troubleshooting & Benchmarks ​

  • 404 Not Found (/v1/v1/chat/completions or missing /v1): in Docker/Vercel env vars always use BASE_URL=https://byesu.com; in the UI Custom Endpoint field, match whether the grey placeholder includes /v1.
  • 401 invalid_api_key: verify OPENAI_API_KEY (sk-...) and enter your CODE access password in NextChat's login screen if self-hosted (OpenAI 401 fix).
  • No available channel / 429: check exact model IDs in CUSTOM_MODELS (no available channel), OpenAI 429, and live production benchmarks.

Got a problem? Contact support or join our group.