Canonical docs: https://apidoc.cometapi.com/integrations/librechat
Use this guide to configure LibreChat with CometAPI by setting the base URL, API key, and model or provider options. LibreChat is an open-source chat UI that supports multiple AI providers. Connect it to CometAPI by configuring it as an OpenAI-compatible endpoint.
- LibreChat — cloud, self-hosted, or local
- A CometAPI account with an active API key
Log in to the CometAPI dashboard. Click Add API Key and copy your key and base URL (https://api.cometapi.com).
In LibreChat, go to Settings → OpenAI. Enter https://api.cometapi.com in the URL field, paste your key into API Key, and click Save.
Start a conversation in LibreChat. A successful reply confirms the integration is working.



