@openrouter team feature request:
It would be super helpful to have an “add to limit” function for provisioner accounts. Right now, when a user runs out of credits, I have to issue a completely new key, swap it out manually, and track usage across multiple keys. Instead, if I could just increase their existing key’s limit, it would streamline credit top-ups and simplify account management.
#Provisioning key INCREASE LIMIT
8 messages · Page 1 of 1 (latest)
i think maybe you can: https://openrouter.ai/docs/api-reference/api-keys/update-api-key
the limit parameter
OpenRouter | Documentation
Updates an existing API key. Requires a Provisioning API key.
Thank you idk how i missed that, def a lot easier to implement then the overcomplicated system i built one great addition to this system that would make developers life more simple would be an increase limit option instead of it just being a set limit. Not a huge thing my backend just needs to do the calculation when it would be more intuitive for them to do it
Wait im so dumb
When it creates a new limit there current usage us saved right
Like it doesnt send them to zero? For example if someone used $1 on a $2 limit key and i change there limit to $4 will there $1 of usage still be returned and exist meaning they only have $3 left of usage
good question, maybe openrouter peeps can answer. i haven't used it that way, didnt log anything, ..not sure what it would return 🤔
@livid venture the usage is not changed ever. So if you just update the limit, you should be able to do what you need.