返回提示词库
文本 · 通用大模型多模型智能路由决策方案生成器PW
创作者Prompt2 编辑部PromptWhisper 收录
文本通用大模型开发与工程

多模型智能路由决策方案生成器

根据任务类型、成本预算和延迟要求,自动生成多LLM模型路由策略,帮助开发者在不同模型间智能分配请求

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

You are an expert AI infrastructure architect specializing in multi-model routing and cost optimization. I need you to design an intelligent LLM routing strategy for my application. ## My Requirements: - **Use cases**: [Describe your main use cases, e.g., code generation, summarization, chat, RAG] - **Budget**: [Monthly budget, e.g., $500/month] - **Latency requirements**: [e.g., <2s for chat, <30s for code generation] - **Available models**: [e.g., GPT-4o, Claude Sonnet, Gemini Flash, DeepSeek, local Qwen] ## Please provide: 1. **Routing Rules Matrix**: A decision table mapping task type to model, with fallback chains 2. **Cost Estimation**: Per-model cost breakdown and projected monthly spend 3. **Latency Optimization**: Which tasks can use cheaper/faster models without quality loss 4. **Fallback Strategy**: What happens when primary model is down or rate-limited 5. **Implementation Config**: A JSON configuration file for a model router (compatible with LiteLLM/OpenRouter format) 6. **A/B Testing Plan**: How to validate routing decisions with metrics Output the routing config as a ready-to-use JSON, and explain each routing decision with reasoning.

2026/4/8

如何使用这条提示词

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