What is Plexus and how does it work?
mainPlexus is an LLM gateway that sits in front of multiple LLM providers (OpenAI, Anthropic, Gemini, and OpenAI-compatible providers). It provides a single, consistent API surface for clients, allowing you to decouple your client code from specific provider implementations.
Key Capabilities:
- Protocol Translation: Handles requests in OpenAI Chat Completions, Anthropic Messages, and Gemini native formats, including streaming and tool use.
- Policy-Aware Routing: Map model aliases to one or more targets using selection strategies like
random,in_order,cost,performance,latency,usage,quota, ore2e_performance. - Resilience: Supports exponential cooldowns, provider failover, stalled stream detection, and vision fallthrough for non-vision targets.
- Observability: Provides a dashboard to inspect request logs, tokens, cost, latency, throughput, and provider health.
- Security: Supports AES-256-GCM encryption at rest for sensitive data (API keys, OAuth tokens, etc.) when an
ENCRYPTION_KEYis provided.