About add-org
add-org is a skill for creating an organization on a live LiteLLM proxy. It collects organization settings, submits them to the proxy, and reports identifiers and configuration or error details.
Key features
- 01Create a LiteLLM organization
- 02Set allowed models
- 03Configure optional budgets and limits
- 04Report organization details
- 05Show error details and likely fixes
Use cases
- 01Setting up an organization on a LiteLLM proxy
- 02Limiting an organization's model access
- 03Applying budget or request limits
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ berriai/ litellm-skills --skill add-orgAfter installing, type/add-orgin Claude Code to confirm it loaded.
Details
From the project READMEAdd Organization
Create a new organization on a live LiteLLM proxy.
Setup
Ask for these if not already known:
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
API reference: https://litellm.vercel.app/docs/proxy/org_based_routing
Ask the user
- Org name (required, becomes
organization_alias) - Allowed models (required, e.g.
gpt-4o, claude-3-5-sonnet) - Max budget (optional, e.g.
500.00) - TPM / RPM limits (optional)
Run
curl -s -X POST "$BASE/organization/new" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"organization_alias": "<name>",
"models": [<models>],
"max_budget": <budget_or_null>,
"tpm_limit": <tpm_or_null>,
"rpm_limit": <rpm_or_null>
}'
Output
Show the user:
organization_id— needed for assigning teams/users to this orgorganization_alias,max_budget,models
On error show detail and the likely fix.
Comments
Markdown supported