stips 0.1.2

OpenRouter CLI — credits, usage, key management
stips-0.1.2 is not a library.

stips

OpenRouter CLI — check credits, view usage, manage your API key.

stips — Latin for a small coin or contribution.

Install

cargo install stips

Usage

stips                  # check credit balance (default)
stips credits          # same as above
stips usage            # daily / weekly / monthly spend
stips key open         # open openrouter.ai/keys in browser
stips key save <key>   # save API key to macOS keychain

Examples

$ stips
$13.74 remaining  ($636.26 used of $650.00)

$ stips usage
Daily:   $0.11
Weekly:  $1.45
Monthly: $10.75

Setup

Get an API key at openrouter.ai/keys, then:

stips key save sk-or-...

The key is stored in macOS Keychain under openrouter-api-key.

License

MIT