awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com

Open-Source Alternatives to LiteLLM

Ranking updated Aug 19, 2026

For an open source llm proxy and gateway, the strongest matches are lm-sys/routellm (RouteLLM provides an OpenAI-compatible API gateway and traffic manager), coaidev/coai (CoAI is a self-hostable AI gateway that unifies multiple) and xiangsx/gpt4free-ts (This repository provides a self-hostable TypeScript-based LLM API proxy). berriai/litellm and quantumnous/new-api round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

We curate open-source GitHub repositories matching “open source alternatives to litellm”. Results are ranked by relevance to your query — pick filters below to narrow, or refine with AI.

Open-Source Alternatives to LiteLLM

Find the best repos with AI.We'll search the best matching repositories with AI.
  • lm-sys/routellmlm-sys avatar

    lm-sys/RouteLLM

    5,080View on GitHub↗

    RouteLLM is a routing framework and traffic manager designed to direct prompts between high-capability and low-cost large language models. It functions as an API gateway that mimics the OpenAI specification to route requests across different model providers. The system optimizes operational costs by splitting traffic between model tiers based on predicted win rates and prompt complexity. It includes a calibration tool to analyze sample queries and determine the optimal cost-quality tradeoff for traffic distribution. The framework provides a tool for measuring the accuracy and cost efficiency

    RouteLLM provides an OpenAI-compatible API gateway and traffic manager for splitting workloads across multiple model providers, making it a great fit for cost-optimized LLM routing.

    PythonOpenAI-Compatible APIsModel Routing
    View on GitHub↗5,080
  • coaidev/coaicoaidev avatar

    coaidev/coai

    9,212View on GitHub↗

    CoAI is an enterprise-grade, self-hostable AI gateway platform that unifies access to over 200 AI models from more than 35 providers through a single OpenAI-compatible API endpoint. It functions as a multi-tenant gateway, routing requests across providers with load balancing, automatic failover, and priority-based routing, while exposing standard OpenAI API endpoints for chat, image generation, model listing, and billing to enable seamless integration with existing tools and clients. The platform distinguishes itself through a comprehensive set of operational capabilities built around the gat

    CoAI is a self-hostable AI gateway that unifies multiple LLM providers behind a single OpenAI-compatible API with load balancing, failover, and usage metering.

    TypeScriptOpenAI-CompatibleOpenAI-Compatible APIs
    View on GitHub↗9,212
  • xiangsx/gpt4free-tsxiangsx avatar

    xiangsx/gpt4free-ts

    7,701View on GitHub↗

    gpt4free-ts is a TypeScript-based LLM API proxy and gateway that provides a unified interface for accessing large language models without paid subscriptions or official API keys. It functions as a containerized AI bridge that routes requests to various free third-party providers to retrieve chat completions. The project acts as an OpenAI API wrapper, translating requests and responses into the standard OpenAI chat completions format to ensure compatibility with existing AI tools. It utilizes a provider-based routing system to distribute request loads across available endpoints. The gateway s

    This repository provides a self-hostable TypeScript-based LLM API proxy and gateway with an OpenAI-compatible interface, multi-provider routing, and response streaming, though it focuses primarily on free third-party provider aggregation rather than enterprise API key management and billing.

    TypeScriptOpenAI-Compatible API ServersOpenAI-Compatible APIs
    View on GitHub↗7,701
  • berriai/litellmBerriAI avatar

    BerriAI/litellm

    50,579View on GitHub↗

    LiteLLM is a unified gateway and proxy server designed to centralize access to over one hundred language model providers. It provides a standardized API interface that abstracts vendor-specific schemas, allowing developers to interact with diverse models through a single, consistent format. By acting as a central traffic management layer, it enables organizations to route, secure, and govern model interactions across multiple deployments. The platform distinguishes itself through its policy-driven architecture, which uses configuration-based routing to manage traffic distribution, load balanc

    LiteLLM is a self-hostable LLM proxy and unified gateway providing multi-provider routing, an OpenAI-compatible API, load balancing, rate limiting, and virtual key management.

    PythonAPI Key ManagementModel Routing Configurations
    View on GitHub↗50,579
  • quantumnous/new-apiQuantumNous avatar

    QuantumNous/new-api

    39,722View on GitHub↗

    This project is an AI model API gateway and proxy server designed to provide a unified interface for interacting with diverse artificial intelligence service providers. It functions as a centralized middleware platform that routes, load balances, and translates API requests across multiple models, enabling developers to access text, image, audio, and video generation capabilities through a single, standardized integration. The gateway distinguishes itself through comprehensive administrative and financial controls, including event-driven usage accounting, real-time token consumption tracking,

    This repository is a self-hostable AI model API gateway and proxy server that provides multi-provider routing, load balancing, API key management, and token usage tracking with an OpenAI-compatible interface.

    GoAPI Key ManagementUsage Analytics
    View on GitHub↗39,722
  • mnfst/manifestmnfst avatar

    mnfst/manifest

    7,022View on GitHub↗

    Manifest is a language model provider unification system that standardizes access to multiple AI backends through a single interface. It functions as a centralized management layer for integrating various cloud-based and local model providers to simplify how applications request completions. The system provides intelligent model routing and high availability infrastructure by directing queries based on complexity and automatically triggering model fallbacks when a primary provider fails. It distinguishes itself through multi-tenant AI management, organizing agents into isolated groups with de

    Manifest provides a centralized management layer for standardizing access to multiple AI backends with intelligent routing and fallbacks, though it serves more as an integration framework than a traditional drop-in API gateway.

    TypeScriptModel Routing ConfigurationsModel Routing
    View on GitHub↗7,022
  • portkey-ai/gatewayPortkey-AI avatar

    Portkey-AI/gateway

    12,091View on GitHub↗

    This project is an artificial intelligence gateway that functions as a centralized middleware layer for managing, securing, and observing interactions with language, vision, and audio models. It provides a unified interface that standardizes requests across multiple providers, enabling teams to integrate AI capabilities into their applications through a consistent set of tools and protocols. The gateway distinguishes itself through its comprehensive infrastructure governance and traffic management capabilities. It allows for policy-driven routing, automated failover, and load balancing across

    This repository provides a centralized AI gateway that handles multi-provider routing, load balancing, fallback, and usage analytics with an OpenAI-compatible interface, making it an ideal self-hostable solution for managing language model traffic.

    TypeScriptAI Model Load BalancersAI Request RoutingLLM Middleware
    View on GitHub↗12,091
  • xtekky/gpt4freextekky avatar

    xtekky/gpt4free

    66,335View on GitHub↗

    This project provides a unified interface for interacting with a wide range of artificial intelligence services, acting as a central orchestration layer for text and image generation. It standardizes access to diverse AI backends, allowing developers to integrate multiple language and vision models through a single, consistent programming interface. By abstracting provider-specific protocols and authentication requirements, the tool simplifies the development of applications that rely on external AI services. The platform distinguishes itself through a resilient request routing architecture d

    This project acts as an AI request router and reverse proxy integrating multiple model providers with automated failover and fallback capabilities, fitting the LLM gateway category even though it focuses heavily on free client access rather than traditional API key management.

    PythonAI Request RoutersConversation ManagementFailover Strategies
    View on GitHub↗66,335
  • popjane/free_chatgpt_apipopjane avatar

    popjane/free_chatgpt_api

    5,983View on GitHub↗

    This project is an API proxy that provides free and paid access to ChatGPT models through an OpenAI-compatible endpoint. It acts as a reverse proxy, routing requests to ChatGPT while maintaining full compatibility with OpenAI's SDK interface, allowing any application or tool that supports a custom base URL and API key to connect. The service offers a free tier that provides access to ChatGPT models for chat, image generation, and voice dialogue without requiring an official subscription, along with a paid tier that unlocks over 130 OpenAI models including GPT-4 with lower latency and reduced

    This project acts as an API proxy for ChatGPT models with OpenAI compatibility, but it focuses specifically on proxying and monetising access to ChatGPT rather than serving as a general multi-provider LLM gateway for routing across diverse upstream vendors.

    OpenAI-CompatibleOpenAI-Compatible APIs
    View on GitHub↗5,983
  • fauxpilot/fauxpilotfauxpilot avatar

    fauxpilot/fauxpilot

    14,732View on GitHub↗

    Fauxpilot is a self-hosted AI coding assistant and local inference server. It functions as a proxy and API gateway that redirects traffic from IDE plugins to a local large language model, allowing for AI-assisted programming without external cloud dependencies. The project provides a specialized API emulation layer that mimics coding assistant protocols and a standardized OpenAI-compatible interface. This enables supported code editors to use local models for completions and suggestions by overriding default proxy URLs. The system includes capabilities for downloading and deploying local mod

    Fauxpilot is a self-hosted AI coding assistant proxy designed to route traffic to local inference servers for IDE plugins, which makes it a specialized development tool rather than a general-purpose unified LLM gateway for multiple commercial providers.

    PythonOpenAI-CompatibleOpenAI-Compatible APIs
    View on GitHub↗14,732
  • go-skynet/localaigo-skynet avatar

    go-skynet/LocalAI

    47,157View on GitHub↗

    LocalAI is a local generative AI platform and inference engine designed to host large language, vision, and audio models on private hardware. It functions as an API compatible gateway that mimics proprietary service endpoints, allowing existing third-party software to integrate with a self-hosted backend. The platform distinguishes itself as a distributed AI model orchestrator, capable of scaling inference across machine clusters using VRAM-aware routing and hardware coordination. It provides a unified interface for diverse open-source backends and supports self-hosted RAG infrastructure thro

    LocalAI is a local inference engine and self-hosted model runner rather than a multi-provider gateway designed to route requests across external LLM APIs like OpenAI and Anthropic.

    GoOpenAI-Compatible APIsOpenAI-Compatible Endpoints
    View on GitHub↗47,157
  • koboldai/koboldai-clientKoboldAI avatar

    KoboldAI/KoboldAI-Client

    3,912View on GitHub↗

    KoboldAI-Client is a web-based interface and toolkit for interacting with large language models. It functions as a local AI text generator for storytelling and conversational AI, providing a front end for models hosted either on local hardware or within cloud-provisioned environments. The system includes a persona manager that uses external modules and soft-prompting to guide AI responses toward specific characters and writing styles. It also provides an API wrapper that exposes a standardized, OpenAI-compatible REST API, allowing external applications to communicate with the hosted models.

    KoboldAI-Client is a local text-generation frontend and model runner rather than a centralized multi-provider gateway, though it does offer an OpenAI-compatible API for accessing hosted models.

    PythonOpenAI-Compatible API ServersOpenAI-Compatible APIs
    View on GitHub↗3,912
Compare the top 10 at a glance
RepositoryStarsLanguageLicenseLast push
lm-sys/routellm5.1KPythonApache-2.0Aug 10, 2024
coaidev/coai9.2KTypeScriptApache-2.0Mar 12, 2026
xiangsx/gpt4free-ts7.7KTypeScriptGPL-3.0Sep 4, 2024
berriai/litellm50.6KPythonNOASSERTIONJun 16, 2026
quantumnous/new-api39.7KGoAGPL-3.0Jun 23, 2026
mnfst/manifest7KTypeScriptMITJun 17, 2026
portkey-ai/gateway12.1KTypeScriptMITMay 25, 2026
xtekky/gpt4free66.3KPythonGPL-3.0Jun 14, 2026
popjane/free_chatgpt_api6K—mitNov 27, 2025
fauxpilot/fauxpilot14.7KPythonMITApr 9, 2024

Related searches

  • an open source alternative to OpenAI API
  • an open source platform for LLM hosting
  • an open source desktop application for running large language models
  • an open source engine for local LLMs
  • an open source AI gateway for LLM providers
  • an open source platform for local LLMs
  • an open source platform for local LLMs
  • an open source platform for debugging LLM applications