Skip to content

NetonAPI vs new-api / one-api ​

NetonAPI is not a fork of one-api / new-api. It was designed from the operator's side: prices are anchored to the official price, every channel carries its real cost, a price that would lose money cannot be saved, and every charge reconciles as "unit price × tokens". The table compares it with the two most widely used open-source relay projects.

CapabilityNetonAPI 1.0new-apione-api
PricingAnchored to the official price: sale = official × markup; groups and individual users can get "N% of official" per modelRatio system: model ratio × completion ratio × group ratio; fixed per-request price; tiered expression pricingRatio system: group ratio × model ratio × completion ratio
Per-user, per-model negotiated priceYes ("Negotiated pricing": find a user, discount model by model, in bulk)Via user group ratioVia user group ratio
Real channel costEach channel records its cost (official × discount / upstream pricing API / per-model manual); abnormal jumps wait for approvalNot covered in public docsNot covered in public docs
Margin protectionA price below channel cost cannot be saved; price health check shows the worst margin per group × channel; profit dashboardNot covered in public docsNot covered in public docs
Official price upkeepScheduled sync from a price source; changes held for operator approval; full price historyRatio settings, can sync upstream ratiosBuilt-in default ratios, edited by hand
Charge vs. displayed priceCharge = tokens × the unit price the user sees (rounded per item); console, price list and bill agree; unknown cache price bills at input pricePre-deduct, then settle the differencePre-deduct, then settle
LedgerTwo-phase reserve → settle, crash-recoverable, anomalies go to a manual review queue; price snapshot frozen per requestPre-deduct + post-settlePre-deduct + post-settle
Billing groupDecided by the API key; operators can pin a key to a group (dedicated route / special price)User group, selectable per tokenUser and channel groups
API key handlingShown once at creation, only a hash is stored; upstream keys encrypted at restViewable and copyable in the listViewable and copyable in the list
Inbound protocolsNative OpenAI (Chat, Responses), Anthropic and Gemini endpoints, converted in any direction (tools, images, thinking, cache usage preserved)Conversion among OpenAI Chat, Responses, Anthropic and Gemini; Realtime WebSocketUnified to the OpenAI format
Upstream typesOpenAI-compatible, Azure OpenAI, Anthropic, Gemini, AWS Bedrock, Vertex AIDozens, domestic and international30+ providers
Channel failoverPriority + weight; automatic failover; an upstream "model not found" moves to the next channel instead of failing the user; key auto-disable and cooldown; scheduled probesPriority + weight, retries, channel affinity, multiple keysLoad balancing, retries, auto-disable by success rate
Task APIs (Midjourney, video…)Not yetYes (JavaScript plugins)No
Operator permissionsMenu- and button-level permissions; preset gateway ops / finance / support / read-only rolesFine-grained permissionsAdmin / root
User sign-inUsername and password, SMS code (needs an SMS provider), email password resetOAuth / OIDC, passkeys, 2FAEmail, GitHub, Feishu, WeChat
Top-upManual top-up by admins, redemption codes, online payment (Alipay, aggregators, pluggable); payment secrets write-onlyRedemption codes, EPay, Stripe, subscriptionsRedemption codes, top-up link
Build and deployKotlin/Native single native executable, no JVM at runtime; PostgreSQL (Redis optional)Go binary / Docker; SQLite / MySQL / PostgreSQLGo binary / Docker; SQLite / MySQL
Status1.0.0Releasing continuously (v1.0.0-rc series)Latest release v0.6.10 (2025-02), none since

The new-api and one-api columns are compiled from their public READMEs and documentation (2026-11). "Not covered in public docs" means we found no description, not that the feature certainly does not exist; check their latest releases for details.

Want to see NetonAPI running? Sign up at Neton Cloud.

Last updated:

Apache-2.0 · Neton Cloud is an API relay platform built on NetonAPI