Расход на пользователя ниже порога окупаемости: сжатие, дешёвый браузер, финмодель
Merged
AG
1mo ago+307+307+012345678901234567890123456789-18-18-01234567890123456789
Что меняется для пользователя и расходов:
- Длинные чаты сжимаются по умолчанию с порога 100 тыс. токенов: шаг Telegram стоит ~0,17 ₽ вместо 0,67 ₽ (кэш 87%).
- Обрезка старых результатов выключена по умолчанию (
HISTORY_TRIM_MODE=off): её сдвиг границы рвал кэш. - Быстрый режим браузера выключен по умолчанию (
BROWSER_FAST_MODE=off): поручения чуть медленнее, но дешевле. - Карточки выключены по умолчанию (
CARDS_MODE=off):send_card/update_cardпадали с «non-serializable capture». - Новые ops-скрипты:
cost-per-user.sh,phone-minutes.sh. - Финмодель (
docs/finmodel/bro-finmodel.xlsx) по данным прода: базовая прибыль ~500 ₽ на пользователя в месяц при N=200, безубыточно от ~83 пользователей. - Заметки для следующих сессий в
docs/dev-notes.md.
Всё это уже выкачено на прод (версия 20261102-221454-ded027dd).
Проверки: тесты по затронутым наборам проходят; полный pnpm check не гонял.
Generated by Claude Code
Summary by cubic
Cuts per-user costs so spend drops below the subscription's payback threshold. Long chats now compress by default at 100k tokens (was 150k and off), and the fast browser, history trim, and cards are all off by default because they cost more than they save.
- Compaction now applies to everyone unless
COMPACTION_WORKSPACES=offand no longer skips turns when a few shortcontext.*lines follow the opener: a Telegram step drops to ~0.17 ₽ from 0.67 ₽. BROWSER_FAST_MODE,HISTORY_TRIM_MODE, andCARDS_MODEeach default tooff; the existing workspace lists no longer activate their pilot alone — set the variable topilotto re-enable.- Adds
cost-per-user.shandphone-minutes.shops scripts and a live financial model indocs/finmodel/: base profit ~500 ₽ per user per month at N=200, break-even at ~83 users.