Dual License Model
LLM Gateway uses a dual licensing approach:- Open Source - AGPLv3 for core functionality
- Commercial - Enterprise license for
ee/directory features
Open Source License (AGPLv3)
What’s Included
All code outside theee/ directory is licensed under AGPLv3:
- Gateway service (
apps/gateway) - API service (
apps/api) - UI dashboard (
apps/ui) - Playground (
apps/playground) - Documentation (
apps/docs) - Database schema (
packages/db) - Shared packages (
packages/*)
License Text
From the LICENSE file:AGPLv3 Requirements
If you use or modify the open source version:- Disclose source - Make your source code available
- License notice - Include copyright and license notices
- Network use - Provide source to users over a network
- Same license - Derivative works must use AGPLv3
Enterprise License
What’s Included
Code in theee/ directory requires a commercial license:
- Guardrails (
ee/guardrails/) - Security and content filtering - Audit logging (
ee/audit/) - Compliance audit trails - Future features - Advanced capabilities added to
ee/
License Text
From the ee/LICENSE file:Key Points
- Production use requires a valid Enterprise subscription
- Development/testing is allowed without a subscription
- Source code is available for inspection and modification
- Ownership - All modifications belong to LLMGateway, Inc.
- No redistribution - Cannot sell or distribute the software
When You Need an Enterprise License
Required
You need an Enterprise license if:- Using features from the
ee/directory in production - Running a hosted LLM Gateway service for others
- Deploying for commercial use with Enterprise features
- Need SLA guarantees and priority support
Not Required
You don’t need an Enterprise license for:- Development and testing with
ee/features - Using only open source features in production
- Contributing to the open source project
- Personal/hobby projects without Enterprise features
Obtaining an Enterprise License
Contact Sales
Email [email protected] with:
- Your organization name
- Expected usage (requests/month, users, etc.)
- Deployment type (self-hosted or managed)
- Required features
Review Terms
Review the Subscription Terms of Service at llmgateway.io/terms.
Pricing
Enterprise pricing is customized based on:- Users - Number of seats/users
- Scale - Request volume and data retention needs
- Support - Level of support required
- Deployment - Self-hosted vs managed
- SLA - Uptime and response time commitments
Subscription Terms
Billing
- Annual - Paid yearly, best pricing
- Monthly - Paid monthly, more flexibility
- Usage-based - Pay for actual usage
Commitment
- No lock-in - Cancel anytime
- Data export - Full data portability
- Source code access - Always available
Support
- Priority email - 24-hour response
- Slack channel - Direct engineering access
- Video calls - Architecture reviews
- Quarterly reviews - Business check-ins
Third-Party Components
LLM Gateway includes third-party open source components:- Hono - Web framework (MIT)
- Drizzle ORM - Database toolkit (Apache-2.0)
- Next.js - React framework (MIT)
- Radix UI - UI components (MIT)
- Redis - Caching (BSD-3-Clause)
- PostgreSQL - Database (PostgreSQL License)
Contributing
Open Source Contributions
Contributions to the open source portion are welcome:- Fork the repository
- Create a feature branch
- Submit a pull request
- Sign the CLA (Contributor License Agreement)
Enterprise Contributions
Contributions toee/ directory:
- Require prior approval from LLMGateway, Inc.
- Copyright remains with LLMGateway, Inc.
- May be relicensed for use in open source at our discretion
FAQ
Can I use LLM Gateway for free?
Can I use LLM Gateway for free?
Yes, the open source version (everything outside
ee/ directory) is free to use under AGPLv3. This includes all core gateway, API, and UI functionality.What if I only want some Enterprise features?
What if I only want some Enterprise features?
All features in
ee/ require an Enterprise license. Contact us to discuss a custom plan that fits your needs.Can I see the Enterprise source code?
Can I see the Enterprise source code?
Yes, all source code including
ee/ is available on GitHub. You can inspect, modify, and test it freely. Only production use requires a license.What happens if I cancel my Enterprise subscription?
What happens if I cancel my Enterprise subscription?
You can continue using the open source version. Enterprise features will be disabled. Your data remains accessible for export.
Can I self-host without an Enterprise license?
Can I self-host without an Enterprise license?
Yes, you can self-host the open source version. Enterprise features require a license regardless of hosting method.
Is the hosted version at llmgateway.io open source?
Is the hosted version at llmgateway.io open source?
The hosted version includes Enterprise features and is not open source. Self-hosting the open source version is an alternative.
Contact
For licensing questions:- Email: [email protected]
- GitHub: github.com/theopenco/llmgateway
- Website: llmgateway.io