Prerequisites
- AnythingLLM installed on your machine
- A CometAPI account with an active API key
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).

Configure the LLM provider
Open AnythingLLM Settings → AI Providers → LLM Preferences. Select Generic OpenAI as the model provider and enter
https://api.cometapi.com/v1 in the URL field.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.





