update-model

Update model configurations on a live LiteLLM proxy via curl.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Update an existing model on a live LiteLLM proxy to modify credentials, endpoints, or deployment parameters without downtime.

Core Features & Use Cases

  • Rotate credentials (api_key) for a model to maintain security and access control.
  • Change underlying deployment details (api_base, model) to switch providers or deployments.
  • Use Case: Update the model's endpoint and key for a migrated deployment while preserving existing routes.

Quick Start

Provide the model_id and the fields to update, then execute the update request.

Frequently Asked Questions about update-model

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

FAQPage Schema
How do I update a LiteLLM proxy model configuration without downtime?

You can update a LiteLLM proxy model configuration by sending a curl request with admin access, specifying the valid model_id and the target fields like api_key, api_base, or model to apply changes without downtime.

How do I rotate API keys for a live LiteLLM proxy deployment?

To rotate API keys for a live LiteLLM proxy deployment, execute an update request with admin access, supplying the target model_id and the new api_key value to maintain security and access control across your routes.

Can I switch the underlying endpoint for a LiteLLM proxy model after migration?

Yes, you can switch the underlying endpoint for a LiteLLM proxy model after migration by updating the api_base and model deployment parameters, allowing you to change providers or deployments while preserving existing routes.

Do I need admin access to change model credentials on a LiteLLM proxy?

Yes, you need admin access to change model credentials on a LiteLLM proxy, along with curl installed and a valid model_id to successfully execute the update request for rotating api_key or modifying deployment endpoints.

What fields are required to modify an existing model on a live LiteLLM proxy?

To modify an existing model on a live LiteLLM proxy, the required fields are a valid model_id and the specific parameters to update, such as api_key, api_base, or model, submitted through an admin-authorized curl request.