{"repo":"GarrickLin/any_gateway","free":true,"listed":false,"github":"https://github.com/GarrickLin/any_gateway","clone":"git clone https://github.com/GarrickLin/any_gateway.git","description":"A light-weight self-hosted AI API gateway that proxies requests to multiple backend providers (OpenAI, Anthropic, Gemini) with user management, quota control, and audit logging.","language":"Python","stars":28,"topics":[],"license":null,"category":"self-hosted-apps","readme_excerpt":"Any Gateway English · 中文 A self-hosted AI API gateway that proxies requests to multiple backend providers (OpenAI, Anthropic, Gemini) with user management, quota control, rate limiting, and audit logging. Features - Multi-provider routing — Supports OpenAI-compatible, Anthropic, and Gemini APIs with transparent header proxying - Weighted load balancing — Distribute traffic across channels using configurable weights - User group access control — Assign users to groups with priority-based channel access - API key management — Issue sk- keys with per-key quota limits, expiration, and freeze/unfreeze - Quota enforcement — Per-token USD spend limits enforced before forwarding requests - Rate limiting — Redis-based sliding window limits on requests, tokens, or spend per group - Pricing & billing — Per-model pricing with per-group multipliers and custom override prices - Vouchers — Redeem codes to top up user quota balances - LDAP/AD authentication — Enterprise login via Active Directory Simple Bind - JWT admin auth — Role-based admin access ( user , admin , superadmin ) - Audit logging — Brotli-compressed JSONL logs per request, per day - React admin dashboard — Full-featured SPA for managing channels, groups, users, tokens, prices, and vouchers - Streaming support — SSE pass-through for streaming AI responses with usage tracking Design Highlights 1. Modern Development Efficiency (SQLModel + FastCRUD) The backend uses SQLModel , combining SQLAlchemy's database capabilities with Pyd","default_branch":null,"files":null,"tree":[],"storefront":"/r/GarrickLin","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GarrickLin/any_gateway/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}