Deploy Now

SaaS Alternative

OpenRouter Portkey Helicone

Stars

107

Forks

16

Watchers

0

Developer links

Routerly

Routerly is the one front door for every AI model your apps use: point your OpenAI or Anthropic client at it, and it chooses the right model for each request, enforces your budget, and keeps the receipts. Nothing in your code changes except the base URL, and from that moment streaming chat completions and messages flow to OpenAI, Anthropic, Gemini, Mistral, Cohere, xAI or your own Ollama models behind a single token. Nine routing policies score every candidate in parallel: cheapest, fastest, healthiest, most capable, biggest context, least rate-limited, fairest, most budget left, and one that asks a small model to judge which model fits the task. When the winner errors or times out, the next candidate takes over automatically, and the recorded routing trace shows exactly why each model won or lost. Guardrails can block or log content that breaks your rules, and phone numbers, card numbers, SSNs, IBANs and emails can be scrubbed out before anything reaches a provider. Every call is logged with tokens, USD cost and latency, and hard limits per model, project and token reject overspending requests before a provider can charge for them. Projects keep separate tokens, model lists and budgets for each team or tool, role-based permissions decide who may change what, and alerts land in Slack, email, webhooks or PagerDuty when budgets or providers misbehave. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.

Routerly
Routerly
Routerly
Routerly
Routerly

Benefits

  • One Endpoint, Every Provider
  • Swap the base URL in any OpenAI or Anthropic client and Routerly speaks both protocols natively, including streaming, so existing tools connect without code changes.
  • Budgets Enforced Before Spending
  • Hard limits per model, project and token reject overspending requests before they reach a provider, while every call is logged with tokens, cost and latency.
  • Routing That Explains Itself
  • Nine policies score every request in parallel, and the recorded routing trace shows exactly why a model won, with automatic fallback when a provider fails.
  • Zero Infrastructure To Run
  • No database, Redis or PostgreSQL: configuration and usage live in JSON files under one directory, and the built-in updater pulls new releases from the dashboard.

Features

  • Nine Routing Policies
  • Cheapest, health, performance, capability, context, LLM, rate-limit, fairness and budget-remaining policies score candidates in parallel with priority weighting and automatic failover.
  • Dual API Compatibility
  • OpenAI /v1/chat/completions and Anthropic /v1/messages endpoints, including streaming, accept Bearer tokens or the Anthropic x-api-key header without any client modification.
  • Guardrails And PII Scrubbing
  • Configured content rules block or log requests and responses, while emails, phone numbers, card numbers, SSNs and IBANs are replaced before forwarding.
  • Multi-Project Isolation
  • Each project carries its own API token, model list, routing configuration and budget envelope, so teams and tools never share limits or usage records.
  • Roles And Alerts
  • Role-based access with seven granular permissions and custom roles, plus budget, error and rate-limit alerts to Slack, email, webhooks and PagerDuty.
  • Experiments And Playground
  • Run routing experiments and compare metric outcomes, then inspect individual requests in the playground with full traces of scores, cost and latency.

Apps Similar to Routerly