Awesome Infra for AI › LLM Gateways & Proxies

traceloop/hub

⭐ 229 Rust repository created 2024-10-24

Traceloop Hub is an open-source, high-performance LLM gateway engineered in Rust, designed to streamline and centralize the operational aspects of interacting with various large language models (LLMs). It provides a unified, OpenAI-compatible API that allows users to connect to and manage calls across different LLM providers, including OpenAI, Anthropic, Azure OpenAI, Google VertexAI, and AWS Bedrock. The core purpose of Traceloop Hub is to act as an intermediary, offering capabilities such as multi-provider routing, dynamic configuration, and particularly, extensive observability features powered by OpenTelemetry tracing and Prometheus metrics. This ensures that all LLM interactions are traceable and performance-monitorable, which is crucial for production AI systems. The gateway supports two main deployment modes: a YAML-based static configuration for simplicity and development, and a database-backed mode (using PostgreSQL) for dynamic configuration, hot reloads, and a management API tailored for production environments. Its Rust-based architecture ensures high performance and efficient resource utilization, with async/await support. Additionally, it features a flexible pipeline system for extensible request/response processing. By providing a single point of integration and comprehensive monitoring, Traceloop Hub aims to simplify the operational complexities of deploying and managing LLM-powered applications at scale.

https://github.com/traceloop/hub

artificial-intelligencedatasciencegenerative-aillmllmopsmlmodel-monitoringobservabilityopen-sourceopentelemetryrustllm-gatewayai-proxymulti-llm

Also in LLM Gateways & Proxies

diegosouzapw/OmniRoute

OmniRoute is a free AI gateway that unifies access to over 170 AI providers, offering token compression, auto-fallback, and aggregating free tiers to provide billions of free tokens monthly.

Mintplex-Labs/anything-llm

AnythingLLM is an all-in-one local-first AI application for chatting with documents, managing AI agents, and integrating with various LLMs and vector databases, offering dynamic model routing and m...

BerriAI/litellm

LiteLLM is an open-source AI Gateway and Python SDK providing a unified interface to over 100 LLM providers, with features like cost tracking, guardrails, load balancing, and observability.

QuantumNous/new-api

new-api is a unified LLM gateway and AI asset management system that enables aggregation, distribution, and cross-conversion of various LLMs into OpenAI, Claude, or Gemini compatible formats, offer...

Kong/kong

Kong Gateway is a cloud-native API and AI gateway offering high performance, extensibility via plugins, and advanced AI traffic capabilities including multi-LLM support, semantic security, and cach...

decolua/9router

9Router is an AI router and token saver that connects various AI coding tools to over 40 AI providers, optimizing usage with auto-fallback, quota tracking, and token compression.

apache/apisix

Apache APISIX is a dynamic, real-time, high-performance API Gateway that can also function as an AI Gateway, providing AI proxying, load balancing for LLMs, and robust security for AI agents.

lidge-jun/opencodex

OpenCodex is a universal local proxy that enables OpenAI Codex, Claude Code, and Grok Build to utilize any LLM provider, offering advanced model routing, account pooling, and API key management.