Deploy locally, encrypt keys with zero-knowledge proofs, and expose OpenAI-compatible and Ollama-compatible endpoints to your whole team.
Two ports, one router, many keys. Your apps talk OpenAI or Ollama; aipowergate picks the right key securely.
┌─────────────────┐ OpenAI :38080 ┌──────────────────┐
│ ChatGPT / │────────────────────────▶│ │
│ Cursor / │ │ aipowergate │
│ Custom App │ Ollama :11434 │ Router Engine │
└─────────────────┘────────────────────────▶│ │
└────────┬─────────┘
│
┌────────────────────────┼────────────────────────┐
│ │ │
▼ ▼ ▼
┌─────────────┐ ┌─────────────┐ ┌─────────────┐
│ OpenAI Key │ │ Azure Key │ │ Ollama/ │
│ Pool │ │ Pool │ │ Local Pool │
└─────────────┘ └─────────────┘ └─────────────┘
Pick your install path and run aipowergate in under a minute.
docker run -p 38080:38080 -p 11434:11434 aipowerlink/aipowergate:1.0
curl -sSL https://aipowerlink.net/install.sh | bash aipowergate --config config.yaml
git clone https://github.com/aipowerlink/aipowergate.git cd aipowergate go build -o aipowergate ./cmd/aipowergate ./aipowergate --config config.yaml
Current and planned capabilities across gateway versions.
| Capability | v1.0 | v2.0 | v3.0+ |
|---|---|---|---|
| OpenAI-compatible routing | ✓ | ✓ | ✓ |
| Ollama-compatible routing | ✓ | ✓ | ✓ |
| Zero-knowledge key storage | ✓ | ✓ | ✓ |
| Failover & load balancing | ✓ | ✓ | ✓ |
| Usage dashboard | ✓ | ✓ | ✓ |
| LAN mDNS discovery | — | ✓ | ✓ |
| P2P key distribution | — | ✓ | ✓ |
| SaaS sync | — | — | ✓ |
| Model market routing | — | — | ✓ |
| Smart routing & optimization | — | — | ✓ |
| Feature | aipowergate | One API | New API | CC Switch |
|---|---|---|---|---|
| Zero-knowledge encryption | ✓ | ✗ | ✗ | ✗ |
| AGPLv3 open source | ✓ | ✗ | ✗ | ✗ |
| LAN / offline mode | ✓ | ✗ | ✗ | ✗ |
| Ollama native port | ✓ | Partial | Partial | ✗ |
| Integrated model market | ✓ | ✗ | ✗ | ✗ |
Keys are encrypted at rest, in transit, and in use. Even if the gateway host is compromised, attackers cannot recover the original API keys.
Download the gateway, read the docs, or give us a star on GitHub.