Skip to content

Pricing copy: mock interviews billed by the minute, sessions stop at 0 - #21

Merged
alpha5611331 merged 2 commits into
mainfrom
feat/minute-billing
Oct 6, 2026
Merged

alpha5611331 merged 2 commits into
mainfrom
feat/minute-billing

Conversation

@alpha5611331

Copy link
Copy Markdown
Member

Closes #20
Backend: PowerInterviewAI/backend#67 · Client: PowerInterviewAI/client-app#138

What

Live and mock now share one rate, 10 credits a minute, and a session stops when the credits run out. A mock interview still delivers its report.

  • src/lib/plans.ts: CREDIT_RATES becomes { perMinute: 10 }. mockSessionPrice is replaced by mockSessionMinutes, which mirrors the desktop app's estimate.
  • Pricing section "What a session spends": the mock line is now per minute (an 8-question session is about 20 minutes, about 200 credits), and both lines say what happens at zero.
  • Mock interview page: the pricing card changes from "Priced by the question" to "Priced by the minute".
  • FAQ, en and ru: "What does a mock interview cost?" and "How do credits work?" are rewritten. The JSON-LD picks this up through src/config/faq.ts.
  • Docs: mock-interview.md (new cost table by length), live-interview.md, introduction.md, how-it-works.md.
  • CLAUDE.md: the pricing notes are updated.

Checks

  • pnpm lint and tsc --noEmit are clean.
  • next build was not run locally, because a dev server was running on this checkout (see the note about build clobbering dev). Please build before merging.

Release

Merge after the backend is deployed. The copy describes the new behaviour (stop at 0, per-minute mock).

🤖 Generated with Claude Code

Live and mock now share one rate, 10 credits a minute, and a session
stops when the credits run out (a mock still delivers its report).
CREDIT_RATES becomes a single per-minute rate, mockSessionPrice gives
way to mockSessionMinutes (mirroring the app's estimate), and the
metering note, mock interview page, FAQ (en/ru) and docs drop the
per-question pricing.

Refs #20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
power-interview-ai Ready Ready Preview Oct 6, 2026 3:24pm UTC

@gitar-bot

gitar-bot Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Gitar is working

Gitar

@alpha5611331

Copy link
Copy Markdown
Member Author

Review notes: copy only, no logic beyond CREDIT_RATES/mockSessionMinutes. Every per-question price reference in src/ is gone (checked with grep, en and ru). The FAQ JSON-LD reads the same message files, so it stays in sync. Run next build before merging (it wasn't run locally, because a dev server was up). Merge only after backend#67 is deployed: the copy promises the stop at 0.

The mock line hardcoded "minutes"/"минут" after the number, which reads
wrong in Russian for most counts ("около 2 минут" vs nominative forms).
The length now goes through pluralize with minuteNoun like every other
count, and the Russian sentence uses the counting form.

Refs #20

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@alpha5611331

Copy link
Copy Markdown
Member Author

Review pass 2: fixed f2a504d. The mock line in the pricing note hard-coded the minutes noun after the number, which is wrong Russian for most counts. It now goes through pluralize with minuteNoun, as the hero CLAUDE.md requires, and the Russian sentence uses the counting form ('примерно 20 минут и 200 кредитов'). I checked the rest of the copy against the backend and client: 10/min for both kinds of session, a 1-minute minimum to start, warnings at 5 and 1 minutes, the stop at 0 with the mock report still delivered, the live save prompt, and the length estimates (3, 5, 8, 12 questions = 8, 13, 20, 30 min, from the client's mockSessionMinutes). It all matches, and there's no per-question wording left in src/.

@alpha5611331
alpha5611331 merged commit d11f97c into main Oct 6, 2026
2 checks passed
@alpha5611331
alpha5611331 deleted the feat/minute-billing branch October 6, 2026 15:27

This branch was successfully deployed

1 active deployment
Preview — f2a504db Deployed Oct 6, 2026 by vercel[bot]
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.

Pricing copy: mock interviews billed by the minute, sessions stop at 0

1 participant