Skip to content

20 LiteLLM alternatives

LiteLLM: Open-source, self-hosted AI gateway and Python SDK: one OpenAI-compatible API for 100+ providers, with spend tracking, budgets and guardrails. 20 apps do similar work, most sharing Open Source, Self-Hosted and Cost Optimization, ranked by how much they have in common with LiteLLM.

Why look for a LiteLLM alternative? LiteLLM's free plan comes with paid upgrades; 7 alternatives below are free outright. Several also cover Developers, Coding Agent and Observability, which LiteLLM's listing does not mention.

Back to LiteLLM

LiteLLM vs. the top 5 alternatives

AppPricingFree planCategoryCompared with LiteLLM
LiteLLMFreemiumYesCoding & DevelopmentThe app these are compared with
HeliconeFreemiumYesCoding & DevelopmentAlso covers Observability
PortkeyFreemiumYesCoding & DevelopmentAlso covers MCP and Observability
ParitokFreemiumYesCoding & DevelopmentAlso covers Coding Agent and Developers
E2BFreemiumYesCoding & DevelopmentAlso covers Developers and Sandbox
OpenRouterFreemiumYesCoding & DevelopmentAlso covers API and Developers

All 20 LiteLLM alternatives

  1. Open-source AI gateway and LLM observability: one OpenAI-compatible endpoint for 100+ models, with fallbacks, caching, cost tracking and request tracing.

    vs LiteLLM: Also covers Observability

    Shared with LiteLLM: Cost Optimization, LLM Gateway, Open Source, Self-Hosted

  2. Portkey (Palo Alto Networks)

    AI gateway and LLMOps platform: one API to 1,600+ models with fallbacks, caching, guardrails, cost tracking and prompt management.

    vs LiteLLM: Also covers MCP and Observability

    Shared with LiteLLM: Cost Optimization, LLM Gateway, Open Source

  3. An open-source proxy that sits between your coding agent and the model, compressing tool schemas, file reads and stale history to cut token bills.

    vs LiteLLM: Also covers Coding Agent and Developers

    Shared with LiteLLM: Cost Optimization, LLM Gateway, Open Source

  4. Secure cloud sandboxes where AI agents can run untrusted code safely, starting in milliseconds.

    vs LiteLLM: Also covers Developers and Sandbox

    Shared with LiteLLM: Open Source, Python, Self-Hosted

  5. One API and one bill for hundreds of language models, with automatic failover between providers.

    vs LiteLLM: Also covers API and Developers

    Shared with LiteLLM: Cost Optimization, LLM Gateway

  6. One API for agent harnesses — run Codex, Claude Code or Hermes behind your product with shared sessions, streaming, files and cost controls, and swap harness with a config change.

    vs LiteLLM: Also covers API and Coding Agent

    Shared with LiteLLM: Cost Optimization, LLM Gateway

  7. AI gateway and LLM router: one OpenAI-compatible API for 600+ models, with fallback, load-balancing, latency and auto-routing policies, spend limits and EU routing.

    vs LiteLLM: Also covers AI Governance and API

    Shared with LiteLLM: Cost Optimization, LLM Gateway

  8. ngrok

    A hosted LLM gateway from ngrok: one base URL and one key for public providers, your own keys and self-hosted models, with failover, scoped access and cost analytics.

    vs LiteLLM: No free plan · Also covers API and Developers

    Shared with LiteLLM: Cost Optimization, LLM Gateway

  9. Open-source, self-hosted control plane that runs teams of AI agents like a company, with org charts, tasks, budgets and approvals.

    vs LiteLLM: Free to use · Also covers Agents and Coding Agent

    Shared with LiteLLM: Cost Optimization, Open Source, Self-Hosted

  10. IBM (DataStax)

    Open-source, MIT-licensed visual builder for AI agents, RAG apps and MCP servers, maintained by IBM's DataStax and extensible in Python.

    vs LiteLLM: Free to use · Also covers Agents and MCP

    Shared with LiteLLM: Open Source, Python, Self-Hosted

  11. HKUDS

    Open-source, self-hosted personal AI agent you run yourself — browser UI, terminal or your chat apps, with memory, MCP tools and scheduled automations.

    vs LiteLLM: Free to use · Also covers Agents and Local-First

    Shared with LiteLLM: Open Source, Python, Self-Hosted

  12. yetone

    Free, open-source model switcher that lets Claude Code, Codex, Gemini CLI and other coding agents run any provider's model through one local gateway.

    vs LiteLLM: Free to use · Also covers Claude Code and Codex

    Shared with LiteLLM: LLM Gateway, Open Source

  13. Free, open-source local MCP gateway: register each server once, share it with every AI client, and cut tool-definition tokens by up to 91%.

    vs LiteLLM: Also covers Developers and Integrations

    Shared with LiteLLM: Cost Optimization, Open Source

  14. Abhishek Iyer

    A local, keyboard-driven diff viewer built for the huge changes coding agents produce - and it remembers what you have already seen.

    vs LiteLLM: Free to use · Also covers CLI and Code Review

    Shared with LiteLLM: Open Source, Python

  15. The framework and observability platform most teams use to build, debug, and ship LLM agents.

    vs LiteLLM: Also covers Developers and Evaluation

    Shared with LiteLLM: Open Source, Python

  16. All Hands AI

    OpenHands — the leading open-source coding agent platform, self-hostable or run in the cloud.

    vs LiteLLM: Also covers Coding Agent and Developers

    Shared with LiteLLM: Open Source, Self-Hosted

  17. Jun Kim

    Menu-bar LLM inference server for Apple Silicon, with continuous batching and tiered KV caching that keeps local models fast enough for real coding work.

    vs LiteLLM: Free to use · Also covers Inference and Local-First

    Shared with LiteLLM: Open Source, Self-Hosted

  18. An open-source platform for durable AI agents and background workflows written in TypeScript, with retries, queues, realtime streaming and run observability.

    vs LiteLLM: Also covers Agents and Durable Execution

    Shared with LiteLLM: Open Source, Self-Hosted

  19. Roo Code

    Self-hostable cloud coding agent from the Roo Code team — investigates repos, verifies its own work and opens pull requests, driven from Slack, Teams, Discord or Telegram rather than an IDE.

    vs LiteLLM: Also covers Automation and Coding Agent

    Shared with LiteLLM: Open Source, Self-Hosted

  20. A self-hosted, feature-rich chat interface that puts a polished front end on Ollama and any OpenAI-compatible API.

    vs LiteLLM: Free to use · Also covers Chatbot and Local Models

    Shared with LiteLLM: Open Source, Self-Hosted