Skip to main content
gptme is a terminal-based AI assistant. Configure it to use CometAPI by editing the config.toml file.

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

Edit config.toml

Open ~/.config/gptme/config.toml (create it if it doesn’t exist). Set url to https://api.cometapi.com/v1 and paste your CometAPI key as the API key.
gptme config.toml — URL and API key fields
3

Test the connection

Run gptme in your terminal and send a test prompt. A successful response confirms the integration is working.