
Description
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.
SKILL.md
Delete Model
Remove a model from 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 name or model_id — if they give a name, look up the ID 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']) " - Confirm — show the model name and ask for confirmation before deleting.
Run
curl -s -X POST "$BASE/model/delete" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{"id": "<model_id>"}'
Output
Show the success message. Warn the user that any keys scoped to this model name will start getting errors.
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-org
delete organizations from LiteLLM proxy
litellm-skills
Jul 14AI InfrastructureLiteLLM