Comparison
LibreChat vs ai-gateway
Verdict
Pick LibreChat if libreChat provides a versatile AI chat platform for self-hosting with extensive features like model switching, code interpretation, and secure multi-user authentication; pick ai-gateway if ai-gateway from Ferro Labs supports over 30 LLMs with integrated caching, guardrails, A/B testing, and cost controls, making it ideal for managing multiple language models in a production environment.
Markdown twin · LibreChat alternatives · ai-gateway alternatives
GraphCanon updated today
Trust & integrity
| Signal | LibreChat | ai-gateway |
|---|---|---|
| Maintenance | Very active (0d since push) As of today · github_public_v1 | Very active (2d since push) As of 2w · github_public_v1 |
| Provenance | Not a fork · Personal account As of today · github_public_v1 | Not a fork · Organization account As of 2w · github_public_v1 |
| OSV dependency advisories | No lockfile (source not queried) As of 1mo · osv@v1 | Published findings As of 1mo · osv@v1 |
| deps.dev advisories | Not queried deps.dev@v1 | Not queried deps.dev@v1 |
| OpenSSF Scorecard | Not queried openssf-scorecard@v1 | Not queried openssf-scorecard@v1 |
Tagline
- LibreChat
- Enhanced ChatGPT Clone with extensive features and integrations for self-hosting
- ai-gateway
- Unified AI Gateway for multiple LLMs with caching, guardrails, A/B testing, and cost controls
Stars
- LibreChat
- 42k
- ai-gateway
- 219
Forks
- LibreChat
- 8.8k
- ai-gateway
- 33
Open issues
- LibreChat
- 725
- ai-gateway
- 63
Language
- LibreChat
- TypeScript
- ai-gateway
- Go
Adopt for
- LibreChat
- LibreChat provides a versatile AI chat platform for self-hosting with extensive features like model switching, code interpretation, and secure multi-user authentication.
- ai-gateway
- ai-gateway from Ferro Labs supports over 30 LLMs with integrated caching, guardrails, A/B testing, and cost controls, making it ideal for managing multiple language models in a production environment.
Persona
- LibreChat
- -
- ai-gateway
- -
Runtime
- LibreChat
- -
- ai-gateway
- -
License
- LibreChat
- MIT
- ai-gateway
- Apache-2.0 - a permissive free software license
Last pushed
- LibreChat
- Aug 25, 2026
- ai-gateway
- Aug 7, 2026
Categories
- LibreChat
- AI Agents, Data & Retrieval, Developer Tools, Evaluation & Observability, Inference & Serving, Model Training
- ai-gateway
- Inference & Serving, Model Training
Trust and health
Days since push
- LibreChat
- 0d
- ai-gateway
- 2d
Open issues (now)
- LibreChat
- 725
- ai-gateway
- 63
Stars delta
- LibreChat
- +1.2k (30d)
- ai-gateway
- Unknown
Open issues delta
- LibreChat
- +100 (30d)
- ai-gateway
- Unknown
Owner type
- LibreChat
- User
- ai-gateway
- Organization
OSV dependency advisories
- LibreChat
- No lockfile (source not queried)
- ai-gateway
- Published findings
Full report
- LibreChat
- Trust report
- ai-gateway
- Trust report
Choose LibreChat if…
- LibreChat is primarily TypeScript; ai-gateway is Go.
- License: LibreChat is MIT, ai-gateway is Apache-2.0.
- Tags unique to LibreChat: ai, anthropic, artifacts, aws.
- Also covers AI Agents, Data & Retrieval, Developer Tools, Evaluation & Observability.
- LibreChat ships Docker support for self-hosted deployment.
- Need to support multiple AI models and protocols in one tool
When NOT to use LibreChat
- Looking for a simpler solution with fewer configurability options
- Do not require extensive third-party service integrations or complex customizations
Choose ai-gateway if…
- ai-gateway is primarily Go; LibreChat is TypeScript.
- License: ai-gateway is Apache-2.0, LibreChat is MIT.
- Tags unique to ai-gateway: ai-gateway, litellm, llm-cost, llm-proxy.
- When you need to integrate more than 30 different LLM services including OpenAI and Anthropic
When NOT to use ai-gateway
- If your project only involves one or two LLMs which does not necessitate the gateway's broad compatibility features
- For small-scale projects that do not require comprehensive cost analysis tools
- When custom integration for specific guardrails is required, as ai-gateway offers generalized settings
Explore
Sources
Every stat on this page traces to a dated GitHub sync, license file, enrichment field, or trust scan.
- GitHub stars (danny-avila/LibreChat) · observed Aug 25, 2026
- GitHub forks (danny-avila/LibreChat) · observed Aug 25, 2026
- Last push (danny-avila/LibreChat) · observed Aug 25, 2026
- License file (MIT) · observed Aug 25, 2026
- Decision facts (enrichment) · observed Jul 12, 2026
- Trust scan (lockfile / OSV) · observed Jul 11, 2026
- GitHub stars (ferro-labs/ai-gateway) · observed Aug 9, 2026
- GitHub forks (ferro-labs/ai-gateway) · observed Aug 9, 2026
- Last push (ferro-labs/ai-gateway) · observed Aug 7, 2026
- License file (Apache-2.0) · observed Aug 9, 2026
- Decision facts (enrichment) · observed Jul 17, 2026
- Trust scan (lockfile / OSV) · observed Jul 15, 2026
GitHub stars on cards: LibreChat 42k · ai-gateway 219 (synced Aug 25, 2026).
Common questions
- What is the difference between LibreChat and ai-gateway?
- LibreChat: Enhanced ChatGPT Clone with extensive features and integrations for self-hosting. ai-gateway: Unified AI Gateway for multiple LLMs with caching, guardrails, A/B testing, and cost controls. See the comparison table for live GitHub stats and shared categories.
- When should I choose LibreChat over ai-gateway?
- Choose LibreChat over ai-gateway when LibreChat is primarily TypeScript; ai-gateway is Go; License: LibreChat is MIT, ai-gateway is Apache-2.0; Tags unique to LibreChat: ai, anthropic, artifacts, aws; Also covers AI Agents, Data & Retrieval, Developer Tools, Evaluation & Observability; LibreChat ships Docker support for self-hosted deployment; Need to support multiple AI models and protocols in one tool.
- When should I choose ai-gateway over LibreChat?
- Choose ai-gateway over LibreChat when ai-gateway is primarily Go; LibreChat is TypeScript; License: ai-gateway is Apache-2.0, LibreChat is MIT; Tags unique to ai-gateway: ai-gateway, litellm, llm-cost, llm-proxy; When you need to integrate more than 30 different LLM services including OpenAI and Anthropic.
- When should I avoid LibreChat?
- Looking for a simpler solution with fewer configurability options Do not require extensive third-party service integrations or complex customizations
- When should I avoid ai-gateway?
- If your project only involves one or two LLMs which does not necessitate the gateway's broad compatibility features For small-scale projects that do not require comprehensive cost analysis tools When custom integration for specific guardrails is required, as ai-gateway offers generalized settings
- Is LibreChat or ai-gateway more popular on GitHub?
- LibreChat has more GitHub stars (42,443 vs 219). Stars measure visibility, not whether either tool fits your constraints.
- Are LibreChat and ai-gateway open source?
- Yes - both are open-source projects on GitHub (LibreChat: MIT, ai-gateway: Apache-2.0).
- Where can I find alternatives to LibreChat or ai-gateway?
- GraphCanon lists graph-backed alternatives at LibreChat alternatives and ai-gateway alternatives (LibreChat markdown twin, ai-gateway markdown twin), ranked by typed relationship edges rather than popularity votes.
- Is there a machine-readable version of this comparison?
- Yes. The markdown twin at this comparison mirrors this page for agents and LLM crawlers, with the same stats table and FAQ answers.
- Which is better maintained, LibreChat or ai-gateway?
- LibreChat: Very active. ai-gateway: Very active. Compare maintenance labels, days since push, and release cadence in the trust section below - stars alone do not measure maintenance.
- Where are the full trust reports for LibreChat and ai-gateway?
- GraphCanon publishes per-repo trust reports with dated maintenance, provenance, and scan summaries: LibreChat trust report; ai-gateway trust report.