开源的大型语言模型路由器和人工智能成本优化器。简单提示自动路由到廉价/本地模型,复杂提示自动路由到高级模型。可直接加入的 OpenAI 兼容 Claude Code、Codex、Cursor、OpenClaw 代理。节省40%-70%的AI API成本。自架,没有中间人。
ai-router 开源项目推荐(490 个)
ai-router 话题在 GitHub 上没有填写简介,这里按 Star 数汇总最相关的热门仓库。
热门项目 前 20
按 Star 数排序展示前 20 个 · GitHub 共 490 个仓库Awesome list of TypeSafe AI Jev use cases: 74 demos ranked by likes, 150+ GitHub repos, limits, cost and API examples. CC0
你友好、极速、自我托管的AI网关
Self-hosted LLM gateway that routes requests across AI providers (OpenAI, Anthropic, Gemini, Mistral, Ollama) using intelligent multi-policy scoring — including an LLM-native routing policy. Drop-in compatible: just swap the base URL. No database required, built-in cost tracking, budget enforcement and multi-tenant isolation.
10Router — local AI routing gateway & dashboard · npm i -g @techysy/10router
High-performance proxy router for LLM APIs with automatic load balancing, rate limiting, and fail2ban protection
The Ultimate AI Compute Gateway ( Router ) | A high-performance, stateless-to-stateful LLM compute gateway in Go. Features multi-model pooling, zero-dependency local RAG with muti-users support, session memory stack injection, and cascading optimal routing for Morden Agent compatible endpoints.
Lightweight Modular AI Routing Engine for Local LLMs — Run specialised experts efficiently on consumer GPUs using smart Mixture-of-Experts routing.
WYx0 fork of 9Router focused on Kiro/CodeBuddy automation, multi-account workflows, and quota tracking.
智能AI代理路由器,连接Claude代码、光标、Codex、Copilot和50+编码工具与拥有100+模型的40+人工智能服务提供商。通过RTK压缩、订阅自动回退到廉价到免费服务商、多账户轮询以及本地仪表盘,节省20-40%的代币。
Infinite, 100% Free, Zero-latency Multi-provider AI Router for Claude Code CLI & Desktop with real-time SSE streaming, auto-failover across 51 providers, and Cyber HUD telemetry.
BrighTO LLM Router: free open-source, ultra-fast Rust LLM gateway/router and LiteLLM/Bifrost alternative with OpenAI + Anthropic APIs, Claude CLI bridge for OpenAI-compatible models, Qwen3.8 dual protocol, model load balancing, fallback routing, team API keys, token budgets, SystemOne decisions for Ollaya/Laya, JEV/DJEV and Quyết.
Routes each request to the right AI agent or skill before your AI picks one. Your rules decide what code can; Jev (TypeSafe) makes the typed call. Installs as Claude Code hooks.
150+ free AI models across 20+ providers. Groq, Cerebras, NVIDIA and more with automatic fallback when rate limits hit.
CLI & async Python library for free AI chat, image & video generation.
Local AI Gateway and CLI Configuration Management Center | 本地AI网关、供应商API代理、CLI配置管理、支持故障路由切换
9Router fnOS app — FREE AI Router & Token Saver packaged for 飞牛 NAS
AI-routed gateway for free LLM APIs — reads your prompt and routes it to the best free model (Gemini, Groq, Cerebras, NVIDIA NIM, Mistral, OpenRouter, GitHub Models). OpenAI-compatible, streaming, key pooling, persistent quota tracking.
Self-hosted AI API gateway with per-client provider config (Gemini, OpenAI, Anthropic, Ollama, LM Studio). Rate limits, quotas, model whitelists, real-time dashboard.
Limits, credits, and billing inside your AI product: an open-source engine that decides what each customer can do, what it costs you, and what to bill, on every call, in-process.
关于这个话题
- 清单取自 GitHub 话题页并按 Star 数排序,每次展示前 20 个项目;原始页面见 https://github.com/topics/ai-router。
- 该话题在 GitHub 上共有 490 个仓库, 本站收录的是其中最热门的 20 个,不是全量列表。
- Star / Fork 每日自动刷新一次,实时数据以 GitHub 为准。
- 当前 20 个项目累计 1901 Star,覆盖 7 种主要语言,数据更新于 2026-11-07。
- 中文介绍来自 GitHub 官方话题说明(github/explore)的机器翻译,可点「查看原文」对照;译文缺失时会先展示原文。