Documentation
Configuration snippets, environment variables and troubleshooting for each CLI.
Quick start
Install the app, sign in, enable the tools you use. There is nothing else to configure.
- 1
Sign in
Click the user button in the top-left corner of the app and sign in with the email you registered on the website. New users get 30 days free automatically.
- 2
Turn routing on
Flip the master switch. Every CLI you enable below is pointed at the local router in one click.
- 3
Enable the tools you use
Turn on Claude Code, Codex, Gemini CLI, Grok Build or OpenClaw - only the ones you actually use. Each one keeps its own switch.
- 4
Work as usual
Start your CLI exactly like you always do. The model, the key and the bill are handled behind the scenes.
Configuration reference
If you prefer to set things manually, these are the values Destin Router writes for you.
Each tool gets its own switch in the app. These are the settings Destin Router writes for you.
Claude Code
anthropicenv.claude.note
ANTHROPIC_BASE_URL=http://127.0.0.1:8787 ANTHROPIC_AUTH_TOKEN=<your key>
Codex
openaienv.codex.note
OPENAI_BASE_URL=http://127.0.0.1:8787/v1 OPENAI_API_KEY=<your key>
Gemini CLI
geminienv.gemini.note
GOOGLE_GEMINI_BASE_URL=http://127.0.0.1:8787 GEMINI_API_KEY=<your key>
Grok Build
openaienv.grokbuild.note
OPENAI_BASE_URL=http://127.0.0.1:8787/v1 OPENAI_API_KEY=<your key>
OpenClaw
openaienv.openclaw.note
OPENAI_BASE_URL=http://127.0.0.1:8787/v1 OPENAI_API_KEY=<your key>
The relay
All traffic goes through the Destin Router relay in Singapore. It speaks both the OpenAI and Anthropic protocols, so every CLI can use the same endpoint, the same model and the same bill.
The model
There is one managed model behind the relay. You do not pick a model - you pick a plan, and the plan decides how many tokens you get per day.
Troubleshooting
Most issues are a wrong base URL or a key that has not been provisioned yet.
The app says my key is not ready+
Your key is issued a moment after registration. Wait a few seconds and press refresh in the app. If it stays on provisioning for more than a minute, sign out and back in.
My CLI still talks to the original provider+
Make sure the switch for that CLI is on, and that the master routing switch is on too. Turning routing off restores every configuration file to its original content.
I get a quota exhausted error+
Your daily allowance is used up. It resets at 00:00 UTC. You can also see the remaining amount on the account page.
Port 8787 is already in use+
Another program is holding the local port. Close it and restart the app, or change the port in the app settings.
How do I get back to my original setup?+
Turn the master routing switch off. Destin Router writes the backup it made back to your configuration files immediately.
Still stuck? Email us and a human will reply within one business day. support@destinchou.cyou