Connect Claude, Cursor, Codex or OpenRouter
Open the agent → AI Model (under General). The screen lists the models available to the agent — leave Default (recommended) or pin one — and below it, under Bring your own subscription or key, you can connect one of these at a time:

| Option | You need | Runs as |
|---|---|---|
| Claude | A Claude Pro or Max subscription | Claude Code in the agent’s container |
| Cursor | A Cursor account | Cursor CLI in the agent’s container |
| Codex | A ChatGPT account | OpenAI Codex in the agent’s container |
| OpenRouter | An OpenRouter account with credits | TeleClaw’s own agent, with its AI calls paid from your OpenRouter key |
While Claude, Cursor or Codex is connected, the model runs on your plan, so TeleClaw credits are not spent on it. Everything else stays on credits: the container the harness runs in costs a small compute fee per turn, and image and video generation, voice, web search and the other paid tools are paid in credits too. So your agent needs a credit balance to run. Connecting a harness requires TeleClaw Pro.
With OpenRouter connected, the agent’s AI tokens are billed to your OpenRouter account instead of TeleClaw credits. Everything else stays on credits, exactly as with the subscriptions: the container, image and video generation, voice, web search and the other paid tools. So the agent still needs a credit balance to run.
Connect Claude
Section titled “Connect Claude”- Tap Authorize with Claude Code — claude.ai opens.
- Approve the request. Anthropic shows an authorization code.
- Copy the code back into the Authorization code field and confirm.
Connect Cursor
Section titled “Connect Cursor”Tap Authorize with Cursor, finish signing in on the page that opens. The screen updates by itself once Cursor confirms — you don’t need to paste anything.
Connect Codex
Section titled “Connect Codex”- Tap Authorize with ChatGPT. TeleClaw shows a device code.
- Copy it, sign in to ChatGPT and enter the code.
- The screen updates automatically once ChatGPT confirms.
Connect OpenRouter
Section titled “Connect OpenRouter”There are two ways in:
- Connect OpenRouter: openrouter.ai opens and asks you to approve TeleClaw, which creates a key for it on your OpenRouter account. Come back to Telegram afterwards: the screen updates by itself once the key arrives. The approval has to finish within 10 minutes; after that, tap the button again.
- Paste a key you already have (it starts with
sk-or-v1-) into OpenRouter API key and tap Save key. TeleClaw checks it with OpenRouter before saving it. You can create one at openrouter.ai/keys.
Connecting switches the agent to OpenRouter straight away. The key is stored encrypted and never enters the agent’s container, so nothing the agent runs there can read it.
If OpenRouter refuses a request because your account is out of credits, the key has reached its spending limit or the key was revoked, the agent says so in the chat. The message is never retried on your TeleClaw credits behind your back: add credits on OpenRouter or reconnect the key, or disconnect OpenRouter to go back to TeleClaw credits.
Model choice, switching and disconnecting
Section titled “Model choice, switching and disconnecting”Under Model you can leave Default (recommended) or pin a specific model. For Claude, Cursor and Codex the list is the models your own account offers; for OpenRouter it is TeleClaw’s model list, and whichever you pick runs on your key.
Only one can be active at a time: connecting one makes it the active one. Disconnecting the active one puts the agent back on TeleClaw’s models and credits, even when another one is still connected. An OpenRouter key that is saved but not in use says so on its screen: tap Use OpenRouter to switch back to it. If an authorization times out, start over — the codes are short-lived.