Skip to content

fix: default Cost Lab silence assumption to 5% - #86

Merged
szhaomsft merged 8 commits into
mainfrom
szhaomsft-pr-billing-review
Oct 28, 2026
Merged

szhaomsft merged 8 commits into
mainfrom
szhaomsft-pr-billing-review

Conversation

@szhaomsft

Copy link
Copy Markdown
Collaborator

Summary

  • Change Both parties silent (%) from 20% to 5% by default, using the shared defaults for initial load and reset.
  • Update UI hints and documentation: the default 90-second call now models 42.75 seconds per side, 427.5 input audio tokens, 855 output audio tokens, and 4.5 seconds of both-parties silence.
  • Update exact cost expectations and include 5% in silence-scaling coverage. Rates, text accounting, GPT Live session minutes, and the full-call per-minute denominator remain unchanged.

Validation

  • node --test tools\cost_calculator\calculator.test.mjs — all 26 tests pass after integrating latest main.
  • git diff origin/main...HEAD --check
  • Checked calculator source, UI hints, and documentation for stale 20% default examples.

The diff is limited to four cost-calculator files. No price-snapshot changes are included.

szhaomsft and others added 8 commits October 27, 2026 14:36
Add managed native-audio estimates for Azure Realtime using Pro meters and Azure Realtime Fast using an explicit Lite-tier assumption. Include comparison and CSV pricing provenance, prevent unverified BYOM substitutions, and cover pricing and scenario selection.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Move Azure Realtime Fast from native speech-to-speech to the managed realtime text response plus Azure HD pipeline. Retain the Lite-tier reference, update pricing notes and scenario guards, and cover hybrid costs and pipeline eligibility.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the Fast hybrid-pipeline correction over the identical original calculator changes already merged into main.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Switch Fast to the managed native speech-to-speech pipeline with Lite-tier audio input/output meters and no separate Azure HD output charge. Update selection, pricing notes, documentation, and regression coverage.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Preserve the native billing update over the previously merged hybrid baseline; calculator files on main match the pre-update HEAD.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Set the both-parties-silent default to 5 percent on load and reset, update the displayed examples and documentation, and adjust cost regression expectations.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@szhaomsft
szhaomsft merged commit 4d1a9f1 into main Oct 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant