openrouter-spend.yaml 1.3 KB

12345678910111213141516171819202122232425
  1. name: openrouter-spend
  2. title: "OpenRouter Spend"
  3. repo: https://github.com/AllenRobinHubert/openrouter-spend
  4. sha: 4a54b43f82264a0703d21abec9f7e49e8650abcf
  5. description: "OpenRouter API-key spend and recorded chat costs in USD/INR. Disclosure — sends the configured OpenRouter key (OPENROUTER_API_KEY, or the variable named in api_key_env) only to openrouter.ai's read-only key and generation accounting endpoints, and fetches public USD/INR rates from api.frankfurter.dev unless a manual rate is set; middleware on every LLM request records ids, model, token counts and reported cost (no prompt or reply text) to its own ledger; the dashboard reads accounting metadata (session ids, token counts, billing provider) read-only from the state.db and OpenRouter Spend ledger of every profile under the Hermes root."
  6. maintainer: AllenRobinHubert
  7. tier: community
  8. category: desktop
  9. version: "0.4.1"
  10. requires_hermes: ">=0.21.5"
  11. docs_url: https://github.com/AllenRobinHubert/openrouter-spend#readme
  12. readme: true
  13. screenshots:
  14. - https://raw.githubusercontent.com/AllenRobinHubert/openrouter-spend/4a54b43f82264a0703d21abec9f7e49e8650abcf/docs/statusbar.png
  15. capabilities:
  16. provides_tools: []
  17. provides_hooks:
  18. - pre_api_request
  19. - api_request_error
  20. - post_auxiliary_call
  21. - post_tool_call
  22. provides_middleware:
  23. - llm_execution
  24. requires_env:
  25. - OPENROUTER_API_KEY