[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111256":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":16,"stars30d":14,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":21,"hasPages":19,"topics":22,"createdAt":10,"pushedAt":41,"updatedAt":42,"readmeContent":43,"aiSummary":44,"trendingCount":16,"starSnapshotCount":16,"syncStatus":15,"lastSyncTime":45,"discoverSource":46},111256,"spendsense","WolfMark-Ltd\u002Fspendsense","WolfMark-Ltd","SpendSense: AI usage and cost analytics for Hermes. Track tokens, API-equivalent pricing, subscriptions, budgets, prompt caching and model news.","",null,"Python",84,11,1,2,0,43.34,"GNU General Public License v3.0",false,"main",true,[23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40],"ai-pricing","ai-pricing-calculator","ai-pricing-ui","ai-usage","ai-usage-analytics","ai-usage-dashboard","ai-usage-monitor","ai-usage-tracker","cost-tracking","hermes","hermes-agent","hermes-desktop","hermes-plugin","hermes-plugins","hermes-skill","hermes-skills","prompt-caching","token-tracking","2026-11-23 02:34:06","2026-11-23 16:39:36","\u003C!-- markdownlint-disable MD033 -->\n\u003Cp align=\"center\">\n  \u003Cimg src=\"assets\u002Fbranding\u002Fspend-sense-hermes-catalog-v4-1200x600.png\" alt=\"Spend Sense — a Hermes plugin by WolfMark\" width=\"720\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg src=\"https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\u002Factions\u002Fworkflows\u002Fci.yml\u002Fbadge.svg\" alt=\"CI\" \u002F>\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FHermes-%3E%3D0.22.5-informational\" alt=\"Requires Hermes 0.22.5 or newer\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLicense-GPL--3.0-blue.svg\" alt=\"GPL-3.0 license\" \u002F>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fversion-0.6.0-informational\" alt=\"Version 0.6.0\" \u002F>\n  \u003Ca href=\"https:\u002F\u002Fcoderabbit.ai\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fcoderabbit\u002Fprs\u002Fgithub\u002FWolfMark-Ltd\u002Fspendsense?label=Reviewed%20by%20CodeRabbit&logo=coderabbit\" alt=\"Reviewed by CodeRabbit\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fwww.greptile.com\u002F?utm_source=oss_badge&utm_medium=readme&utm_campaign=greptile_for_open_source\">\u003Cimg src=\"https:\u002F\u002Fwww.greptile.com\u002Fbadge.svg\" alt=\"Greptile: The War on Bugs\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FWolfMark-Ltd\u002Fspendsense?logo=github\" alt=\"GitHub stars\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Ch1 align=\"center\">Spend Sense\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\u003Cstrong>What you pay. What you use. What it's worth.\u003C\u002Fstrong>\u003C\u002Fp>\n\n> **Early access · Available on GitHub.** SpendSense is an open-source Hermes plugin you can try now, directly from this repository. We're refining the experience and verifying compatibility before a formal release and Hermes catalogue submission. New here? Start with the [quick-start guide](docs\u002Fquickstart.md), and back up your Hermes profile data before upgrading an existing installation. Found a bug or have an idea? [Open a GitHub issue](https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\u002Fissues\u002Fnew\u002Fchoose). Our [release checklist](RELEASING.md) tracks what remains.\n\n## Overview\n\nSpend Sense is a Hermes plugin that shows what your AI usage is actually costing you. It records usage locally as it happens, prices it against published rates, and keeps your subscription plans, prepaid wallets, and API routes in one place — so you always know what you used, what your plan covered, and what the same work would have cost pay-as-you-go.\n\n- **Live session view** — tokens, rates, cache performance, and estimated savings for the focused session, right inside Hermes Desktop.\n- **Recorded ledger** — every eligible call timestamped and stored locally, independent of open sessions or restarts.\n- **Plan truth** — declared fees and allowances next to observed usage, so renewals, downgrades, and cancellations are evidence-based.\n- **Private by design** — no Spend Sense account, no telemetry, and no usage upload. Everything stays on your machine.\n\n## Installation\n\nFirst time installing? The [quick-start guide](docs\u002Fquickstart.md) walks through install, first figures, and recovery in one place. The reference details follow.\n\n### Requirements\n\n| Requirement | Detail |\n| --- | --- |\n| Hermes | `>= 0.22.5` (per the plugin manifest; newer builds still to be verified) |\n| Profile | An isolated Hermes profile for evaluation, with a backup of your plugin data |\n\nDesktop and backend components should be tested together. Backend analytics require the agent component to be active on the relevant Hermes profile.\n\n### From Hermes Desktop (recommended)\n\nInstall from inside Hermes Desktop using the repository URL below. This places both halves in one step: the agent backend (hooks, ledger, API) into the connected backend, and the Spend Sense UI into the app's local `desktop-plugins` folder — the UI half is what makes the sidebar entry appear.\n\n- Repository: `https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense`\n- Leave the commit pin empty for the latest code, or pin a validated SHA for a known-good install.\n- Choose the profile to install for, then Install. Until catalogue admission the dialog warns the source is unverified — check the repository URL matches before proceeding.\n\nKeep the existing `spend-sense` plugin ID and `\u002Fspend-sense` route — changing them would orphan existing namespaces and storage. Do not install it over an existing plugin without a verified backup.\n\n### From the command line\n\nFor servers and headless setups:\n\n```bash\nhermes plugins install WolfMark-Ltd\u002Fspendsense\nhermes plugins enable spend-sense\n```\n\nTo upgrade a command-line install, check first with the read-only `hermes plugins check-updates`, then apply with `hermes plugins update spend-sense` — only from a verified backup of the profile's plugin data (see [Backup, upgrade and recovery](docs\u002Fquickstart.md#backup-upgrade-and-recovery)).\n\nTo validate a source tree before installing (recommended for exact-commit installs):\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense.git\nhermes plugins validate .\u002Fspendsense --install-deps\n```\n\nReview every validation warning. Note the Desktop app loads its UI from its own local folder, so if your Desktop app runs on another machine, complete the install from inside the app instead.\n\nA Hermes catalogue listing is planned; releases will be pinned by commit SHA with screenshots and disclosures. See [RELEASING.md](RELEASING.md) for the release and catalogue-admission checklist.\n\n### More than one machine?\n\nSpend Sense is local-first: each Hermes records only the usage it sees, and memberships and billing rules live with that install. If you run Hermes on several machines — a laptop and a server, for example — install Spend Sense on each one you want accounted. There is no sync between installs; each holds its own ledger.\n\n## Features\n\n| Capability | What you get |\n| --- | --- |\n| **Live session view** | A Desktop chip and pane for the focused session: cost KPI, prompt-token composition, cache gauge with coverage, and a collapsible rate card. Five stable sections keep their positions across live refreshes, with methodology notes tucked into info popovers. |\n| **Recorded ledger** | Eligible backend calls are timestamped and stored locally as they happen, so usage history does not depend on reopening an old session. |\n| **Usage analytics** | Distribution by model and provider, usage over time, parent versus delegated (subagent) work, cache performance, token composition, and a sortable Model Explorer covering every model × route pair — including how much usage could not be priced. |\n| **Costs in one place** | Declared membership fees sit alongside current cost estimates, with optional advanced rules for prepaid wallets, per-route allowances, and custom token rates. |\n| **Subscription economics** | Monthly-equivalent fees compared with the API-equivalent value of usage attributed to each subscription, per currency, with renewal dates, a monthly trend and partial\u002Funavailable states instead of misleading totals. Non-USD fees convert only with a dated rate you supply. |\n| **Memberships** | Discover the provider accounts Hermes is configured for, confirm which plan each account is on, add fee overrides, and mark allowances as exhausted. On request, Spend Sense can read account usage through Hermes itself to prefill plan hints and quota windows. Each card also shows allowance weather: cycle position, provider-reported consumption, and — for USD cost rules with reliable coverage — consumption pace with a projected exhaustion date. |\n| **Reports** | Generate a local 7- or 30-day digest of usage, costs, fees and allowances as Markdown, then review, copy or save it. Nothing is scheduled, uploaded or sent anywhere. |\n| **Model News** | New models, API price changes and subscription updates detected from your local catalogues, with API-equivalent impact estimates from your own usage — plus optional public Spend Sense announcements. |\n| **Offline-capable pricing** | No direct pricing calls of its own: Hermes' local models.dev pricing cache when available, with a bundled offline rate snapshot as fallback. |\n\n## The problem\n\nIf you use more than one AI provider, the true cost of your usage is spread across places that never meet:\n\n- A fixed subscription fee in one app.\n- A prepaid balance or allowance in another.\n- Pay-as-you-go API charges on a route you only use occasionally.\n- Token counts inside Hermes that carry no price at all.\n\nProvider dashboards show their own slice, after the fact. None of them answer the questions that matter while you work:\n\n- What did this session cost — or what would it have cost at API rates?\n- Is my subscription actually covering my usage, or am I paying for headroom I never use?\n- Which model and route is eating my budget?\n- Is prompt caching saving me money, or costing me a write premium?\n\nSpend Sense answers those from the usage Hermes already sees, on your own machine, without sending your usage anywhere.\n\n## How it works\n\n1. **Collect.** Hermes observer hooks (`post_api_request`, `post_auxiliary_call`, `api_request_error`) hand Spend Sense accounting metadata for each call: provider, model, route, token buckets, outcome and timestamps. Prompts, responses and credentials are never recorded.\n2. **Store locally.** Calls go into a profile-scoped SQLite store in the plugin's data directory. Memberships and billing rules live in separate local JSON files and survive plugin upgrades.\n3. **Price.** Each recorded call is priced from the best available catalogue — Hermes' models.dev cache first, then the bundled snapshot. The Desktop ledger uses the rates captured at the time; backend analytics use the currently available catalogue. They are related, but they are not the same view and are not presented as one figure.\n4. **Present.** The Desktop plugin renders the live pane, the ledger, the Usage analytics, Costs, Memberships, Model News, Reports and Settings & About views from the local backend. Nothing needs to leave your machine for the core views.\n\n### Membership discovery\n\nMemberships can mark an account **API Only**, or identify it as a subscription, prepaid credits, or not yet confirmed. API Only hides recurring membership fees from totals while retaining the saved plan and fee revisions for a later switch back. Prepaid top-ups are not recurring membership fees; configure any advanced cost rules separately in Costs. These choices do not change recorded usage or model pricing.\n\nBack up the profile's Spend Sense plugin data before upgrading. Releases older than 0.6.0 may not recognise membership fields; restoring a compatible pre-upgrade backup may be necessary, and edits made after that backup will not be present in it.\n\nSeat quantities are stored separately in `membership-seats.json`, and\nroute-to-account relationships in `membership-entitlements.json`, alongside\n`memberships.json`, `billing-profiles.json`, `budgets.json` and `fx-rates.json`\nin the profile's Spend Sense plugin-data directory. Back up all of them together\nwith the plugin stopped; restore them together to the same profile with the\nplugin stopped. If a file was absent when the backup was taken, it should also\nbe absent after restoration.\nThe Settings recovery clipboard export includes the raw `membership_store`,\n`seat_history` and `route_entitlements` documents as well as the advanced rules\nand budget guardrails; retain it securely.\nTo restore from it, save the `seat_history` JSON object as\n`membership-seats.json` and the `route_entitlements` JSON object as\n`membership-entitlements.json` beside the restored `memberships.json`. The rules\nand budgets entries need reshaping before they can be saved as store files, and\nbilling defaults are not in the export — see the\n[quick-start guide](docs\u002Fquickstart.md#backup-upgrade-and-recovery) for the exact\nshapes. The clipboard export does not include either usage ledger or provider\ncredentials. The Desktop-recorded ledger lives outside the plugin-data directory\nin Hermes Desktop's app-level storage and is covered by neither the directory\nbackup nor the export.\n\nThe preceding 0.6.0 membership store can still be read and edited after seats\nare saved: it ignores the separate seat file and does not calculate seat totals.\nAfter upgrading again, the newer version reads the saved seat history. Keep the\nsidecar with the matching profile and membership data throughout a downgrade;\ndo not remove or replace it when using an older version. Version 0.6.0 cannot\nclear the sidecar when it resets its own user data: if you reset or remove an\naccount while downgraded, handle the matching seat backup explicitly before\nusing the newer version again.\n\nAn unmerged earlier PR #30 test build stored seat revisions inside\n`memberships.json`. Those test-build files are rejected rather than silently\nmigrated or overwritten. With the plugin stopped, make a copy of that file\nand run `python scripts\u002Frecover-inline-seat-history.py COPY OUTPUT`, where\n`OUTPUT` is a new file. The export leaves the source untouched and contains\n`membership_store` and `seat_history` objects; save those objects as\n`memberships.json` and `membership-seats.json` respectively to restore the\nmatching profile. Retain the original and back up all profile files first.\nDo not overwrite a newer sidecar with an older recovery export.\n\nDiscovery reads Hermes' authentication storage in memory and counts the configured credential slots per provider. Credential values are never returned, logged or stored. A slot proves an account is configured — not which plan it is on — so Spend Sense suggests a plan where it can and asks you to confirm it. That human confirmation is deliberate: a wrong plan silently reprices every past month.\n\nA user-triggered native usage read runs `hermes usage` for a provider. Hermes may then contact that provider using credentials Hermes manages.\n\n### Four figures, never summed\n\nA membership card keeps four different kinds of number apart, because adding them together would produce a confident, wrong total:\n\n| Figure | What it is | What it is not |\n| --- | --- | --- |\n| Membership fee | The effective fee — your override, the plan price, or seats × catalogue unit price | A per-call charge or a verified provider bill |\n| Provider-reported usage | Quota or usage Hermes read from the provider | An invoice |\n| API-equivalent value | What the same tokens would cost at published API rates | Money you actually spent |\n| Metered \u002F incremental cost | Allowance consumed, and extra cash beyond it under your rules | Provider-confirmed billing |\n\nEstimates are estimates. An API-equivalent figure is a comparison price, useful for judging whether a plan is worth keeping — it is not a provider invoice, and Spend Sense never presents it as one. New to these terms? The [quick-start guide](docs\u002Fquickstart.md#three-money-figures-never-one-total) explains API-equivalent cost, subscription fees and actual provider charges in plain language.\n\nUnpriced usage is reported as unpriced. Unknown is never shown as zero, and known free usage is never mixed into a priced subtotal as if it were priced.\n\n## Why you need it\n\n- **Renew, downgrade or cancel with evidence.** Compare what a plan covered against what the same usage would have cost at API rates before the next fee leaves your account.\n- **Spot the expensive route early.** Model × route analytics show which combination is driving tokens and cost, including delegated subagent work that is easy to miss in a session view.\n- **Use allowances deliberately.** Per-model and shared allowances, prepaid wallets and manual exhaustion marks show what is left — inferred from your rules, and labelled as inferred.\n- **Trust the cache numbers.** Cache hit rate is weighted across calls with known cache activity, and cache economics are shown as a theoretical comparison, not a billing credit.\n- **Keep your data.** Everything is local-first. There is no Spend Sense account, no telemetry and no usage upload.\n\n## Privacy and network behaviour\n\n- Records accounting metadata only: identifiers, route and model, token buckets, outcome and timestamps. No prompts, responses, credentials or telemetry.\n- Membership discovery counts credential slots in memory. It does not return or log credential values.\n- Spend Sense makes no direct HTTP pricing requests. Automatic Hermes model-options refresh is off by default; when enabled, Hermes may refresh public models.dev metadata or contact configured providers using credentials Hermes manages.\n- Model News snapshots your local Hermes pricing cache and bundled plan catalogue to detect newly listed models and rate changes. The first snapshot is a baseline, not news. Nothing is uploaded and no network request is made; everything works offline.\n- Spend Sense Live Updates (Settings, off by default) downloads public Model News and subscription-plan JSON feeds over HTTPS when enabled. Requests contain no user IDs, accounts, credentials, model lists, usage totals or tracking tokens; the source IP is visible to the service, and anonymous aggregate request statistics may be produced. On a remote Hermes host, that host makes the request. Disabling Live Updates stops the requests; local news and locally stored memberships continue to work. See the public [Model News feed contract](news-feed\u002FREADME.md) and [plans feed contract](plans-feed\u002FREADME.md) for endpoints and schemas.\n- Settings & About can clear your Memberships, route entitlement relationships, budgets and advanced billing rules for the current profile. Captured usage records, Hermes data, provider credentials and catalogues are left untouched.\n\n## Requirements and compatibility\n\n- Hermes `>= 0.22.5`, per the plugin manifest. Compatibility with specific newer builds remains to be verified.\n- Desktop and backend components should be tested together on an isolated profile. Backend analytics require the agent component to be active on the relevant Hermes profile.\n- Coverage depends on what Hermes supplies and what the plugin observed. Cross-gateway attribution also depends on the event-origin information the SDK provides, so treat figures as indicative until the acceptance checks in [RELEASING.md](RELEASING.md) are complete.\n\n## Budget guardrails\n\nSet monthly limits for all usage, a provider route or a model × route in\n**Settings & About**. Choose **estimated usage value** (catalogue-based, including\nsubscription usage) or **actual metered spending** (requires charge evidence).\nThe two measurements are never combined with one another, subscription fees or\nallowances. Current Hermes hooks do not provide per-call billed charges, so actual\nspending remains unavailable where evidence is missing.\n\nA separate session\u002Fconversation **estimated usage-value** limit gives live amber\nand red status-bar warnings. Overview shows the limits; Costs adds coverage,\n7-day\u002F30-day burn rates, cycle-end projection, budget runway and a possible breach\ndate when there is sufficient evidence. Thresholds default to 50%, 80% and 100%.\nPartial pricing shows a known subtotal and cannot produce an “on track” verdict\nor forecast. All limits are advisory and local; no agent call is blocked.\n\nSee [the accounting, API and compatibility notes](design\u002Fbudget-guardrails.md).\n\n## Development\n\nRun the Python tests from a virtual environment — never system Python (on macOS, system pip is blocked by PEP 668, so install into the project environment instead):\n\n```bash\npython3 -m venv .venv\n.venv\u002Fbin\u002Fpython -m pip install fastapi httpx\n.venv\u002Fbin\u002Fpython -m unittest discover -s test -p 'test_*.py'\n```\n\nWith [uv](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002F) instead: `uv venv .venv && uv pip install --python .venv\u002Fbin\u002Fpython fastapi httpx`, then run the tests as above.\n\nRun the JavaScript tests with:\n\n```bash\nnode --test --test-force-exit test\u002F*.test.mjs\n```\n\nSome API tests need FastAPI and HTTPX (installed above) and are skipped without them. The development-only UI test dependencies are installed with `npm ci --prefix test\u002Fharness`. Hermes catalogue admission additionally requires `hermes plugins validate \u002Fpath\u002Fto\u002Fplugin --install-deps` on the exact commit.\n\nDo not run integration tests against production data.\n\n## Support\n\n- Questions, bugs and feature requests: [GitHub issues](https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\u002Fissues).\n- Release notes: [GitHub Releases](https:\u002F\u002Fgithub.com\u002FWolfMark-Ltd\u002Fspendsense\u002Freleases).\n- Product support: [Contact WolfMark](https:\u002F\u002Fwolfmark.co.uk\u002Fcontact).\n\n## Attribution and licence\n\nSpend Sense is built by WolfMark Ltd and derived from [Token & Cost Meter](https:\u002F\u002Fgithub.com\u002FIT-dreamer\u002Ftoken-cost-meter) by AFei (IT-dreamer), originally licensed under Apache-2.0. The combined Spend Sense software distribution is licensed under GPL-3.0. That project licence does not replace the original Apache-2.0 licence or attribution for the upstream component. Both licence texts and applicable notices are included in this repository. See [LICENSE](LICENSE), [NOTICE](NOTICE) and [Apache-2.0](licenses\u002FApache-2.0.txt).\n\nThe [branding assets](BRANDING.md) have separate terms. Representative screenshots of a validated build will be added with the first release.\n\n### Cache reporting and provenance\n\nCache hit rate is cache-read prompt tokens divided by covered prompt tokens (fresh input, cache reads and cache writes). Nerd Mode uses timestamped backend calls in the chosen period and filters; the live pane uses the current Desktop conversation. Coverage shows how much of each scope has usable cache information. Gateway percentages rounded by Hermes are reconstructed estimates and marked ≈. Unknown and older data are not silently treated as confirmed zeroes.\n\nHermes v0.22.5 normalises absent provider cache fields to zero before sending its plugin hook and removes raw usage from the hook payload. A zero-read\u002Fzero-write hook record therefore cannot prove a cache miss. As an optional upstream enhancement, Hermes could provide, for each cache-read and cache-write counter, an explicit presence\u002Fprovenance indicator (including confirmed zero versus missing), plus the exact canonical token counts. Spend Sense needs only these accounting fields and would not need prompts, responses or credentials. Historical records cannot be retrospectively disambiguated.\n\nDesktop CSV exports retain `cache_saved_usd` as the legacy gross cache-read savings field for compatibility. The separate `net_cache_savings_usd` field includes cache-write premiums and is blank when a complete net value is unavailable; the export keeps that stricter complete-value contract even though the pane shows a measured subtotal.\n\nTheoretical net savings compare covered prompt tokens at uncached input prices with their fresh, cache-read and cache-write prices; cache writes may create a net premium. They are not a refund or invoice. The sidebar gauge and the ledger totals show the measured subtotal — the prompt tokens whose cache split and rates are known — together with the share of prompt tokens it covers. A figure covering part of a conversation is marked ≈ and is never labelled exact. When nothing can be measured, the pane names the reason (no cache evidence, no rate for the route, tiered pricing not modelled, cache-write price missing, cache split not reported) rather than showing a bare dash. A cache-write figure reconstructed from Hermes's rounded hit percentage, on a route that publishes no write price, is valued at the input rate — the same convention the cost estimate uses. That substitution omits any write premium, so a route that charges one would have its theoretical saving overstated by that premium, and a route charging less than input for writes would be understated; the figure is exact only against the card the pane displays, which prices writes at the input rate too. It is not a general guarantee that a missing write price cannot overstate savings: it holds for this ledger because the affected routes record no cache writes at all. A provider-reported cache write still requires its published price, and a provider-reported zero is a measurement rather than missing evidence — the pane says \"no cache evidence\" for the latter instead of pricing it at zero. Nerd Mode shows the same covered-call subtotal and its coverage. Desktop gateway counters and backend per-call events have different timing and attribution, and rates may differ by source or time; figures should be compared only for the same calls and pricing assumptions.\n","SpendSense 是一款专为 Hermes AI 平台设计的本地化 AI 成本与用量分析插件。它实时追踪 API 调用产生的 token 消耗、基于公开定价模型自动估算费用、支持订阅计划与预付费钱包管理、记录 prompt 缓存命中率及对应节省，并提供会话级与历史账本级双维度可视化。所有数据完全本地存储，不上传、无账户、无遥测，保障隐私。适用于个人开发者或团队在 Hermes Desktop 环境中精细化管控 AI 使用成本、优化模型选型与缓存策略、验证服务套餐性价比等场景。","2026-11-24 04:40:36","CREATED_QUERY"]