You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: honest cost model for a Synloq role team (research) - #127
Research note answering the operator's question «how much does a 5-role team cost per day» (gap flagged in the CEO prospectivity study, brainstorm comment by staff1). No code.
Core finding — a deliberate three-way split, no blended number:
Measured (Synloq, local): messages/deliveries/bytes per role (bytes already computed in the relay DB), nudge attempts (ledger), wake-to-ack latency, stuck queues — all on disk today; two signals need only a status extension.
Estimated (host-side): turn spend lives in host meters. Verified facts (2026-11-17): Claude Code /usage + Usage & Cost Analytics API (per-user Claude Code spend, beta Oct 2026); ccusage parses local session logs of Codex CLI/OpenCode/Claude Code into per-day API-equivalent USD with no API key — the pattern that fits local-first. Kimi Work usage API: unverified, marked as such.
Bounded by design: coordination-driven spend is capped (nudger 1×/30 min, ≤5 attempts; content-free debounced pings; status surfaces stuck queues before retry loops). Nudger doubles as a cost meter: cost-per-nudge ≈ cost of one host turn — a defensible upper-bound estimate for inbox-only hosts, labeled estimated.
Explicit non-goals: token estimation from transport events (dishonest — context re-read is ~85% of spend and invisible to the relay), any telemetry leaving the machine.
Follow-up candidates (not this PR): synloq status --traffic (measured tier), opt-in local ingest of ccusage-style logs, FAQ entry with the three-tier wording.
Meta
Source: CTO task (thread 152b854b), operator-approved research
Review: dev → CTO final
Verification: host-side claims verified via public docs 2026-11-17 (Claude Code costs docs; Usage and Cost Analytics API coverage); Kimi Work marked unverified
Amendment (commit 30fe172) after a verification pass requested by the operator: host-side section now cites per-host surfaces checked against public sources on 2026-11-17 — Claude Code (/usage, Analytics API, 30-day transcript default), OpenCode (opencode stats, provider-recorded local SQLite), Codex CLI (local logs + /status, secondary), Kimi (ccusage kimi source from local logs — the earlier "unverified" gap is now closed for log-parsing; no first-party API), and ccusage itself (18-19 sources incl. Kimi and ZCode, --json, --offline). Conflicting secondary claims (ccusage license) are not load-bearing and marked for repo-level verification if we ever bundle. Research rule for this track going forward: no time-sensitive factual claim without same-day primary-source check.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Research note answering the operator's question «how much does a 5-role team cost per day» (gap flagged in the CEO prospectivity study, brainstorm comment by staff1). No code.
Core finding — a deliberate three-way split, no blended number:
/usage+ Usage & Cost Analytics API (per-user Claude Code spend, beta Oct 2026);ccusageparses local session logs of Codex CLI/OpenCode/Claude Code into per-day API-equivalent USD with no API key — the pattern that fits local-first. Kimi Work usage API: unverified, marked as such.estimated.Explicit non-goals: token estimation from transport events (dishonest — context re-read is ~85% of spend and invisible to the relay), any telemetry leaving the machine.
Follow-up candidates (not this PR):
synloq status --traffic(measured tier), opt-in local ingest of ccusage-style logs, FAQ entry with the three-tier wording.Meta