delete-model

Delete a model from a live LiteLLM proxy via POST to /model/delete.

77|12|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/BerriAI/litellm-skills --skill delete-model
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: delete-model
Source: https://github.com/BerriAI/litellm-skills/tree/main/delete-model
Command: npx skills add https://github.com/BerriAI/litellm-skills --skill delete-model

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Removing a model from a live LiteLLM proxy can be risky if done manually; this skill provides a safe, guided workflow to identify and delete a target model.

Core Features & Use Cases

  • Lookup by model name to retrieve the model_id before deletion
  • Confirm the deletion to prevent accidental removal
  • Warn about keys and references tied to the model and how to rotate or clean them

Quick Start

Provide the model name or ID, then confirm the prompt to delete it.

Frequently Asked Questions about delete-model

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely delete a model from a LiteLLM proxy?

You can delete a model by providing its name or ID to initiate a workflow that retrieves the model ID and prompts for explicit confirmation before removal. This prevents accidental deletions on a live proxy.

What happens to API keys tied to a model when removing it from a LiteLLM proxy?

When removing a model from a LiteLLM proxy, the workflow warns about existing API keys and references tied to that specific model. It provides guidance on how to properly rotate or clean up those dependent keys before finalizing the deletion.

Can I remove a LiteLLM proxy model using just its name instead of an ID?

Yes, you can remove a model using its name. The workflow handles model name-based lookups to automatically retrieve the required model ID before proceeding to the confirmation step for final deletion from the proxy.

What do I need to connect and remove a model from a live LiteLLM proxy?

You need the proxy base URL and a valid API key to remove a model from a live LiteLLM proxy. The tool validates this input before using curl to POST the deletion request to the /model/delete endpoint.

Why should I use a guided workflow to delete a LiteLLM proxy model instead of doing it manually?

Removing a model from a live LiteLLM proxy manually is risky and can cause accidental removals. A guided workflow validates input, handles name-based lookups, and enforces a confirmation step to ensure safe execution.