一键导入
update-model
Update an existing model on a live LiteLLM proxy. Ask for the model_id and what to change (API key, base URL, etc.), then call POST /model/update.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Update an existing model on a live LiteLLM proxy. Ask for the model_id and what to change (API key, base URL, etc.), then call POST /model/update.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | update-model |
| description | Update an existing model on a live LiteLLM proxy. Ask for the model_id and what to change (API key, base URL, etc.), then call POST /model/update. |
| license | MIT |
| compatibility | Requires curl. |
| metadata | {"author":"BerriAI","version":"1.0"} |
| allowed-tools | Bash(curl:*) |
Update an existing model's configuration on a live LiteLLM proxy.
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
curl -s "$BASE/model/info" -H "Authorization: Bearer $KEY" | python3 -c "
import sys,json
for m in json.load(sys.stdin).get('data',[]):
print(m['model_info']['id'], m['model_name'])
"
api_key (rotate the credential)api_base (change endpoint)api_version (Azure)model (underlying model string, e.g. azure/new-deployment)curl -s -X POST "$BASE/model/update" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model_info": {"id": "<model_id>"},
"litellm_params": {
"api_key": "<new_key>",
"api_base": "<new_base>"
}
}'
Only include litellm_params fields being changed.
Confirm the model was updated. Offer to run a test call to verify it still routes correctly.
Query spend and token activity on a live LiteLLM proxy. Shows daily usage broken down by user, team, org, tag, job, or model. Use when the user wants to see costs, token counts, request volume, or job-level attribution for a given date range.
Generate a new API key on a live LiteLLM proxy. Asks for alias, scope (user/team), budget, models, and expiry, then calls POST /key/generate. Use when the user wants to create, generate, or provision an API key on a LiteLLM proxy instance.
Add a new model to a live LiteLLM proxy. Walks the user through picking a provider, entering the deployment name and credentials, calls POST /model/new, then test-calls the model to confirm it routes correctly. Use when the user wants to add, register, deploy, or configure a new model on a LiteLLM proxy instance.
Create a new team on a live LiteLLM proxy. Asks for team name, budget, and allowed models, then calls POST /team/new and shows the result. Use when the user wants to create a new team, set up team budgets, or configure model access for a team on the proxy.
Delete a model from a live LiteLLM proxy. Asks for the model name or model_id and confirms before calling POST /model/delete. Use when the user wants to remove, delete, or unregister a model from a LiteLLM proxy instance.
Delete an AI agent from a live LiteLLM proxy. Ask for the agent_id and confirm before calling DELETE /v1/agents/{agent_id}.