This document outlines the product vision, planned milestones, and upcoming capabilities for the Free-AI Gateway monorepo ecosystem.
To provide the world's most resilient, extensible, zero-cost AI gateway — giving developers, researchers, and autonomous agent frameworks frictionless access to the global free-tier AI ecosystem without vendor lock-in or quota headaches.
- Protocol-neutral
@free-ai-gateway/corecapability router and strategy pattern engine. - 19 free-tier provider adapters covering LLMs, vision, embeddings, audio, search, doc processing, and reranking.
- Sliding-window Quota Tracker (RPM/RPD/TPM) and 3-state Circuit Breaker resilience.
- Fastify HTTP Gateway (
apps/gateway) serving OpenAI-compatible chat, completions, embeddings, and capability routes. - Full SSE streaming response translation.
-
@free-ai-gateway/mcpModel Context Protocol stdio server for Claude Desktop, Cursor, and IDEs. -
@free-ai-gateway/skillswith multi-agent installer CLI. -
@free-ai-gateway/cliterminal AI assistant with chat REPL, diagnostics (doctor), and model discovery. - 100% automated CI test matrix across Node 18, 20, 22 on Ubuntu, macOS, and Windows.
- OpenTelemetry Tracing & Metrics Exporters: Native OpenTelemetry span propagation across upstream provider requests.
- Prometheus Metrics Endpoint:
/metricsendpoint on the Fastify gateway exporting latency histograms, token counters, and error distributions. - Dynamic Provider Configuration Reloading: In-memory JSON/YAML file watcher to hot-reload
providers.jsonwithout server restarts. - Local LLM Provider Integration:
- Ollama native provider adapter (
http://localhost:11434). - LM Studio provider adapter (
http://localhost:1234). - vLLM / LocalAI provider adapter.
- Ollama native provider adapter (
- Granular Fallback Retry Policies: Configurable per-capability retry attempts and backoff multipliers.
- Redis / Valkey Distributed Quota Engine: Optional distributed sliding-window rate limiter for multi-instance gateway clusters.
- Distributed Circuit Breaker State: Shared Redis-backed circuit breaker state across horizontal gateway replicas.
- API Key Multi-Tenant Pool Routing: Support for round-robin rotation across multiple API keys for the same provider to multiply throughput.
- Cost / Token Budget Analytics: Real-time estimated token usage savings vs. commercial OpenAI/Anthropic rates.
- Web UI Admin Dashboard:
- Real-time provider health dashboard with latency sparklines and quota gauges.
- Interactive playground for testing capabilities and routing strategies.
- Visual circuit breaker state inspector and manual reset triggers.
- Gemini Live / WebSocket Bidirectional Streaming: Full audio and multimodal real-time WebSocket protocol gateway.
- Semantic Caching Layer: Vector-similarity response caching (Redis/Qdrant) to reduce upstream provider calls to zero for repeated queries.
- Autonomous Provider Health Probes: Adaptive auto-tuning of routing weights via continuous synthetic probe canary requests.
Have an idea or want to champion a new provider adapter?
- Open a feature or provider request using our Issue Templates.
- Join the conversation on GitHub Discussions.