Agentic Data Plane

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.

Usage

rpk ai budget create llm PROVIDER [flags]

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

--display-name

string

Display name.

--dry-run

bool

print the request that would be sent (with the computed update mask) and exit without calling the server.

--limit-microcents

int

Limit microcents.

--limit-usd

string

positive USD amount with up to 8 decimal places; alternative to --limit-microcents (for example, 12.50).

--name

string

Budget ID. Defaults to an ID derived from what the budget covers and the period.

--notification-user-ids

strings

See Budget.notification_user_ids. (repeatable; replaces the full list on update).

--per-principal

bool

A limit for each agent and person.

--period

string

Period. (one of: daily, weekly, monthly; required).

--shared

bool

One limit shared by every caller.

--tags

stringArray

Budget metadata labels (repeatable key=value); not the agents the budget covers.

--warn-at-microcents

int

Warn at microcents.

--warn-at-usd

string

positive USD amount with up to 8 decimal places; alternative to --warn-at-microcents (for example, 12.50).

Global flags

Value Type Description

--config

string

Redpanda or rpk config file; default search paths are ~/.config/rpk/rpk.yaml, $PWD/redpanda.yaml, and /etc/redpanda/redpanda.yaml.

-X, --config-opt

stringArray

Override rpk configuration settings; -X help for detail or -X list for terser detail.

--ignore-profile

bool

Ignore rpk.yaml and redpanda.yaml; use default settings.

--profile

string

rpk profile to use.

-v, --verbose

bool

Enable verbose logging.