Claude Code · Synap402
Use Synap402 models in Claude Code
One command. It opens a Synap402 sign-in in your browser; press Connect and Claude Code runs on Synap402 models. There is no key to copy.
npx synap402
Needs Node.js 18 or newer (Claude Code installed with npm already has it).
What happens
- Your browser opens synap402.com. Sign in with Google or email, the same login as the website.
- Press Connect Claude Code. A new API key is created on your account and sent straight back to your terminal. It is never shown on screen.
- Start Claude Code with
claude. It now usesqwen3-coder-30b.
Inside Claude Code
The command also adds /synap402 to Claude Code:
/synap402signs in again, for example after you revoked the key./synap402 --model <id>switches to another model from the catalogue./synap402 disconnectputs Claude Code back the way it was.
What it changes on your computer
~/.claude/settings.json: setsANTHROPIC_BASE_URLtohttps://synap402.comand the model. A backup of your previous file is saved next to it first.~/.claude/synap-api-key: your key, readable only by your user.~/.claude/commands/synap402.md: the/synap402command.
The key works only for your account and spends only your balance. You can revoke it any time in your account.
Free tier
A new account can use qwen3-coder-30b free: 100,000 tokens and 50 requests a day for the first 7 days, then 50,000 tokens and 10 requests a day. Claude Code makes several requests per task, so the free tier is for trying it. For daily work, add credit on the pricing page.
Live terms: /api/account/free-tier. Models and prices: /v1/models.
Remote server or no browser?
The sign-in window has to open on the same computer as Claude Code. On a remote server, run npx synap402 --paste and paste a key from your account at the hidden prompt.