Skip to content

v0.6.0

Choose a tag to compare

@schowave schowave released this 13 Oct 07:52
· 24 commits to main since this release

Budget and spend

llmenu now shows the budget of the key you are using and how much of it is gone:

  • In the menu, next to the project: user budget $18.00 / $50.00 · this key $12.45 · resets in 19d. On a narrow table the details are shortened rather than running into the search field.
  • In llmenu project list, a new SPEND column for the main key and every project.
  • In Claude Code's status line (see below).

A project's team key spends from its team's budget, a personal key from your user budget; a key's own budget is shown if it has less left. Without any budget llmenu shows what the key has spent. The numbers come from LiteLLM's /key/info and /user/info, which every key may call about itself, so no admin rights are needed; /team/info is only a fallback. They are LiteLLM's estimate, not the provider's invoice. If the gateway answers none of this, nothing is shown and everything else works as before.

Status line adds to yours

claude.statusline no longer replaces your own status line. llmenu runs the statusLine command from your project or user settings with the same session data and appends one line:

project acme · team budget $40.00 / $100.00 · this key $12.45 · resets in 19d

The key comes from the session's environment (never the keyring), the gateway is asked at most once a minute, and the cache holds only a hash of URL and key. llmenu setup claude now asks whether to turn the status line on.

README

New sections Budget and spend and Troubleshooting; the demo shows the budget in the menu.

Upgrade

brew update && brew upgrade --cask llmenu

To see the budget in Claude Code: llmenu config set claude.statusline true (or llmenu setup claude).