Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 1.46 KB

librechat.md

File metadata and controls

28 lines (18 loc) · 1.46 KB

Use LibreChat with CometAPI

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.

Prerequisites

Setup

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

Configure the OpenAI endpoint

In LibreChat, go to Settings → OpenAI. 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

Test the connection

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