FrogDino

NextChat with FrogDino: set the endpoint with BASE_URL

NextChat (formerly ChatGPT-Next-Web) is an open-source AI chat app. When deploying, the official README uses the BASE_URL environment variable for the OpenAI endpoint and OPENAI_API_KEY for the key.

Before you start: sign up and create a key

  1. Open the sign-up page and register with your email.
  2. Sign in and top up under Recharge. You pay for what you use; there is no monthly fee. Payment is by Alipay or WeChat Pay.
  3. Go to API Keys, click Create key and choose the GPT group. The full key is shown once, so save it right away.

After creating a key, click "Use key" in the console. It generates a complete config with your key filled in. This page explains the same settings.

Environment variables

VariableValueNotes
OPENAI_API_KEYGPT-group keyrequired
BASE_URLhttps://frogdino.comdefault is https://api.openai.com, without /v1
CUSTOM_MODELS+gpt-6.1-sol+ adds a model; separate several with commas
CODEan access password of your choiceoptional but strongly recommended

The README warns that without CODE anyone can use your deployment and burn through your key's balance.

Docker example:

docker run -d -p 3000:3000 \
  -e OPENAI_API_KEY=your-key \
  -e BASE_URL=https://frogdino.com \
  -e CUSTOM_MODELS=+gpt-6.1-sol \
  -e CODE=your-access-password \
  yidadaa/chatgpt-next-web

FAQ

Should BASE_URL include /v1?

No. The NextChat default is https://api.openai.com without /v1, so use https://frogdino.com.

My model is not in the list.

Add it with CUSTOM_MODELS, for example +gpt-6.1-sol. To show only specific models use -all,+gpt-6.1-sol.

Can one key be used for both Claude and GPT?

No. FrogDino keys belong to a group: a Claude-group key speaks the Anthropic protocol (base URL https://frogdino.com) and a GPT-group key speaks the OpenAI protocol (base URL https://frogdino.com/v1).

What if I get an invalid key or 401 error?

Check that the key was copied in full, that its group matches the protocol you selected, and that your balance is above zero.

Official documentation

Sign up and create a keyModels & pricing

Got an error? Look it up in the error code reference.