Self-hosted gateway that unifies Claude, OpenAI, Gemini & Ollama behind OpenAI and Anthropic compatible APIs. Use your own subscriptions. Works with any SDK. Zero external dependencies.
$ curl -fsSL https://raw.githubusercontent.com/ openhinge/openhinge/main/install.sh | bash $ cd ~/openhinge && npm start Open the dashboard to set your password 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.
Drop-in replacement for both OpenAI and Anthropic. Native integration with developer tools.
base_url = "http://localhost:3700/v1"
base_url = "http://localhost:3700"
"primary": "openhinge/claude-sonnet-4-6"
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 generates your config automatically.
Open http://localhost:3700 and set a password 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)Stop paying per-token API fees. OpenHinge uses your existing Claude Pro, ChatGPT Plus, or Gemini subscription — the same plans you already pay for.
How it works: Install OpenHinge on your Mac or server. Add your Claude/OpenAI/Gemini subscription via OAuth. Set up a Cloudflare Tunnel for a public URL. Point your apps at the tunnel URL — they talk OpenAI protocol, OpenHinge translates to any provider. Your subscription covers the cost.
One gateway. OpenAI + Anthropic APIs. Every provider. Use your existing subscriptions at zero extra cost. Self-hosted in under a minute.