Operations · Advanced
Verified
Automated verification
- Passed every automated gate: schema, uniqueness, HTTPS and live source link, prompt-injection and safety scan, approval-step rule.
- Drafting model not recorded.
- Second-model review: kimi-code/k3.1-pro (no critical or high findings).
- Verified .
- Automated checks and AI review only, not human review.
Optimizing multi-model routing from telemetry traces
Analyze prompt logs and latency metrics to recommend cost-effective model routing rules
Opens BotBento with this bot ready to create. You check it, create it in one click, then connect its apps. Nothing runs until you do.
- On a scheduleWeekly telemetry review
- ThenAnalyze prompt traces and costs
- ResultSubmit routing rule pull request
This bot inspects telemetry traces and query logs from your inference gateway, clusters common prompt archetypes, and evaluates candidate models to balance cost against latency and accuracy. It drafts routing policies and cache configuration changes to optimize resource utilization across self-hosted and cloud providers.
Quick answers
What does it do?
Analyze prompt logs and latency metrics to recommend cost-effective model routing rules. Result: Submit routing rule pull request.
What does it need?
Tools: GitHub, Database, Terminal, Chat. Advanced: more tools and setup. The prompt includes an approval step.
How do I run it?
On a schedule: Weekly telemetry review. Copy the prompt below into a bot in BotBento.
Prompt to start with
BotBentoRecommended
Query the gateway telemetry database to extract sample prompt traces, token usage, and response latencies across active providers. Group requests by task complexity and test candidate fallback models against standard quality checks. When you identify cheaper or faster alternatives that maintain acceptable quality thresholds, draft updated routing configuration files. Always wait for human approval before opening a pull request on GitHub or applying any routing updates to live gateway environments.