Skip to main content
LibreChat is an open-source chat UI that supports multiple AI providers. Connect it to CometAPI by configuring it as an OpenAI-compatible endpoint.

Prerequisites

Setup

1

Get your CometAPI API key

Log in to the CometAPI dashboard. Click Add API Key and copy your key and base URL (https://api.cometapi.com).
CometAPI dashboard — Add API Key
CometAPI API key and base URL
2

Configure the OpenAI endpoint

In LibreChat, go to SettingsOpenAI. Enter https://api.cometapi.com in the URL field, paste your key into API Key, and click Save.
LibreChat settings — OpenAI URL and key fields
LibreChat chat interface after CometAPI has been configured
3

Test the connection

Start a conversation in LibreChat. A successful reply confirms the integration is working.