Business Source License 1.1 (BSL 1.1)

Copyright (c) 2026 TokenSaverAI Contributors

Parameters:
- Licensor: TokenSaverAI Contributors
- Licensed Work: TokenSaverAI (all files in this repository)
- Additional Use Grant: You may use the Licensed Work for non-commercial purposes,
  including personal use and use inside internal tools at companies.
- Change Date: Four years from the date this file was first published.
- Change License: MIT License

On the fourth anniversary of the date this file was first published, this license
will automatically convert to the MIT License.

Until the Change Date, the following restrictions apply:

**Commercial Use Restriction:**
You may NOT use this software, in whole or in substantial part, to provide a
commercial service, hosted product, or resold offering (including as part of an
AI coding agent, devtool, or proxy service) without a separate commercial license
from the Licensor.

This includes, but is not limited to:
- Offering TokenSaverAI (or a derivative) as a paid or freemium service
- Embedding it into a commercial AI coding product and charging for usage
- Reselling access to the decomposition, routing, or proxy capabilities

The intent is to keep the local client and core ideas open for individuals and
builders, while protecting the commercial rights around the prepaid proxy model
and high-quality orchestration intelligence.

For commercial licensing inquiries, contact the maintainers.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

ADDITIONAL DISCLAIMER FOR PAID / PROXY USAGE:

This software includes functionality that can be used to operate a paid proxy
service that resells or intermediates access to third-party large language model
APIs (such as those provided by xAI, OpenAI, Anthropic, etc.).

THE AUTHORS AND COPYRIGHT HOLDERS PROVIDE NO WARRANTY that:
- Use of this software (including the proxy, virtual key, and prepaid billing
  components) complies with the terms of service of any third-party LLM provider.
- The prepaid balance tracking, virtual key system, or billing logic is accurate,
  secure, or free from errors.
- Any funds collected through the use of this software will be honored, refunded,
  or result in continued service.
- The software will be available, error-free, or suitable for any particular
  commercial purpose.

USERS WHO OPERATE PAID INSTANCES OF THIS SOFTWARE (including via Lemon Squeezy,
Stripe, or any other payment processor) ASSUME ALL RISK AND LIABILITY for
compliance with applicable laws, third-party terms of service, data protection
regulations, and consumer protection obligations.

IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY INDIRECT,
INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES, INCLUDING BUT NOT
LIMITED TO LOSS OF PROFITS, DATA, USE, GOODWILL, OR OTHER INTANGIBLE LOSSES,
RESULTING FROM (A) THE USE OR INABILITY TO USE THE SOFTWARE; (B) ANY CONDUCT OR
CONTENT OF ANY THIRD PARTY; (C) ANY CONTENT OBTAINED FROM THE SOFTWARE; OR (D)
UNAUTHORIZED ACCESS, USE, OR ALTERATION OF YOUR TRANSMISSIONS OR CONTENT,
WHETHER BASED ON WARRANTY, CONTRACT, STATUTE, TORT (INCLUDING NEGLIGENCE), OR
ANY OTHER LEGAL THEORY, WHETHER OR NOT WE HAVE BEEN INFORMED OF THE POSSIBILITY
OF SUCH DAMAGE.

YOU ARE SOLELY RESPONSIBLE FOR ENSURING THAT YOUR USE OF THIS SOFTWARE, INCLUDING
ANY PAID PROXY OR BILLING FUNCTIONALITY, COMPLIES WITH ALL APPLICABLE LAWS AND
THE TERMS OF SERVICE OF ANY LLM PROVIDERS WHOSE MODELS ARE ACCESSED THROUGH IT.
