Connect OpenRouter or OpenAI
Connect a session-only key and understand what an OpenAI-compatible provider receives.
Open Settings → AI. Choose a provider, enter the model and API key, then select Connect and test.
OpenRouter default
- Base URL:
https://openrouter.ai/api/v1 - Model:
z-ai/glm-4.7
Use an OpenRouter API key for that account. The key is held only for the current Chrome session and must be entered again after Chrome restarts.
OpenAI
Choose OpenAI to use https://api.openai.com/v1, then enter an available OpenAI model ID and your own OpenAI API key.
Custom compatible providers
A custom provider must use HTTPS and implement the OpenAI Chat Completions message, function tool-call, and tool-result shape. Cool Kid Tabs requests optional host access for the exact configured origin when Connect is pressed. A different origin requires a new grant.
The service worker sends the authorization header only to that origin, rejects cross-origin redirects, limits request and response size, times out requests, and limits the number of tool steps. Select Clear key to remove the session credential and revoke the optional provider host.
What the provider receives
The provider receives chat messages and model replies. When Chat calls read_current_json, the provider also receives the complete active folder and tab JSON, including URLs, titles, notes, folder names, and whether each tab is saved or a Chrome bookmark.
The key is not placed in local storage, IndexedDB, cloud sync, exports, recovery sessions, transcripts, or logs. Session-only storage reduces accidental persistence, but it cannot protect a key from someone who controls the local Chrome profile or computer.
If Connect fails, check the base URL, model ID, key, provider balance, and exact host permission. If replies cannot call tools in the expected shape, that provider is not compatible with this version of Chat.