Skip to content

📖 Project Introduction

New API Logo

New API

NewAPI_Trendshift

New API is a next-generation large model gateway and AI asset management system, developed based on One API. The project aims to provide a unified interface for managing and utilizing various AI model services, including but not limited to OpenAI, Anthropic, Gemini, and Midjourney.

🤝 Our Trusted Partners

In no particular order

📜 License

New API uses a Usage-Based Dual Licensing model:

Core Principles:

  • Default License: The project is available by default under the GNU Affero General Public License v3.0 (AGPLv3). Any user may use it for free, provided they comply with the AGPLv3 terms and the additional restrictions listed below.
  • Commercial License: In specific commercial scenarios, or when you require rights beyond AGPLv3, you must obtain a Commercial License.

The full and latest license text can be found here: Project LICENSE.

1. Open Source License (AGPLv3) - For Basic Usage

  • Under the terms of AGPLv3, you are free to use, modify, and distribute New API. The full text of AGPLv3 is available at https://www.gnu.org/licenses/agpl-3.0.html.
  • Core Obligation: If you modify New API and provide it as a network service (SaaS), or distribute a modified version, you must make the corresponding complete source code available to all users under the AGPLv3 license.
  • Additional Restriction (Important): When using only the AGPLv3 open source license, you must retain all original branding, LOGO, and copyright statement information in the project code. You are prohibited from modifying, removing, or concealing this information in any form. A Commercial License is required to remove them.
  • Before use, please ensure you carefully read and understand all terms of AGPLv3 and the above additional restriction.

2. Commercial License (Commercial License) - For Advanced Scenarios & Closed Source Needs

In any of the following scenarios, you must contact us to obtain and sign a Commercial License to legally use New API:

  • Scenario 1: Removal of Branding and Copyright Information
    You wish to remove the New API LOGO, copyright statements in the UI interface, or other branding elements from your product or service.

  • Scenario 2: Avoidance of AGPLv3 Open Source Obligations
    You have modified New API and wish to:

  • Offer it as a network service (SaaS) without disclosing your modified source code to your service users.
  • Distribute a software product integrated with New API without releasing your product under the AGPLv3 license or open-sourcing the code.

  • Scenario 3: Enterprise Policy & Integration Needs

  • Your organization’s policies, client contracts, or project requirements prohibit the use of AGPLv3-licensed software.
  • You require OEM integration and need to redistribute New API as part of your closed-source commercial product.

  • Scenario 4: Need for Commercial Support and Assurances
    You require commercial assurances not provided by AGPLv3, such as official technical support.

Obtaining a Commercial License:
Please contact the New API team via email at [email protected] to discuss commercial authorization matters.

3. Contributions

  • We welcome community contributions to New API. All contributions submitted to this project (e.g., via Pull Request) are deemed to be provided under the AGPLv3 license.
  • By submitting a contribution, you agree that your code is licensed to this project and all subsequent users under the AGPLv3 license (regardless of whether those users ultimately follow AGPLv3 or a Commercial License).
  • You also understand and agree that your contribution may be included in versions of New API distributed under a Commercial License.

4. Other Terms

  • The specific terms, conditions, and pricing of the Commercial License are governed by a formal commercial license agreement executed by both parties.
  • Project maintainers reserve the right to update this licensing policy as needed. Relevant updates will be notified through official project channels (e.g., code repository, official website).

New API Licensing (English)

This page describes the software license of the New API project (not this documentation site).

This project uses a Usage-Based Dual Licensing model.

Core Principles:

  • Default License: The project is available by default under the GNU Affero General Public License v3.0 (AGPLv3), provided you comply with both the AGPLv3 terms and the additional restriction below.
  • Commercial License: For specific commercial scenarios, or if you require rights beyond AGPLv3, you must obtain a Commercial License.

For the full and latest license text, see the project's LICENSE.

1. Open Source License: AGPLv3 – For Basic Usage

  • Under the terms of AGPLv3, you are free to use, modify, and distribute New API. Full text: https://www.gnu.org/licenses/agpl-3.0.html.
  • Core Obligation: If you modify New API and provide it as a network service (SaaS), or distribute a modified version, you must make the complete corresponding source code available to all users under AGPLv3.
  • Additional Restriction (Important): When using only the AGPLv3 license, you must retain all original branding, logos, and copyright statements in the project. You are prohibited from modifying, removing, or concealing such information. A Commercial License is required to remove them.
  • Please read and ensure you fully understand AGPLv3 and the above additional restriction before use.

2. Commercial License – For Advanced Scenarios & Closed Source Needs

You must contact us to obtain and sign a Commercial License in any of the following scenarios to legally use New API:

  • Scenario 1: Removal of Branding and Copyright
    You wish to remove the New API logo, copyright statement, or other branding elements from your product or service.

  • Scenario 2: Avoidance of AGPLv3 Open Source Obligations
    You have modified New API and wish to:

  • Offer it as a network service (SaaS) without disclosing your modifications' source code to your users.
  • Distribute a software product integrated with New API without releasing your product under AGPLv3 or open-sourcing the code.

  • Scenario 3: Enterprise Policy & Integration Needs

  • Your organization’s policies, client contracts, or project requirements prohibit the use of AGPLv3-licensed software.
  • You require OEM integration and need to redistribute New API as part of your closed-source commercial product.

  • Scenario 4: Commercial Support and Assurances
    You require commercial assurances not provided by AGPLv3, such as official technical support.

Obtaining a Commercial License:
Please contact the New API team at [email protected] to discuss commercial licensing.

3. Contributions

  • Community contributions are welcome. All contributions (e.g., via Pull Request) are deemed to be provided under AGPLv3.
  • By submitting a contribution, you agree your code is licensed to this project and all downstream users under AGPLv3 (regardless of whether they ultimately operate under AGPLv3 or a Commercial License).
  • You also acknowledge your contribution may be included in Commercial License distributions of New API.

4. Other Terms

  • The specific terms, conditions, and pricing of the Commercial License are governed by a formal commercial license agreement executed by both parties.
  • Project maintainers reserve the right to update this licensing policy via official channels (e.g., repository, website).

⚠️ Disclaimer

Usage Notice

  1. Users must comply with OpenAI's Terms of Use and relevant laws and regulations
  2. This project is intended for personal study only, stability is not guaranteed, and technical support is not provided
  3. Please comply with the relevant provisions of the Interim Measures for the Management of Generative Artificial Intelligence Services
  4. Please comply with local policies and regulations