CLI
5/20/26Less than 1 minute
PulseNeko Bridge speaks every mainstream AI CLI's protocol. The setup is always "swap base URL, paste key".
Index
| Tool | Config | Main path |
|---|---|---|
| Claude Code | env vars / ~/.claude/settings.json | /v1/messages |
| Codex CLI | ~/.codex/config.toml + auth.json | /v1/responses |
| Gemini CLI | env vars / ~/.gemini/settings.json | /gemini native |
| Cline / Roo Code | VS Code extension settings | /v1/chat/completions or Anthropic |
| Cursor | Cursor Settings → Models | /v1/chat/completions |
Universal rules
- Base URL is
https://bridge.pulseneko.com(each protocol adds its own path) - Key is your
sk-…token from API Keys - Model name is the exact string from Model Catalog
- One key can serve multiple CLIs, but a key per tool is cleaner for usage tracking
One-click imports
The API Keys page lists a row of one-click import buttons:
- CC Switch — Claude Code multi-account switcher
- Cherry Studio / DeepChat / AionUI / AMA — desktop clients
- Lobe Chat / AI as Workspace — web clients
- OpenCat — iOS / macOS
They expand into custom URL schemes (xxx://) that the target client picks up.
Common confusions
claude not installed?
Install the original CLI from upstream first. We don't redistribute:
- Claude Code: https://docs.claude.com/en/docs/claude-code/quickstart
- Codex CLI:
npm i -g @openai/codex - Gemini CLI: https://github.com/google-gemini/gemini-cli
Env var didn't take effect?
- macOS / Linux: open a new shell or
source ~/.zshrc - Windows: after editing System env vars, completely quit the terminal / IDE (especially VS Code) and relaunch
Verify base URL is in effect?
Send a cheap request, then check Usage Logs for it. If you don't see it, the request never reached the bridge.