Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/check-price-drift.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ const metered = {
"research-report": anchored("research-report", /const researchReportCost = paid \? 0 : byokAdjustedCost\(req, (\d+)/),
// const videoCost = Math.max(700, duration * 140) → advertised base = the minimum
"video-generate": anchored("video-generate", /const videoCost = Math\.max\((\d+), duration \* \d+\)/),
// const sessionCreateCost = paid ? 0 : 5 (PR #98 moved sessions off literal deductCredits)
"session-create": anchored("session-create", /const sessionCreateCost = paid \? 0 : (\d+)/),
// const sessionMsgCost = paid ? 0 : applyModelCost(20, servedModel) — base scales per model
"session-message": anchored("session-message", /const sessionMsgCost = paid \? 0 : applyModelCost\((\d+), servedModel\)/),
};
for (const [tool, base] of Object.entries(metered)) {
if (charged[tool] !== undefined) {
Expand Down
Loading