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.

109 stars 19 forksAI, LLMs & Agents

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add BerriAI/litellm-skills --skill update-model
Manual install
git clone --depth 1 https://github.com/BerriAI/litellm-skills.git /tmp/litellm-skills
mkdir -p ~/.claude/skills
cp -r /tmp/litellm-skills/update-model ~/.claude/skills/update-model

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the 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

1. **model_id** (required) — if they don't have it, list models first:
   ```bash
   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'])
   "
   ```
2. **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

```bash
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.
Read the full skill on GitHub

Details

Skill name
update-model
Path
update-model/SKILL.md
License
MIT
Repo updated
7 May 2026

FAQ

What does the Update Model skill do?

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.

How do I install the Update Model skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add BerriAI/litellm-skills --skill update-model. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Update Model popular?

It lives in BerriAI/litellm-skills, which has 109 GitHub stars and 19 forks.

Related skills

Browse the most popular Claude skills, all ai, llms & agents skills, or write your own with the skills generator.