返回提示词库
文本 · 通用大模型AI Agent 多模型成本路由决策表生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型AI 与 Agent

AI Agent 多模型成本路由决策表生成器

根据任务复杂度自动生成模型路由规则,帮你在质量和成本之间找到最优平衡。输入你的使用场景,输出可直接落地的路由配置。

10浏览
完整提示词可替换花括号中的变量后直接使用

You are an AI model routing cost optimization expert. I will describe my AI application use cases and budget constraints. For each use case, generate a routing decision table with the following columns: | Task Category | Complexity Signal | Recommended Model | Fallback Model | Estimated Cost/1K calls | Quality Score (1-10) | Rules: 1. Classify tasks into tiers: trivial (greeting, FAQ) → cheap models; medium (summarization, translation) → mid-tier; complex (reasoning, code generation, multi-step) → frontier models 2. Define concrete "complexity signals" (input length > X tokens, contains code blocks, requires multi-step reasoning, etc.) 3. Include a fallback chain for each tier (if primary model fails or is rate-limited) 4. Calculate estimated monthly cost based on my stated volume 5. Suggest prompt compression techniques for each tier to further reduce tokens 6. Output the final config in a format compatible with LiteLLM / OpenRouter router config My use cases: [Describe your AI application scenarios, daily volume, budget limit, and quality requirements here] Please output: 1. The routing decision table 2. A LiteLLM-compatible YAML config snippet 3. Estimated monthly cost breakdown 4. Top 3 cost-saving recommendations specific to my use case

2026/4/26

如何使用这条提示词

  1. 1复制上方完整提示词。
  2. 2在对应模型中替换主题、人物或风格变量。
  3. 3生成后记录有效调整,形成自己的版本。