Source code
The 6bee.ai console (console.6bee.ai) and API (api.6bee.ai) run New API © QuantumNous, based on One API © 2023 JustSong, under the GNU Affero General Public License v3.0. We run it
with a small modification. As the license requires, the complete source of the version we run is available
here at no charge, under the same license.
Running version
- Version
v1.0.0-rc.49-6bee.13- Upstream source
- new-api v1.0.0-rc.49 (tar.gz)
sha25684eeed2085fbc90266f74898b601b4303707180d8dde7944d5e61342c3a3b30d - 6bee changes
- new-api-6bee.patch
sha256ed462a0e7fdb29156ea4ae367e3ca052832eabdc00710ff967d9489042f89a1e - What it changes
- Per-account rate and size limits, an anonymous per-account ID that can be sent upstream, hardened Epay top-ups with a built-in checkout page, USD-only prices and payments, anonymous traffic attribution, account notices by email and Telegram (with owner announcements and an unsubscribe link), and the console theme and client links.
Build
curl -LO https://github.com/QuantumNous/new-api/archive/refs/tags/v1.0.0-rc.49.tar.gz
curl -LO https://www.6bee.ai/new-api-6bee.patch
tar xzf v1.0.0-rc.49.tar.gz && cd new-api-1.0.0-rc.49
patch -p1 < ../new-api-6bee.patch
echo v1.0.0-rc.49-6bee.13 > VERSION
docker build -t new-api:6bee . The patch reads its limits from the environment: SIXBEE_MAX_CONCURRENCY, SIXBEE_INPUT_TPM, SIXBEE_MODEL_LIMITS,
SIXBEE_MAX_CONTEXT_TOKENS, SIXBEE_MAX_OUTPUT_TOKENS,
SIXBEE_DEFAULT_OUTPUT_TOKENS, the account-ID key from SIXBEE_ACCOUNT_ID_SECRET, and the checkout origin from SIXBEE_PAY_ORIGIN (optional).
Questions about the source: support@6bee.ai