|
| 1 | +# Created with YamlCreate.ps1 Dumplings Mod |
| 2 | +# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.12.0.schema.json |
| 3 | + |
| 4 | +PackageIdentifier: QuantumNous.NewAPI |
| 5 | +PackageVersion: 0.13.0 |
| 6 | +PackageLocale: zh-CN |
| 7 | +Publisher: Quantum Nous |
| 8 | +PublisherUrl: https://www.newapi.ai/ |
| 9 | +PublisherSupportUrl: https://www.newapi.ai/support/ |
| 10 | +Author: 锟腾科技(杭州)有限公司 |
| 11 | +PackageName: New API |
| 12 | +PackageUrl: https://www.newapi.ai/ |
| 13 | +License: AGPL-3.0 |
| 14 | +LicenseUrl: https://github.com/QuantumNous/new-api/blob/HEAD/LICENSE |
| 15 | +Copyright: Copyright © 2026 Quantum Nous. All Rights Reserved. |
| 16 | +ShortDescription: 新一代大模型网关与 AI 资产管理系统 |
| 17 | +Description: New API 是一个新一代大模型网关与 AI 资产管理系统,基于 One API 进行二次开发。该项目旨在提供一个统一的接口来管理和使用各种 AI 模型服务,包括但不限于 OpenAI、Anthropic、Gemini和 Midjourney 等。 |
| 18 | +Tags: |
| 19 | +- anthropic-api |
| 20 | +- openai-api |
| 21 | +- openai-response |
| 22 | +- 人工智能 |
| 23 | +- 大语言模型 |
| 24 | +- 聊天机器人 |
| 25 | +ReleaseNotes: |- |
| 26 | + Highlights |
| 27 | + This release introduces powerful support for expr expression-based tiered billing, allowing administrators to configure complex, dynamic pricing rules. A simple use case for this feature is a pricing expression like tokens <= 128000 ? 0.002 : 0.004, where the system will automatically apply a lower rate for usage under 128K tokens and a higher rate for anything above that threshold. |
| 28 | + New Features |
| 29 | + - Introduces support for evaluating expr expressions in the billing system, enabling dynamic tiered pricing with configurable presets (#4409). |
| 30 | + - Adds a UI for tool pricing settings and improves tool call quota calculations. |
| 31 | + - Displays the user ID in admin top-up bills for easier tracking (#4349). |
| 32 | + - Adds a 'last used time' column to the tokens table (#4372). |
| 33 | + - Relaxes token key column length requirements to support the migration of longer legacy token keys (#4401). |
| 34 | + Bug Fixes |
| 35 | + - Ensures the pricing calculation logic only applies the N ratio to image models (#4412). |
| 36 | + - Preserves text tool surcharges properly during tiered billing settlement (#4162). |
| 37 | + - Corrects the completion ratio configuration for the gpt-5.5 model (#4414). |
| 38 | + - Fixes the model pricing UI to use the correct display type (#4426). |
| 39 | + - Resolves runtime crashes and edge cases within the tiered pricing editor and settlement logic. |
| 40 | + - Updates channel testing to properly support and evaluate tiered billing models. |
| 41 | + Improvements |
| 42 | + - Adds preset pricing tiers for Doubao Seed 1.8 to enhance discount calculations. |
| 43 | + - Replaces Card components with divs to improve overall layout consistency. |
| 44 | + - Updates internal billing calculations to use quota per unit for better accuracy. |
| 45 | +
|
| 46 | + What's Changed |
| 47 | + - fix(channel-test): support tiered billing model tests by @yyhhyyyyyy in https://github.com/QuantumNous/new-api/pull/4145 |
| 48 | + - 在管理员充值账单中显示用户 ID by @uskyu in https://github.com/QuantumNous/new-api/pull/4349 |
| 49 | + - 增加令牌最后使用时间 by @feitianbubu in https://github.com/QuantumNous/new-api/pull/4372 |
| 50 | + - chore(deps): bump github.com/jackc/pgx/v5 from 5.9.0 to 5.9.2 by @dependabot[bot] in https://github.com/QuantumNous/new-api/pull/4397 |
| 51 | + - chore(deps-dev): bump @xmldom/xmldom from 0.8.12 to 0.8.13 in /electron by @dependabot[bot] in https://github.com/QuantumNous/new-api/pull/4399 |
| 52 | + - Relax token key column length for legacy migration compatibility by @XiaoAI1024 in https://github.com/QuantumNous/new-api/pull/4401 |
| 53 | + - fix(billing): preserve text tool surcharges in tiered settlement by @yyhhyyyyyy in https://github.com/QuantumNous/new-api/pull/4162 |
| 54 | + - feat: support for tiered billing expressions in the billing system by @Calcium-Ion in https://github.com/QuantumNous/new-api/pull/4409 |
| 55 | + - fix(image): only price image model use N ratio by @xyfacai in https://github.com/QuantumNous/new-api/pull/4412 |
| 56 | + - fix: correct gpt-5.5 completion ratio by @jingx8885 in https://github.com/QuantumNous/new-api/pull/4414 |
| 57 | + - fix: model pricing use correct display type by @feitianbubu in https://github.com/QuantumNous/new-api/pull/4426 |
| 58 | + New Contributors |
| 59 | + - @uskyu made their first contribution in https://github.com/QuantumNous/new-api/pull/4349 |
| 60 | + - @XiaoAI1024 made their first contribution in https://github.com/QuantumNous/new-api/pull/4401 |
| 61 | + - @jingx8885 made their first contribution in https://github.com/QuantumNous/new-api/pull/4414 |
| 62 | + Full Changelog: https://github.com/QuantumNous/new-api/compare/v0.12.15...v0.13.0 |
| 63 | +ReleaseNotesUrl: https://github.com/QuantumNous/new-api/releases/tag/v0.13.0 |
| 64 | +Documentations: |
| 65 | +- DocumentLabel: 使用指南 |
| 66 | + DocumentUrl: https://www.newapi.ai/guide/ |
| 67 | +- DocumentLabel: 维基百科 |
| 68 | + DocumentUrl: https://www.newapi.ai/wiki/ |
| 69 | +- DocumentLabel: 接口文档 |
| 70 | + DocumentUrl: https://www.newapi.ai/api/ |
| 71 | +ManifestType: defaultLocale |
| 72 | +ManifestVersion: 1.12.0 |
0 commit comments