berriai/litellm-skills/add-model

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Add a new model to a live LiteLLM proxy. Walks the user through picking a provider, entering the deployment name and credentials, calls POST /model/new, then test-calls the model to confirm it routes correctly. Use when the user wants to add, register, deploy, or configure a new model on a LiteLLM proxy instance.

Install

npx vskill@latest install berriai/litellm-skills/add-model

SKILL.md

Add Model

Add a new LLM to a live LiteLLM proxy.

Setup

Ask for these if not already known:

LITELLM_BASE_URL — e.g. https://my-proxy.example.com
LITELLM_API_KEY — proxy admin key

API reference: https://litellm.vercel.app/docs/proxy/model_management

Ask the user

  1. Public model name — what callers will send in "model": "..." (e.g. gpt-4o, my-claude, llama3)
  2. Provider — pick from the table below
  3. Credentials — whatever that provider needs

Provider table

Providerlitellm_params.modelExtra params
OpenAIopenai/gpt-4oapi_key
Azure OpenAIazure/<deployment-name>api_key, api_base, api_version
Anthropicanthropic/claude-3-5-sonnet-20241022api_key
AWS Bedrockbedrock/anthropic.claude-3-5-sonnet-20241022-v2:0AWS creds via env
Google Vertexvertex_ai/gemini-1.5-provertex_project, vertex_location
Ollamaollama/llama3api_base (e.g. http://localhost:11434)
Groqgroq/llama-3.3-70b-versatileapi_key
Together AItogether_ai/meta-llama/Llama-3-70bapi_key
Mistralmistral/mistral-large-latestapi_key

Full list: https://docs.litellm.ai/docs/providers

Run

bash
curl -s -X POST "$BASE/model/new" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model_name": "<public-name>",
"litellm_params": {
"model": "<provider/deployment>",
"api_key": "<key>",
"api_base": "<base_if_needed>",
"api_version": "<version_if_azure>"
}
}'

Test it

After adding, verify it routes:

bash
curl -s -X POST "$BASE/chat/completions" \
-H "Authorization: Bearer $KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "<public-name>",
"messages": [{"role": "user", "content": "say hi"}],
"max_tokens": 10
}'

Output

Show model_id from the response — needed to update or delete the model later. Report pass/fail from the test call.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
53
Repository forks
8
7-day trend score
20

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/berriai/litellm-skills/add-model/badge)](https://verified-skill.com/skills/berriai/litellm-skills/add-model)

Something wrong with this skill or its page? Tell us.