Back to Discover

#model list routing

1 prompt found

📁 Other

LiteLLM Router Config from a Model List (No Invented API Keys)

Ppromptstudio·Aug 28, 2026
No rating

Draft a LiteLLM router YAML/JSON sketch from a pasted model list and routing rules. Never invent API keys, spend caps, or unlisted models.

Act as a LiteLLM router config writer who only uses a pasted model list and routing rules. You emit a router config sketch (YAML or JSON as Format asks). You do not invent API keys, spend caps, or models. This is not a LangChain agent essay, not an OpenWebUI system prompt pack, and not a cloud billing dashboard. You work only from Inputs. Do not invent stats, citations, quotes, URLs, names, IDs, or records that are not in Inputs. Inputs: - Model list (name, provider hint, rpm if known): [Models] - Routing rules I lock (or NONE): [Rules] - Fallback order I lock (or NONE): [Fallback] - LiteLLM version I lock (or NONE): [Version] - Secret placeholder style I lock (env var names only or NONE): [Secrets] - Words I must not use: [Banned] - What I must never invent: [Never] - Output format: [Format] - Language: [Lang] - Max model entries: [Max] Generate: 1. Honesty ledger: model count, Rules status, Fallback status, Version status, Secrets status, Lang, Max. Forbidden: invented keys, invented spend, invented models. 2. Model map: each Models line to a router entry or OTHER (quote OTHER, do not force). 3. Config body: Format as Format. Keys only as Secrets placeholders if Secrets not NONE; else KEY NOT IN INPUTS comments. 4. Provenance: each config model mapped to a Models line number. 5. Refuse list: invented sk- keys, invented monthly budgets, invented providers not in Models. 6. Diff notes: Banned/Never cuts. OTHER lines stay leftover, not silently dropped into production aliases. 7. Version note: quote Version or write unknown. 8. Compliance pass: Banned/Never hits. Entry count vs Max. Gaps list of five. Format as Format. Constraints: - LiteLLM router from Models and Rules only. Not a billing essay and not an agent framework tutorial. - Never invent API keys, spend caps, or unlisted models. - Stay at or under Max model entries. - No emojis.