Home aipowergate SaaS Market Pricing Download Docs 中文
Open-source · AGPLv3

Open-source LLM API Key
Sharing Gateway

Deploy locally, encrypt keys with zero-knowledge proofs, and expose OpenAI-compatible and Ollama-compatible endpoints to your whole team.

Architecture at a Glance

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  │
                       └─────────────┘          └─────────────┘          └─────────────┘
        

Quick Start

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

Capability Matrix

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

Why aipowergate vs Alternatives?

Feature aipowergate One API New API CC Switch
Zero-knowledge encryption
AGPLv3 open source
LAN / offline mode
Ollama native portPartialPartial
Integrated model market

Six-layer Defense

Keys are encrypted at rest, in transit, and in use. Even if the gateway host is compromised, attackers cannot recover the original API keys.

  • 1.Per-key Ed25519 identity
  • 2.ECDH key agreement between members
  • 3.AES-256-GCM encrypted key blob
  • 4.HMAC-signed billing tokens
  • 5.Memory-only decryption during requests
  • 6.Audit logging without key exposure

Cryptographic Stack

IdentityEd25519
Key agreementX25519 ECDH
Symmetric cipherAES-256-GCM
SigningHMAC-SHA256
HashingSHA-256 / BLAKE3
TransportTLS 1.3

Start sharing keys the secure way

Download the gateway, read the docs, or give us a star on GitHub.