model-router repositories

Trending repositories tagged model-router, ranked by trending score. Updated daily.

  1. 1
    maximhq/bifrost

    Open-source, high-performance AI gateway that works as your LLM gateway, MCP gateway and agent gateway. One OpenAI-compatible API for 10,000+ models, with failover, load balancing, semantic caching, virtual keys, budgets and MCP Code Mode. Works with any SDK or agent and adds under 200µs of overhead at 5k RPS.

    GitHub · Go · 9,843 stars · 1,636 forks · +73 stars in 24 hours · Trending score 3.67

  2. 2
    mralexivy/AutoMode

    Automatic model and effort router for Claude Code. A free plugin that picks Haiku, Sonnet or Opus for each prompt, adds risk floors and a review workflow, and shows cache and context state. No key, no server.

    GitHub · TypeScript · 79 stars · 0 forks · +2 stars in 24 hours · Trending score 1.44

  3. 3
    weave-os/router

    Model router for agentic systems. Routes every prompt to the right model in <50ms. Cut costs 40-70% with just an endpoint change.

    GitHub · Go · 5,625 stars · 169 forks · −1 stars in 24 hours · Trending score 0.61

  4. 4
    iamaamir/pi-bifrost

    Automatically route each Pi prompt to a model based on task complexity, price, speed, or context length. Smart model router for pi.

    GitHub · TypeScript · 82 stars · 9 forks · −1 stars in 24 hours · Trending score 0.55

  5. 5
    ypollak2/llm-router

    Universal LLM router for AI coding tools. Works with Claude Code, Cursor, Codex, Gemini CLI, Copilot and more. Free-first fallback chain cuts costs 35-80%.

    GitHub · Python · 130 stars · 17 forks · 0 stars in 24 hours · Trending score 0.40

  6. 6
    alexei-led/pi-model-router

    Independent Pi extension for four-tier model routing with optional privacy-gated Jev advice, deterministic baselines, budget controls, and safe fallbacks.

    GitHub · TypeScript · 11 stars · 1 forks · 0 stars in 24 hours · Trending score 0.24

  7. 7
    OnlyTerp/opengrok

    Run any model in Grok Bot — one-command setup, model picker UI, evidence-based provider wire maps, and an update-proof doctor. Not farming you, arming you.

    GitHub · JavaScript · 513 stars · 62 forks · 0 stars in 24 hours · Trending score 0.24

  8. 8
    farhanic017/auto-model-switcher

    Parallel model rotation across any CLI. Auto-discovers models, health-checks in <2s, scores by capability+cost, picks the best for every task.

    GitHub · Python · 8 stars · 0 forks · 0 stars in 24 hours · Trending score 0.22

  9. 9
    atharvaglawe/devrouter

    DevRouter — a collaborative, repository-aware context routing platform for AI coding agents that learns codebase structure and delivers the right context to the smallest capable model for faster, cheaper, and more accurate software development.

    GitHub · TypeScript · 7 stars · 0 forks · 0 stars in 24 hours · Trending score 0.22

  10. 10
    green-dalii/pi-shift-router

    Per-turn model routing for the Pi coding agent: a small judge picks the cheap or the strong tier for each message, with multi-model failover, task-level orchestration, and an optional decision-model judge (Jev) that answers with a calibrated probability instead of prose.

    GitHub · TypeScript · 14 stars · 3 forks · 0 stars in 24 hours · Trending score 0.19

  11. 11
    lazygophers/aidog

    GitHub · Rust · 13 stars · 2 forks · 0 stars in 24 hours · Trending score 0.19

  12. 12
    asas7412589630-hash/POPO-V1

    模型 API 閘道:給它一組上游憑證,它在本機起一個自己的 OpenAI 相容 API — 多上游路由、可選提示積木、拒答重試、上下文整理、調校與逐回合紀錄。純 Python 標準庫。

    GitHub · Python · 7 stars · 5 forks · 0 stars in 24 hours · Trending score 0.18

  13. 13
    ProjectZeroDays/FreeAI_AI_Inference_Workstation

    FreeAI: Unified AI Inference Workstation — local LLMs, autonomous agents, full SDLC automation, security tools, and multi-provider routing. One self-hosted stack.

    GitHub · Python · 7 stars · 1 forks · 0 stars in 24 hours · Trending score 0.14

  14. 14
    aunysillyme/model-orchestrator

    Model router for AI coding agents: routes routine work to cheaper models with routing rules, 8 subagents, hooks and a CLI runner

    GitHub · JavaScript · 19 stars · 3 forks · 0 stars in 24 hours · Trending score 0.08

  15. 15
    erishen/tsm-hub

    AI Capability Hub & LLM Gateway - unify models, tools, skills, MCPs, sandbox, memory with discovery and promotion across 13+ providers

    GitHub · Go · 6 stars · 4 forks · 0 stars in 24 hours · Trending score 0.08

  16. 16
    soooooollee/ai-router

    Local-first AI protocol gateway and model router for OpenAI, Anthropic, and Gemini APIs

    GitHub · Go · 5 stars · 0 forks · 0 stars in 24 hours · Trending score 0.08

  17. 17
    vahapogut/antigravity-add-model

    Proxy patch for Google Antigravity that intercepts internal Cloud Code API and adds support for OpenAI, Claude, Ollama, Gemini and any custom LLM provider.

    GitHub · TypeScript · 181 stars · 44 forks · 0 stars in 24 hours · Trending score 0.04

  18. 18
    KochC/opencode-llm-proxy

    Local OpenCode-backed LLM gateway for OpenAI, Anthropic, Gemini, and Responses API-compatible tools, with streaming and tool/function calling.

    GitHub · JavaScript · 86 stars · 22 forks · 0 stars in 24 hours · Trending score 0.04

  19. 19
    HackerChi-Hub/hyphenbox-release

    黑粉盒子 HyphenBox:免费 AI API 雷达、模型核验与本地路由,Harness 一键接入;图片/视频平台可配置,历史可清理、可撤销;当前提供 macOS 通用包。

    GitHub · JavaScript · 25 stars · 2 forks · 0 stars in 24 hours · Trending score 0.03

  20. 20
    duolahypercho/codex-router

    External-model router for Codex with guided Kimi OAuth/API, DeepSeek, safe migration, and rollback.

    GitHub · JavaScript · 3,987 stars · 381 forks · 0 stars in 24 hours · Trending score 0.03

  21. 21
    freestylefly/wesight

    Open-source desktop AI agent workspace with one-click Claude Code, Codex, OpenClaw, Hermes Agent setup and custom LLM model routing.

    GitHub · TypeScript · 970 stars · 213 forks · 0 stars in 24 hours · Trending score 0.02

  22. 22
    aj-archipelago/cortex

    Open-source AI backend control plane for model routing, agent tools, OpenAI-compatible APIs, and private workspaces.

    GitHub · JavaScript · 66 stars · 9 forks · 0 stars in 24 hours · Trending score 0.00

  23. 23
    romgX/openrelay

    几百个免费 AI 模型配额,一键接入本地项目。| Hundreds of free AI model quotas, one-click access to local projects.

    GitHub · TypeScript · 2,319 stars · 335 forks · 0 stars in 24 hours · Trending score 0.00

  24. 24
    GoSlowPoke168/hermes-openrouter-free-rotator

    Automatically loads the best free OpenRouter models into Hermes Agent. Ranks every :free model daily by privacy (optional) and rotates your default and fallback models before they expire so you can set and forget.

    GitHub · Python · 15 stars · 0 forks · 0 stars in 24 hours · Trending score 0.00