Skip to content

v1.2.0 — Configurable dated pricing + cost by course

Choose a tag to compare

@dta121 dta121 released this 29 May 12:30
· 14 commits to main since this release

Added

Admin-editable, date-effective TTS pricing

A new TTS pricing setting (Site admin → Plugins → AI Reader) replaces the hard-coded cost rates. Enter one model per line as model, rate, date:

  • rate = USD per 1,000,000 narration characters.
  • date (optional, YYYY-MM-DD) = effective-from date. Each asset is priced at the rate in force when it was generated, so raising a price only affects future audio — historical cost records stay accurate. To change a price going forward, add a new dated line; don't edit old ones.
  • * works as a catch-all model.

Defaults match the previous built-in rates, so nothing changes until an admin edits them. (There is no OpenAI pricing API to pull from, so rates are maintained here, not fetched live.)

Cost-by-course report

A new page under Site administration → Reports → AI Reader cost by course lists every course that generated narration, its audio count, and estimated total spend — ordered by spend, with a grand total. Linked from the audio log report.

Changed

  • The audio log's per-asset cost and summary total now use the configured, date-effective rates.

Full changelog: v1.1.0...v1.2.0