{"repo":"BingoWon/keyaos","free":true,"listed":false,"github":"https://github.com/BingoWon/keyaos","clone":"git clone https://github.com/BingoWon/keyaos.git","description":"Edge-native AI API gateway — cost-optimized routing across providers, multi-protocol support, built on Cloudflare Workers.","language":"TypeScript","stars":36,"topics":["ai-gateway","anthropic","api-proxy","cloudflare-workers","edge-computing","llm-routing","multimodal","openai-api","react","typescript"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Keyaos Edge-native AI API gateway — cost-optimized routing across providers, multi-protocol support, built on Cloudflare Workers. 🌏 中文 · 🌐 Website · 🐺 Werewolf · 📖 Docs · 📡 API Reference --- You subscribe to multiple AI services — OpenRouter, DeepSeek, Google AI Studio, xAI, and more. Each has its own API key, pricing, and quota. Keyaos unifies them behind multi-protocol API endpoints (OpenAI, Anthropic, and more), automatically routing every request to the cheapest healthy provider. Built entirely on Cloudflare Workers + D1 + Cron Triggers . Self-hosted deployments require no servers and fit within Cloudflare's free tier. 🏗 Architecture Request flow: Client sends a request to any supported endpoint. Auth validates the API key and checks permissions (model restrictions, quota, expiry, IP). The router ranks all available credentials by unit price × multiplier and picks the cheapest healthy one. The circuit breaker skips providers with recent failures. The SSE interceptor tee's the response stream — forwarding it to the client in real time while extracting usage data for billing in the background. A Cron job syncs model availability and pricing every minute. ✨ Features - Cost-optimized routing — every request goes to the cheapest available provider - Automatic failover — quota exceeded or rate limited? The next cheapest option takes over - Zero-latency streaming — SSE responses are tee'd and forwarded in real time - Auto-synced catalog — model availability and pricing sta","default_branch":null,"files":null,"tree":[],"storefront":"/r/BingoWon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BingoWon/keyaos/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."}