rpk ai budget create llm
Create a budget for one LLM provider. --shared sets one limit for all calls to the provider. --per-principal gives every agent and every person their own limit on it; change it for one of them with budget create agent --llm or budget create user --llm.
Examples
This section provides examples of how to use rpk ai budget create llm.
rpk ai budget create llm openai --shared --period monthly --limit-usd 1000 --warn-at-usd 800
rpk ai budget create llm anthropic --per-principal --period daily --limit-usd 50 --warn-at-usd 40
Flags
| Value | Type | Description |
|---|---|---|
|
string |
Display name. |
|
bool |
print the request that would be sent (with the computed update mask) and exit without calling the server. |
|
int |
Limit microcents. |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
|
string |
Budget ID. Defaults to an ID derived from what the budget covers and the period. |
|
strings |
See Budget.notification_user_ids. (repeatable; replaces the full list on update). |
|
bool |
A limit for each agent and person. |
|
string |
Period. (one of: daily, weekly, monthly; required). |
|
bool |
One limit shared by every caller. |
|
stringArray |
Budget metadata labels (repeatable key=value); not the agents the budget covers. |
|
int |
Warn at microcents. |
|
string |
positive USD amount with up to 8 decimal places; alternative to |
Global flags
| Value | Type | Description |
|---|---|---|
|
string |
Redpanda or |
|
stringArray |
Override |
|
bool |
Ignore |
|
string |
|
|
bool |
Enable verbose logging. |