FrogDino

LobeChat with FrogDino: set OpenAI and Anthropic base URLs with environment variables

LobeChat is an open-source AI chat app. For self-hosting, the official docs configure model providers through environment variables: OPENAI_PROXY_URL and ANTHROPIC_PROXY_URL override the request base URLs.

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 or Claude (whichever models you want) 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 keykey for the OpenAI provider
OPENAI_PROXY_URLhttps://frogdino.com/v1overrides the default https://api.openai.com/v1
ANTHROPIC_API_KEYClaude-group keykey for the Anthropic provider
ANTHROPIC_PROXY_URLhttps://frogdino.comoverrides the default https://api.anthropic.com

Set only the pair you need. Add them wherever your deployment keeps environment variables (Docker -e flags or an .env file, Vercel Environment Variables and so on), then restart.

To adjust the model list use the official OPENAI_MODEL_LIST variable, with names from the models & pricing page.

FAQ

Why does one URL have /v1 and the other not?

They mirror the official defaults: https://api.openai.com/v1 for OpenAI and https://api.anthropic.com for Anthropic.

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.