Gateway

Single-binary LLM access point in Rust (binary: gw): OpenAI- and Anthropic-compatible APIs in front of pluggable model providers, with key-based auth, quotas, rate limits, failover, and a billing ledger.

client ──► /v1/* (OpenAI + Anthropic surfaces, streaming SSE, realtime WS)
       ──► pipeline: resolve/quota/cache → account select (PTU, failover)
                     → rate limits → engine → usage → billing ledger
       ──► providers: real endpoints over HTTP · in-process mock for the rest

Guides

Repository

Source and issue tracker: github.com/cocoonstack/gateway.