Categories
Self-Hosted Developer Tools Observability AI Gateway AI Infrastructure API Management Cost Management LLM ProxyStars
Forks
Watchers
Developer links
Ferro Labs AI Gateway
Thirty model providers, one OpenAI-compatible endpoint: Ferro Labs AI Gateway routes every request from your applications to the provider that should answer. Eight routing strategies cover fallback chains, weighted load balancing, lowest latency, lowest cost, content-based rules, A/B tests, and conditional targets, each with retries and circuit breakers. Guardrail plugins filter blocked words, redact personal data, scan for leaked secrets, block prompt injection, validate response schemas, and enforce rate limits and per-key spend budgets. Identical prompts can come back from a response cache, and tool servers connect through MCP so the gateway can run the tool-call loop itself. The console opens with a getting-started checklist, then charts traffic, token throughput, latency percentiles, and cost by model. Providers, routing targets, and plugins each get their own page, a playground sends test chats through the real routing path, and request logs plus an audit trail record who changed what. Scoped admin and read-only keys give every operator separate access, and configuration history allows a rollback. OpenTelemetry traces and Prometheus metrics feed existing dashboards. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. Apache-2.0 licensed.
Benefits
- One Endpoint For Every Model
- Applications call a single OpenAI-compatible address, and the gateway chooses among 30 providers, so switching vendors becomes a config edit instead of a code change.
- Failover Without Code Changes
- Retries, circuit breakers, and fallback chains move traffic to a healthy provider when one fails, keeping chat features responsive during vendor outages.
- Spend Visible Per Key
- Charts break cost and token use down by model and API key, and budgets refuse requests once a key reaches its limit, which stops runaway bills.
- Safer Prompts And Responses
- Guardrail plugins redact personal data, block secrets and injection attempts, and validate output schemas before a request leaves or a reply reaches your users.
Features
- Eight Routing Strategies
- Choose single, fallback, load balance, least latency, cost-optimized, content-based, A/B test, or conditional routing, with per-target retries and model aliases.
- Operations Console
- A built-in dashboard shows overview, analytics, providers, routing, plugins, tracing, request logs, audit trail, configuration, and API keys behind one sign-in.
- Guardrails And Plugins
- Eleven built-in plugins cover word filters, PII redaction, secret scanning, injection shields, schema checks, response caching, rate limits, and budgets.
- MCP Tool Servers
- Connect stdio or Streamable HTTP tool servers and the gateway injects their tools into chat completions and drives the tool-call loop.
- Scoped API Keys
- Create admin and read-only keys with expiry dates for each operator, keeping the master key as a break-glass credential only.
- Playground And Request Logs
- Send test chats through the real routing path, then inspect every request with provider, model, tokens, status, and trace ID.