github QuantumNous/new-api v1.0.0-rc.21

4 hours ago

Highlights

The headline change is GPT-5.6 cache write billing: OpenAI cache_write_tokens are now charged at the cache-creation rate, with accounting safeguards around cached and uncached prompt tokens. This release also improves pricing workflows, Playground controls, channel table usability, and billing/logging reliability.

New Features

  • Added GPT-5.6 cache write billing support, charging OpenAI cache_write_tokens at the cache-creation rate while keeping cached and uncached prompt token accounting consistent.
  • Pricing pages now support group-aware dynamic calculations and avoid showing sample-only special groups (#5906).
  • Model pricing settings now include an Unset Price Models tab plus status and sync filters, making it easier to find and configure models without prices (#6124).
  • The Playground now includes request parameter panels for chat and generation tuning, so users can adjust model behavior directly in the UI (#6044).
  • Channel lists now support manual column resizing and keep resized tables filling the available width (#5948).
  • Logs now show stream timing metrics and task detail views for clearer troubleshooting.
  • Added enhanced text protocol conversion and advanced custom routing capabilities for more flexible channel routing (#5825).

Bug Fixes

  • Browser translation can no longer corrupt React-rendered pages (#5963).
  • Custom model names that differ only by case can now be added consistently, including from multi-select controls (#6061).
  • Billing now handles quota pre-consumption and image-stream disconnect edge cases more accurately.
  • Subscription reset handling is more reliable under concurrent updates (#6057).
  • Codex response passthrough fields now sync correctly (#6018).
  • Playground model selector lists now stay synchronized after model changes.
  • Custom home iframes can trigger top navigation after a user action as intended (#5955).
  • Restored paste behavior for default channel connection settings.

Improvements

  • Upstream price sync tables in model pricing now load and render more efficiently (#6092).
  • Refined table badges, pricing layouts, sync dialogs, and default theme styling for a cleaner admin UI.
  • Font assets now resolve correctly across workspace layouts.

What's Changed

  • fix(web): prevent browser translation from mutating React roots by @cat0825 in #5963
  • feat(web): 支持渠道列表手动调整列宽 by @zuiho-kai in #5948
  • fix(web): let channel table fill available width by @zuiho-kai in #6031
  • chore: remove dead files resurrected by v1.0 launch commit by @feitianbubu in #6041
  • fix: use GORM v2 row locking for subscription resets by @seefs001 in #6057
  • feat(playground): add playground parameter settings panel by @QuentinHsu in #6044
  • fix: allow adding model names that differ only by case in multi-select by @feitianbubu in #6061
  • fix: remove sample special usable groups leaking into pricing page by @feitianbubu in #5906
  • perf(model-pricing): optimize upstream price sync tables by @QuentinHsu in #6092
  • fix(web): allow user-activated top navigation for custom home iframe by @Heykode in #5955
  • chore(deps): bump golang.org/x/crypto from 0.51.0 to 0.52.0 by @dependabot[bot] in #6096
  • fix: sync codex responses passthrough fields by @seefs001 in #6018
  • feat: enhance text protocol conversion and advanced custom routing by @Calcium-Ion in #5825
  • feat: add unset price models tab to model pricing settings by @feitianbubu in #6124

New Contributors

Full Changelog: v1.0.0-rc.20...v1.0.0-rc.21

Don't miss a new new-api release

NewReleases is sending notifications on new releases.