head to head · open source
LiteLLM vs agentgateway
LiteLLM has 62,569 GitHub stars, 12,940 forks, 5,022 open issues and last shipped yesterday. agentgateway has 5,879 stars, 1,042 forks, 258 open issues and last shipped yesterday. LiteLLM leads on adoption by 964% (62,569 vs 5,879 stars). LiteLLM is written in Python under a custom or non-standard licence; agentgateway is written in Rust under Apache-2.0. LiteLLM has attracted 21% as many forks as stars, agentgateway 18%. LiteLLM was the more recently maintained of the two, and both are self-hostable with no licence fee. The two share 2 topic tags (ai-gateway, mcp-gateway), so they are genuine substitutes rather than adjacent tools.
Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.
← all 20902 open source comparisons
Side by side
| LiteLLM | agentgateway | |
|---|---|---|
| GitHub stars | ★ 63K | ★ 5.9K |
| License | Custom / other | Apache-2.0 |
| Written in | Python | Rust |
| Last push | 2026-11-02 | 2026-11-02 |
| Forks | ⑂ 13K | ⑂ 1.0K |
| Self-hosting | Yes | Yes |
| Data ownership | Your server | Your server |
pick LiteLLM if
- You weight community size — 63K stars and counting
- You want the Custom / other license terms
- Your stack matches Python
- You value the larger contributor base for long-term maintenance
pick agentgateway if
- You want the agentgateway feature set and don't need the biggest community
- You prefer the Apache-2.0 license terms
- Your stack matches Rust
- You evaluated both and agentgateway fits your workflow better
About LiteLLM
🚅 LiteLLM LiteLLM AI Gateway Open Source AI Gateway for 100+ LLMs. Self hosted. Enterprise ready. Call any LLM in OpenAI format. LiteLLM Proxy Server (AI Gateway) Hosted Proxy Enterprise Tier Website What is LiteLLM LiteLLM is an open source AI Gateway that gives you a single, unified interface to call 100+ LLM providers — OpenAI, Anthropic, Gemini, Bedrock, Azure, and more — using the OpenAI format. Use it as a Python SDK for direct library integration, or deploy the AI Gateway (Proxy Server) as a centralized service for your team or organization. Jump to LiteLLM Proxy (LLM Gateway) Docs Jump to Supported LLM…
read the full LiteLLM overview →
About agentgateway
The first complete connectivity solution for Agentic AI. Agentgateway is an open source proxy built on AI native protocols (MCP & A2A) that provides drop in security, observability, and governance for agent to LLM, agent to tool, and agent to agent communication across any framework and environment. Intro to Agentgateway Video Key Features LLM Gateway Route traffic to major LLM providers (OpenAI, Anthropic, Gemini, Bedrock, and more) through a unified OpenAI compatible API with budget and spend controls, prompt enrichment, load balancing, and failover. MCP Gateway Connect LLMs to tools and external data sources…
read the full agentgateway overview →
More in AI & Machine Learning
Related comparisons
More AI Development Platforms projects
Compare either of these against the rest of the AI Development Platforms field.
Frequently asked questions
Is LiteLLM or agentgateway more popular?
LiteLLM has 62,569 GitHub stars and agentgateway has 5,879. LiteLLM has the larger community by that measure.
Are LiteLLM and agentgateway free?
Both are open source. LiteLLM has no licence declared in this registry, and agentgateway is licensed under Apache-2.0. Both are free to self-host.
What is the difference between LiteLLM and agentgateway?
LiteLLM is written in Python and agentgateway in Rust. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.
Which should I choose, LiteLLM or agentgateway?
Choose LiteLLM if you want the larger community (62,569 stars) or its Custom / other licence terms. Choose agentgateway if its feature set, stack or Apache-2.0 licence fits better. Both are self-hostable.