Bring your own subscription
Run cloud agents on the Claude or ChatGPT plan you already pay for
5 min read · Updated August 2026
If you subscribe to Claude Pro or Max, or to ChatGPT, you already pay for model capacity — running a cloud agent shouldn't mean paying for it twice. Connect that subscription to AgentSky once and every eligible agent runs on it: $0 model usage from your credit balance, with the plan you already have picking up the turns.
1.Connect your subscription once
Claude (powers Claude Code agents on Claude models): run claude setup-tokenin your terminal — it's Anthropic's official headless sign-in, minting a long-lived token that bills to your subscription. Paste the sk-ant-oat… output into Settings → Model subscriptions. Or let the CLI do both steps: sky auth connect claude.
ChatGPT (powers Codex agents on GPT models): from the machine where you use Codex, run sky auth connect chatgpt. It reads your local codex login sign-in, shows you exactly what it found, and uploads it only after you confirm. The credential is stored encrypted and is write-only — it can be replaced or removed, never viewed.
2.Launch agents — the subscription applies itself
That's the whole setup. From now on, any new eligible agent — Claude Code on a Claude model, Codex on a GPT model — provisions on your subscription automatically. The compose screen shows it before you launch: the monthly estimate flips to “Runs on your Claude subscription — $0 model usage.”Each agent's Overview lists its billing source under Specification, so you always know who pays. Existing agents are never switched behind your back; they stay on Platform billing until you flip them yourself.
3.Check what you're (not) paying
Every turn still shows up in Settings → Billing with its token counts — the record stays complete — but subscription-powered turns debit $0.00. What remains on the platform side is runtime: the agent's machine time while it's actively working, and parked agents stay free. One honest caveat: models and rate limits follow your plan. If your tier doesn't include a model or you hit your plan's usage window, the turn fails with the vendor's message — your wallet is never silently charged as a fallback.
4.Switch any agent back and forth
Each eligible agent has a Model billingsection in its Configure tab: Platform or your subscription, switchable both ways. Switching restarts the agent's engine in a few seconds — history, memory, and files are all kept. If you ever disconnect the subscription, agents running on it pause with a clear warning and two exits: reconnect, or switch them to Platform (one click for all of them). Nothing falls back to your wallet without you choosing it.
The short version
One connect — paste a claude setup-token or run sky auth connect chatgpt — and every eligible agent you launch runs on the plan you already pay for. $0 model metering, full activity records, switchable per agent any time.