atopos31/llmio

Unified LLM gateway with weighted load balancing, observability & cost tracking. 统一的 LLM 网关,提供权重负载均衡、可观测性与费用追踪。

What it solves

LLMIO acts as a centralized gateway for managing multiple LLM providers (OpenAI, Anthropic, Gemini, etc.). It solves the complexity of integrating different APIs by providing a unified REST interface, allowing developers to route requests across models, manage quotas, and monitor usage through a single service.

How it works

Built in Go, the project functions as a load-balancing proxy. It translates between different LLM protocols (e.g., converting Anthropic messages to OpenAI format), handles weighted request scheduling, and manages custom headers or session keys to ensure compatibility with various clients. It includes a React-based admin UI for monitoring, log inspection, and configuring advanced features like time-of-day pricing and database maintenance.

Who it’s for

Developers and teams who need to manage multiple LLM integrations, implement cost-tracking, or require a robust, self-hosted proxy to handle load balancing and observability across different AI model providers.

Highlights

  • Unified API: Standardizes disparate provider protocols into a single, consistent interface.
  • Advanced Routing: Supports weighted scheduling and automatic protocol translation between providers.
  • Observability: Provides detailed usage analytics, latency tracking, and request logging with session comparison tools.
  • Efficient Storage: Uses content-defined chunking and global deduplication to drastically reduce the storage footprint of request logs in SQLite.
  • Operational Control: Includes built-in circuit breakers, rate limiting, and sophisticated database maintenance tools for space reclamation.

Related

  • Project
  • Project
  • Project
  • Project
  • Project