更新日: 2026-06-23NextChat (formerly ChatGPT Next Web) is a good fit when you want a lightweight, fast, easy-to-deploy chat frontend. When connecting it to Crazyrouter, the recommended approach is to stay on NextChat’s default OpenAI-compatible route and point the service URL at the Crazyrouter root domain.
Overview
Using NextChat’s OpenAI settings, you can route requests through Crazyrouter:- Recommended protocol:
OpenAI-compatible API - Recommended route: the default NextChat OpenAI flow
- Base URL:
https://api.crazyrouter.com - Auth method:
sk-...token - Recommended first validation model:
gpt-5.5
NextChat’s official README documents
BASE_URL as the OpenAI API request base URL and uses root-domain style examples. The local http://127.0.0.1:4000/api/status response also exposes a root-style server_address. So for Crazyrouter, the safest first-pass setup is https://api.crazyrouter.com; only switch to a more specific path if your customized build explicitly requires it.Best For
- users who want a lightweight chat frontend quickly
- personal or small-team web chat with Crazyrouter
- admins who want to ship default model and upstream settings through env vars
- users who want the simplest possible OpenAI-compatible first setup
Protocol Used
Recommended protocol:OpenAI-compatible API
When connecting Crazyrouter in NextChat, start with:
https://api.crazyrouter.com/v1/chat/completionshttps://api.crazyrouter.com/v1/models
Prerequisites
Recommended starting whitelist:
gpt-5.5claude-opus-4-8gemini-3.1-pro
5-Minute Quick Start
1
Create a dedicated NextChat token
In the Crazyrouter dashboard, create a token named
nextchat. For the first rollout, allow only baseline models such as gpt-5.5 and claude-opus-4-8.2
Open NextChat settings
In NextChat, open the
Settings panel from the bottom-left icon or settings entry.3
Enter the endpoint and key
In the OpenAI-related settings, enter:
API Key: yoursk-...Base URL:https://api.crazyrouter.com
4
Set the first model
In the
Model field, manually enter or select gpt-5.5. If your version supports a custom model list, add more models later.5
Run the first validation prompt
Start a new chat and send
Reply only OK. Once it works, add more models gradually.Self-Hosted Quick Config
A common Docker setup looks like this:Recommended Model Setup
Recommended order: validate
gpt-5.5 first, then expand the list with CUSTOM_MODELS.
Token Setup Best Practices
Verification Checklist
-
API Keyis saved correctly -
Base URLis set tohttps://api.crazyrouter.com - the first model is set to
gpt-5.5 - the first chat request succeeds
-
CUSTOM_MODELSworks if you use self-hosted deployment - streaming output works normally
- the request appears in the Crazyrouter logs
- token quota and model whitelist match your rollout plan
Common Errors and Fixes
Performance and Cost Tips
- Default to exposing only
gpt-5.5in the first rollout - Keep premium models out of the default list until you actually need them
- On public or semi-public deployments, hide user-supplied key entry whenever possible
- Separate demo traffic from production traffic with different tokens
- If usage looks abnormal, check Crazyrouter logs first for long sessions or many users sharing one key
FAQ
Which URL should I use in NextChat?
Start withhttps://api.crazyrouter.com.
Why does this guide not recommend /v1 first?
Because the official NextChat docs show BASE_URL in a root-domain style, and the local 4000 environment also exposes a root-style server_address. That makes the root domain the safest first-pass setup.
Which model should I test first?
Start withgpt-5.5.
Do I have to configure CUSTOM_MODELS?
No. You can manually enter gpt-5.5 first, validate the connection, and add a model list later.
Why do some self-hosted deployments only let me change env vars, not UI settings?
Because different NextChat deployment modes expose configuration differently. Some self-hosted setups pin upstream routing, keys, and models in environment variables, and the frontend only consumes those values.Should I hide user-provided keys in self-hosted deployments?
Yes, if you want centralized upstream routing and predictable cost control.If you want the lightest possible chat frontend with minimal deployment friction, NextChat is a strong fit. If you need richer collaboration or more advanced app-building features, LobeChat or Dify is usually the better next step.