- LobeChat
- NextChat
Configure in the UI
- Open Settings → AI Service Provider → OpenAI (called “Language Model” in older versions).
- Set API Key to your DreamTo API key (
sk-xxxx). - Set API Proxy Address to
https://api.dreamto.ai/v1. - In the model list, click Fetch models or add a model ID manually (e.g.
deepseek-v4.1-flash-1017), then click Check to test connectivity.
Environment variables for self-hosting
OPENAI_PROXY_URL must include /v1.FAQ
401
401
Make sure the key is correct. When self-hosting, check that the container’s environment variables have taken effect (restart after changing them).
404 / duplicated path
404 / duplicated path
LobeChat’s proxy address includes
/v1; NextChat’s endpoint does not. Don’t mix them up.
