LobeChat & NextChat Custom LLM API Configuration Guide

Connect LobeChat (OpenAI + Anthropic provider cards) and NextChat (-all,+model@OpenAI allowlists) to DeepClub on one ZDR balance—avoiding stale built-in aliases and Claude 5.x assistant temperature 400 errors.

1. LobeChat Setup (Web, Desktop & Docker)

LobeChat separates provider cards by vendor, letting you run Chat-native models and native Anthropic /v1/messages side by side:

  1. Create a scoped DeepClub sub-key (sk-...) in the console.
  2. Open Settings → AI Service Providers:
    • OpenAI Card: Enter your DeepClub key, set API Proxy URL to https://deepclub.net/v1, and add exact catalog IDs (deepseek-v4.1-flash, gemini-4-neon, gemini-4-hydrogen, glm-5.3, kimi-k3, gpt-6.2-sol).
    • Anthropic Card (native Claude /v1/messages): Enter your DeepClub key and set proxy URL to https://deepclub.net. Send a quick test message; if your specific LobeChat build appends /messages without /v1 and returns 404, switch the Anthropic proxy URL to https://deepclub.net/v1.
  3. Self-hosted Docker environment variables:
OPENAI_API_KEY=sk-your-deepclub-key
OPENAI_PROXY_URL=https://deepclub.net/v1
# Clear outdated defaults with -all and expose only verified catalog IDs
OPENAI_MODEL_LIST=-all,+deepseek-v4.1-flash,+gemini-4-neon,+gemini-4-hydrogen,+glm-5.3,+kimi-k3,+gpt-6.2-sol,+claude-sonnet-5-5

2. NextChat (ChatGPT-Next-Web) Setup & +model@OpenAI Syntax

  1. Open NextChat Settings, enable Custom Endpoint, and pick provider OpenAI.
  2. Set Endpoint to https://deepclub.net (NextChat automatically appends /v1/chat/completions—verify in DeepClub Usage Logs that no double /v1/v1 appears).
  3. In Custom Models, clear legacy defaults with -all and bind exact catalog IDs explicitly:
-all,+deepseek-v4.1-flash@OpenAI,+gemini-4-hydrogen@OpenAI,+gemini-4-neon@OpenAI,+glm-5.3@OpenAI,+kimi-k3@OpenAI,+gpt-6.2-sol@OpenAI,+claude-sonnet-5-5@OpenAI

3. Three Common Pitfalls to Avoid

  1. Skip "Auto-Fetch Models" on restricted sub-keys: Using -all,+exact-id avoids 404s from stale client aliases and works cleanly with model-scoped sub-keys.
  2. Disable temperature / top_p in LobeChat agent presets for Claude 5.x: Many built-in LobeChat personas preset temperature: 0.6, which triggers HTTP 400 on native claude-opus-5-5, claude-sonnet-5-5, and claude-fable-5-2. Uncheck temperature and Top P overrides in model parameters.
  3. Need dedicated native OpenAI Responses (/v1/responses)? Use Cherry Studio or Chatbox to separate Responses, Messages, and Chat providers cleanly.

See also: Open WebUI Setup · API Error Troubleshooting · Live Pricing.

Frequently Asked Questions

Why does NextChat use https://deepclub.net while LobeChat uses https://deepclub.net/v1?
NextChat automatically appends /v1/chat/completions to its OpenAI endpoint field, whereas LobeChat expects the /v1 base path. Always confirm the first test call in DeepClub Usage Logs.
Why does Claude Sonnet 5.5 return 400 in LobeChat Anthropic mode?
LobeChat assistant presets often inject a non-default temperature or top_p value. Disable temperature and top_p overrides in the model settings panel when calling Claude 5.5 or Fable 5.2 over native /v1/messages.
How do I hide outdated built-in models in LobeChat and NextChat?
Prefix your custom model list with -all, then append +model_id (LobeChat) or +model_id@OpenAI (NextChat) using exact IDs from /en/pricing.

Updated