Self-hosted gateway that unifies Claude, OpenAI, Gemini & Ollama behind a single OpenAI-compatible API. Use your own subscriptions. Zero external dependencies.
$ curl -fsSL https://raw.githubusercontent.com/ openhinge/openhinge/main/install.sh | bash $ cd ~/openhinge && npm start Admin token: a1b2c3d4e5f6... Dashboard: http://localhost:3700
Use OAuth with your existing subscriptions or bring your own API keys.
Not just a proxy. A complete gateway with auth, routing, logging, and a dashboard.
Install, start, and you're live. No configuration files to write.
curl -fsSL https://openhinge.com/install.sh | bash
cd ~/openhinge && npm start
curl http://localhost:3700/v1/chat/completions \
-H "Authorization: Bearer ohk_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-sonnet-4-6","messages":[{"role":"user","content":"Hello"}]}'On first start, OpenHinge auto-generates your config and prints your admin token.
Open http://localhost:3700 and paste it to access the dashboard.
Every request passes through auth, rate limiting, soul routing, and provider selection.
Client Request
│
├── Auth (validate ohk_ key)
├── Rate limiter (sliding window, per key)
├── Budget check (daily/monthly limits)
│
├── Soul resolver (system prompt + model)
├── Provider selector (priority + health + fallback)
│
├── Provider adapter
│ ├── Claude (OAuth or API key)
│ ├── OpenAI (OAuth or API key)
│ ├── Gemini (OAuth or API key)
│ └── Ollama (local)
│
├── Stream / collect response
└── Log usage (tokens, latency, cost)One gateway. One API. Every provider. Self-hosted on your machine in under a minute.
npm install openhinge