Docs · Integrations
LobeChat with TopxAI: the OpenAI proxy address
Set OpenAI’s API proxy address to https://ai.topxea.com/v1 in LobeChat, or OPENAI_PROXY_URL for a deployment, and fetch the model list.
LobeChat's OpenAI provider accepts a proxy address, which is all TopxAI needs. The Anthropic provider takes one too, for Claude on the Messages API.
In the app
- Settings → AI Service Provider → OpenAI.
- API Key: a TopxAI key. API Proxy Address:
https://ai.topxea.com/v1. - Click Get model list; the models your key can call appear. Enable the ones you want.
- Check sends one request and shows the reply.
For Claude on the Anthropic provider: API key the same, proxy address https://ai.topxea.com (no /v1), models claude-sonnet-5-5 and claude-opus-5-5.
Self-hosted, with variables
OPENAI_API_KEY=sk-...
OPENAI_PROXY_URL=https://ai.topxea.com/v1
OPENAI_MODEL_LIST=-all,+claude-sonnet-5-5,+gpt-6.1-sol,+grok-4.7,+kimi-k3.1-pro
ANTHROPIC_API_KEY=sk-...
ANTHROPIC_PROXY_URL=https://ai.topxea.com
OPENAI_MODEL_LIST starts with -all to drop LobeChat's built-in OpenAI names, then adds the catalogue ids; without it the picker shows models TopxAI does not sell and every one of them returns 403.
Images
LobeChat's image generation with the OpenAI provider works with gpt-image-2.5-sunburst and gpt-image-2.5-flare through the same proxy address.
If it fails
- 401: the key is wrong or was pasted with a space. 402: the balance is empty. 403: the model id is not sold here or is not on this key's route. See Common error responses.
- The model works in curl but not in the tool: that page lists the usual causes, one per tool.
Models: claude-sonnet-5-5, claude-opus-5-5 · Models & pricing
Related
- Connect your SDK
- Create an API key and choose a route
- The model works in curl but not in my tool
- Common error responses
- Open WebUI with TopxAI: one OpenAI connection, every model
- ChatBox with TopxAI: a custom provider
- Claude Sonnet 5.5 API pricing
- Claude Opus 5.5 API pricing
Previous: Open WebUI with TopxAI: one OpenAI connection, every model · Next: Cherry Studio with TopxAI: first chat and endpoint setup
Other languages: 简体中文