Skip to main content

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 the ee/ 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:
Copyright (c) 2025-present LLMGateway, Inc.

Portions of this software are licensed as follows:

* All content that resides under the "ee/" directory of this 
  repository (Commercial License) is licensed under the license 
  defined in "ee/LICENSE".
  
* All third party components incorporated into the LLMGateway 
  Software are licensed under the original license provided by 
  the owner of the applicable component.
  
* Content outside of the above mentioned directories or 
  restrictions above is available under the "AGPLv3" license.

AGPLv3 Requirements

If you use or modify the open source version:
  1. Disclose source - Make your source code available
  2. License notice - Include copyright and license notices
  3. Network use - Provide source to users over a network
  4. Same license - Derivative works must use AGPLv3
Full text: https://www.gnu.org/licenses/agpl-3.0.html

Enterprise License

What’s Included

Code in the ee/ 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:
LLMGateway Enterprise License

Copyright (c) 2025-present LLMGateway, Inc.

IMPORTANT: This license applies only to the contents of the 
"ee/" directory of this repository.

This software and associated documentation files may only be 
used in production, if you (and any entity that you represent) 
have agreed to, and are in compliance with, the LLMGateway 
Subscription Terms of Service, available at 
https://llmgateway.io/terms (the "Enterprise Terms"), or other 
agreement governing the use of the Software.

You may copy and modify the Software for development and testing 
purposes, without requiring a subscription.

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

1

Contact Sales

Email [email protected] with:
  • Your organization name
  • Expected usage (requests/month, users, etc.)
  • Deployment type (self-hosted or managed)
  • Required features
2

Review Terms

Review the Subscription Terms of Service at llmgateway.io/terms.
3

Sign Agreement

Sign the Enterprise subscription agreement.
4

Receive License

Receive your license key and access to Enterprise features.

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
Contact [email protected] for a quote.

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)
All third-party components retain their original licenses.

Contributing

Open Source Contributions

Contributions to the open source portion are welcome:
  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request
  4. Sign the CLA (Contributor License Agreement)
See CONTRIBUTING.md.

Enterprise Contributions

Contributions to ee/ directory:
  • Require prior approval from LLMGateway, Inc.
  • Copyright remains with LLMGateway, Inc.
  • May be relicensed for use in open source at our discretion

FAQ

Yes, the open source version (everything outside ee/ directory) is free to use under AGPLv3. This includes all core gateway, API, and UI functionality.
All features in ee/ require an Enterprise license. Contact us to discuss a custom plan that fits your needs.
Yes, all source code including ee/ is available on GitHub. You can inspect, modify, and test it freely. Only production use requires a license.
You can continue using the open source version. Enterprise features will be disabled. Your data remains accessible for export.
Yes, you can self-host the open source version. Enterprise features require a license regardless of hosting method.
The hosted version includes Enterprise features and is not open source. Self-hosting the open source version is an alternative.

Contact

For licensing questions:

Build docs developers (and LLMs) love