
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.
SKILL.md
Update Model
Update an existing model's configuration on a live LiteLLM proxy.
Setup
LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key
Ask the user
- model_id (required) — if they don't have it, list models first:
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']) " - What to change — any combination of:
api_key(rotate the credential)api_base(change endpoint)api_version(Azure)model(underlying model string, e.g.azure/new-deployment)
Run
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.
Output
Confirm the model was updated. Offer to run a test call to verify it still routes correctly.
More skills from the litellm-skills repository
View all 21 skillsadd-agent
create AI agents on LiteLLM proxy
Jul 14AgentsAPI DevelopmentLLMMCPadd-key
generate API keys on LiteLLM proxy
Jul 14AI InfrastructureAPI DevelopmentLiteLLMadd-mcp
register MCP servers on LiteLLM proxy
Jul 14AI InfrastructureLiteLLMMCPadd-model
add models to LiteLLM proxy
Jul 14AI InfrastructureLiteLLMLLMadd-org
create organizations on LiteLLM proxy
Jul 14AI InfrastructureLiteLLMManagementadd-team
create new teams on LiteLLM proxy
Jul 14AI InfrastructureLLMManagement
More from LiteLLM
View publisheradd-user
create LiteLLM proxy users
litellm-skills
Jul 14AI InfrastructureLLMOperationsdelete-agent
delete AI agents from LiteLLM proxy
litellm-skills
Jul 14AgentsAI InfrastructureLiteLLMManagementdelete-key
delete API keys from LiteLLM proxy
litellm-skills
Jul 14API DevelopmentLiteLLMSecuritydelete-mcp
delete MCP servers from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureConfigurationMCPdelete-model
delete models from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLMLLMManagementdelete-org
delete organizations from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLM