install ยท Claude Code

Wire Claude Code into AdToken

Anthropic's official agentic CLI for Claude.

1
Install AdToken
Mints your wallet user-id, saves your provider key in the OS credential store, and writes only non-secret ADTOKEN_USER_ID + ADTOKEN_PROXY=https://limitlesstokens.com/v1 config to your shell rc.
curl -fsSL https://limitlesstokens.com/install.sh | sh
adtoken init
2
Watch one ad to bank credits
Opens limitlesstokens.com/earn in a new tab. ~1โ€“3 Tokens per 10s ad. To bank more, just watch another ad on the same page โ€” no extra command needed.
adtoken earn
3
Use Claude Code via AdToken
Wraps claude with the saved local provider key + ANTHROPIC_BASE_URL=$ADTOKEN_PROXY set in the subshell only. Your shell's real Pro/Max OAuth is untouched. Use plain claude "..." on Pro; switch to adtoken claude "..." when you want wallet credits to pay.
adtoken claude "explain this regex: /^[a-z]+$/i"
4
Resume across auth modes
AdToken stores its session jsonls in the same ~/.claude/projects/<cwd>/ as real Claude Code. adtoken resume picks up wherever claude left off โ€” even when you started on Pro and switched.
adtoken resume
Need the upstream documentation for Claude Code? https://docs.claude.com/en/docs/claude-code/overview โ†—

โ† back to all tools