Awesome Infra for AI › LLM Gateways & Proxies

starbaser/ccproxy

⭐ 348 Python repository created 2025-07-29

ccproxy is a command-line interface proxy designed for transparent network interception of LLM traffic. Built on mitmproxy and WireGuard, it provides full TLS inspection and allows users to hook into, modify, and reroute requests and responses between different LLM providers like Anthropic, OpenAI, Gemini, DeepSeek, and Perplexity Pro. Its core functionality includes a DAG-driven pipeline for decomposing, transforming, and routing traffic, supported by 'lightllm' for surgical adaptation and streaming finite-state machine operations. The tool facilitates cross-provider routing, allowing users to direct requests to specific models or providers based on custom logic. It also supports 'compliance shaping' by replaying sanitized SDK envelopes while injecting actual request content at runtime. ccproxy aims to extend LLM client capabilities by bridging unsupported Model Context Protocol (MCP) features such as sampling, server notifications, and experimental tasks. The architecture features an addon chain for processing requests and responses, handling authentication, Gemini-specific fallbacks, and egress sanitization. It also includes an `SSEPipeline` for managing cross-provider streaming. Configuration is managed via a YAML file, allowing users to define providers, their authentication mechanisms, and custom hooks to control LLM usage.

https://github.com/starbaser/ccproxy

aiai-gatewayai-proxyai-toolsanthropicclaudeclaude-aiclaude-apiclaude-codeclaude-maxclaudecodegeminigemini-clilitellmllmllm-gatewayllm-proxyllmopsopenaiopenrouter

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.