Awesome Infra for AI › LLM Gateways & Proxies

adaline/gateway

⭐ 608 TypeScript repository created 2024-10-15

Adaline Gateway is a 'Super SDK' designed to simplify and standardize interactions with a vast array of Large Language Models (LLMs). Unlike a proxy, it's a fully local, TypeScript-based solution that can be deployed anywhere, ensuring privacy and control. The gateway abstracts away the complexities of different LLM providers, offering a single, powerful API for functions like chat completion and embedding generation across numerous models from vendors such as OpenAI, Anthropic, Google, AWS Bedrock, and more. Key operational features include automatic batching for requests, resilient retries with exponential backoff, and configurable caching to optimize performance and cost. For enhanced oversight and integration into existing infrastructure, it provides comprehensive callback mechanisms and out-of-the-box OpenTelemetry support for tracing and observability. Its extensible architecture allows for custom plugins for caching, logging, and HTTP clients, making it adaptable to various production environments. The SDK also supports plug-and-play custom providers, enabling integration with local or bespoke models. This focus on abstracting LLM interaction, coupled with operational features like caching, retries, and observability, positions it as a critical tool for managing and serving AI inference workloads.

https://github.com/adaline/gateway

LLMgatewayproxyinferenceservingobservabilitycachingretriesOpenTelemetrymulti-providerTypeScriptSDKbatching

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.