Awesome Infra for AI › LLM Gateways & Proxies

mozilla-ai/otari

⭐ 504 Python added to this list on 2026-07-13 repository created 2026-04-02

Otari is an open-source, self-hostable LLM gateway designed to simplify the management and operation of large language models across multiple providers. It offers a single OpenAI-compatible endpoint that can route requests to more than 40 different LLM providers through its `any-llm` SDK. Key functionalities include robust authentication and authorization with virtual API keys, allowing granular control over access and revocation. A core feature is its cost control mechanism, which enforces per-user and per-key budgets *before* requests are processed, preventing unexpected overspending. Additionally, Otari meticulously tracks all usage and spend data across various models and applications, providing queryable logs. This allows organizations to maintain control over their LLM infrastructure, keeping provider credentials and sensitive usage data within their own environment. It natively supports a standalone mode with SQLite and offers a full stack deployment via Docker Compose for more robust, durable setups. Otari is part of a larger ecosystem that includes client SDKs for Python, TypeScript, Rust, and Go, as well as a CLI tool, making it a comprehensive solution for managing LLM inference in production.

https://github.com/mozilla-ai/otari

ai-gatewayllm-proxyllm-routingapi-key-managementcost-trackingbudgetsusage-trackingmulti-provideropenai-compatibleself-hostedllmopsguardrails

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.