Back to directory

hermes-router

A router that sits between an app and a pool of AI providers such as Gemini, OpenRouter and Groq, trying the next provider automatically when one is rate-limited, behind one OpenAI- and Anthropic-compatible endpoint.

Visit website (opens in a new tab)hermes-router.vercel.app
hermes-router

hermes-router is a proxy for AI provider APIs. Compatible OpenAI or Anthropic clients connect by changing only their base URL and API key, and the router forwards requests through a pool of providers, moving to the next one automatically when one hits its rate limit or is unavailable.

It supports key rotation and failover, routes each request toward the cheapest model that can handle it, and can fall back to local models run through Ollama or LM Studio when cloud providers are unavailable. Other features include tool calling, embeddings, response caching with an optional semantic cache, per-key budgets and rate limits, a web dashboard, a multi-instance manager for running or monitoring several routers, usage analytics with cost tracking, a circuit breaker for unhealthy providers, and Prometheus metrics.

It can run as a background service that survives reboots, with optional features toggled through its own command-line interface, and stores all provider keys in one configuration file.

More in LLM gateways

See all 106
  • aihappey-ai

    github.com

    A stateless, multi-provider .NET AI gateway exposing normalized OpenAI- and Anthropic-compatible endpoints, managed agents and skills across a very large catalog of models.

  • Unified AI System

    happy520ai.github.io

    A self-hosted, protocol-first AI gateway and agent control plane for OpenAI, Anthropic, Gemini, MCP and A2A, turning a rough request into a structured, reviewable prompt before it runs.

  • Subroute

    github.com

    A local AI gateway and desktop control desk that gives coding tools one steady endpoint, so switching between AI subscriptions, API providers and local models doesn't mean reconfiguring every client.