Quickstart
PrimeRouter exposes a single endpoint that speaks both OpenAI and Anthropic protocols. Pick the coding tool you already use, run the one-line installer on its page, and PrimeRouter handles the rest.
Common configuration (three knobs)
| Setting | Value |
|---|---|
| Base URL (OpenAI protocol) | https://primerouter.ai/v1 |
| Base URL (Anthropic protocol) | https://primerouter.ai |
| API Key | Create one at Console → Tokens |
Every tool page below boils down to these three values. The one-line script just writes them into the tool's config file — no hidden magic.
Tool catalog
| Tool | When you'd use it | One-line script |
|---|---|---|
| Node.js | Runtime for most CLI tools below | Yes |
| Codex CLI | OpenAI's agentic CLI | Yes |
| Claude Code | Anthropic's official CLI | Yes |
| OpenClaw | Local-first personal AI agent / gateway | Yes |
| Gemini CLI | Google's official CLI | Yes |
| Cursor | AI-native code editor | Yes |
| OpenCode | Open-source AI coding agent | Yes |
| Hermes | Multi-model agent runtime | Yes |
| Image Generation Skill | Add image generation and editing to Codex, Claude Code, and OpenCode | Website download |
| Raw API access | curl / Python / Node calls | — |
Self-hosted PrimeRouter?
The scripts on this page hard-code https://primerouter.ai. If you run a private instance, download the script and replace that one URL with your own domain.
What about other tools?
Step-by-step manual setup for additional tools (Cline / Crush / Vibecode / etc.) lives in Coding Tools →.
