github QuantumNous/new-api v1.0.0-rc.37
v1.0.0-rc.37- Pricing Configuration, Task Plugins, and Passkey

3 hours ago

Important

Pricing Configuration & Task Plugins / 定价配置与任务插件

旧定价模式即将弃用。定价配置可将当前价格转换为计费表达式草稿,预览生效价格后再保存。新编辑器支持按条件计价、按次、含时间条件,以及图片用量与图片缓存。gpt-image-2gpt-image-2.5-sunburstgpt-image-2.5-flare 已有内置计费表达式默认值;已有管理员覆盖仍然优先。

任务插件能力增强:支持流式输出;定价配置可按任务插件设置用量价格与计费表达式;插件详情展示更新日志,缺省回退英文。创建与编辑渠道时,任务插件可参与提供商与模型选择,并带出对应插件信息。

渠道的创建与编辑已统一:共用提供商选择、分页配置、模型发现、模型重定向与参数覆盖。创建渠道时会优先使用已可用的任务插件。

安全与访问支持多个通行密钥域名。通行密钥只认创建它的网站。移除仍在使用的域名会先预览受影响数量,并要求确认;被移除域名上的通行密钥将无法继续使用。

Legacy pricing will be deprecated soon. Pricing Configuration can convert current prices to an Expression draft; review the effective prices, then save to apply. The editors now support Pricing by condition, Per-request, Time-based, and image usage / image cache. gpt-image-2, gpt-image-2.5-sunburst, and gpt-image-2.5-flare have built-in Expression defaults; existing administrator overrides still take precedence.

Task Plugins capabilities are expanded: Streaming; Usage prices and Expression in Pricing Configuration per Task Plugin; and Changelog in plugin details with an English fallback. When creating or editing a Channel, Task Plugins can take part in provider and model selection and bring along the matching plugin info.

Channel create and edit are unified: shared provider selection, tabbed setup, model discovery, Model Mapping, and parameter overrides. Channel creation prefers an available Task Plugin.

Security & Access supports multiple Passkey domains. Passkeys only work on the website they were created for. Removing a domain still in use previews how many Passkeys are affected and requires confirmation; Passkeys on a removed domain will stop working.

Warning

Experimental Plugin System / 实验性插件系统

自 v1.0.0-rc.27 起引入的实验性插件系统仍处于测试阶段,并涉及较大的架构调整。如遇问题,请及时反馈。

从 v1.0.0-rc.26 或更早版本升级的用户,必须重新配置所有视频模型价格;已完成该配置的用户无需重复操作。本版本仍不推荐用于生产环境。

The experimental plugin system introduced in v1.0.0-rc.27 remains under testing and includes major architectural changes. Please report any issues promptly.

Users upgrading from v1.0.0-rc.26 or earlier must reconfigure all video model prices. Users who have already completed this step do not need to repeat it. This release is still not recommended for production use.

New Features

  • Added Convert to expression in Pricing Configuration: review a legacy-to-Expression draft with effective prices, then save to apply it. Legacy pricing will be deprecated soon.
  • Extended Expression editors and usage details: Pricing by condition, Per-request, Time-based, and image usage / image cache. Confirmation is required before replacing an Expression.
  • Added built-in Expression defaults for gpt-image-2, gpt-image-2.5-sunburst, and gpt-image-2.5-flare, including separate text and image cache prices. Existing administrator overrides stay in place.
  • Expanded Task Plugins capabilities: Streaming, Usage prices and Expression per Task Plugin, and localized Changelog (English fallback).
  • Unified Channel create and edit: shared provider selection, tabbed setup, inline model discovery, Model Mapping, and parameter overrides.
  • Let Task Plugins take part in Channel provider and model selection, including a gateway category and preferring available plugins for legacy task providers.
  • Added System updates reminders for administrators.
  • Added multiple Passkey domains in Security & Access, with impact preview and confirmation before removing a domain still in use.

Fixes and Improvements

  • Validate image quantities before reserving Quota, and keep image usage consistent through reservation, retries, and settlement.
  • Stop Pricing Configuration writes from resetting or failing to persist on some long-lived deployments.
  • Allow editing multi-key selection strategy without dropping existing keys; omit the strategy for single-key Channels.
  • Restore the add split button in Advanced Custom (#7289).
  • Correct Wan model protocols and usage accounting; preserve provider fields in Sora video queries; fix VolcEngine Channel model-list fetch (#7203).
  • Unify server error notifications so each failed operation is reported once, while preserving backend details.
  • Deduplicate /api/status requests (#7189).
  • Keep Model pricing content in one scroll area.

What's Changed

New Contributors

Full Changelog: v1.0.0-rc.36...v1.0.0-rc.37

Don't miss a new new-api release

NewReleases is sending notifications on new releases.