October 12, 2026
Relay Sign-Up Done: Create a Token and Copy the Base URL
You signed up on a relay. Now you need two things for Claude Code: a token and the base URL.

By jliushi
1. Open the Tokens page
In the relay's dashboard, find Tokens. On Chinese-language relays it's called 令牌.
2. Create a key
Click to add a new token. Give it any name. Save it, then copy the key. Keep it somewhere private.
3. Copy the base URL
This is the relay's own address, for example https://api.justwoker.icu or https://agentrouter.org. Check the site's notice or docs page if it lists a different one. For Claude Code, don't add /v1 at the end.
4. Put both into Claude Code
export ANTHROPIC_BASE_URL="https://your-relay-address"
export ANTHROPIC_AUTH_TOKEN="your-relay-token"export ANTHROPIC_BASE_URL="https://your-relay-address"
export ANTHROPIC_AUTH_TOKEN="your-relay-token"Open a new terminal, start Claude Code, and say "hello".
Balance shows $0?
That's common right after sign-up. Log out of the relay and log back in. Some sites also want you to claim the credit or check in first.
Relays with free sign-up credit and their addresses: jliushi.github.io/ai-relay