Skip to main content
AnythingLLM is an all-in-one AI desktop app. By selecting Generic OpenAI as the provider, you can connect it to CometAPI and access 500+ models.

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 LLM provider

Open AnythingLLM SettingsAI ProvidersLLM Preferences. Select Generic OpenAI as the model provider and enter https://api.cometapi.com/v1 in the URL field.
3

Add your API key and model

Paste your CometAPI key into the API Key field. Set Token Context Window and Max Tokens to match your chosen model, then enter the current model ID you want to use.
AnythingLLM LLM Preferences with Generic OpenAI selected
Base URL and API key fields filled in
Model name and token settings configured
4

Test the connection

Open a workspace and send a test message. A successful reply confirms the integration is working.
AnythingLLM chat showing a successful response
You can add multiple model names on the same configuration page. Check the CometAPI model list for supported identifiers.