Live AI Execution & Model Routing Inspector
Test custom prompts or select real prompts from allenai/WildChat-4.8M to inspect how InferRoute scores candidates, evaluates prefix caching, routes models, and calculates token & cost breakdowns step-by-step.
InferRoute: Multi-LLM Dynamic Router & Gateway
Optimizes model routing across OpenAI, Google Gemini, and self-hosted vLLM clusters. Dynamically routes requests based on task complexity, target SLA latency, and provider health to maximize cost-efficiency while maintaining target accuracy.
1. Prefix-Aware & Cache Routing
Matches repeated prompt prefixes to route to self-hosted vLLM nodes holding warm KV states (--enable-prefix-caching). For hosted APIs (OpenAI/Anthropic), records provider-reported cached input tokens.
2. SLO & Complexity Classifier
Scored routing across candidate models. Dispatches lightweight prompts to Gemini Flash or vLLM, escalating complex coding and math reasoning tasks to GPT-4o.
3. Circuit Breaker & Deduplication
Sub-10ms routing decision overhead when bypassing an OPEN circuit provider. Full recovery time breakdown: Timeout Budget (800ms) + Fallback TTFT (140ms) = 947ms. Coalesces duplicate queries via Redis Pub/Sub.
Quant-AI Financial Trading Agent
Autonomous quantitative strategy generator & market sentiment parser. Connected via OpenAI-compatible SDK endpoint.
Facial attribute analysis and multimodal visual description. Routes visual queries to Gemini Flash / Vision nodes.
Autonomous multi-agent orchestration. Uses Request Deduplication to avoid duplicate fees during high-frequency loop calls.
Environment: Hugging Face Space CPU / us-east | Pricing Snapshot Date: 2026-07-30
Datasets Evaluated: WildChat-4.8M (3,684), GSM8K (2,500), Alpaca (2,500), MBPP (1,316)
• GPT-4o Baseline Oracle Accuracy: 99.2%
• InferRoute Routed Accuracy: 98.8% (Absolute Difference: -0.4 percentage points)
• Accuracy Retention Rate: 99.6% (calculated as 98.8% / 99.2%)
Adjust request volume, average tokens, and baseline provider to calculate your exact monthly and annual dollar savings:
Direct Provider Spend
Unoptimized raw cost / mo
InferRoute Routed Spend
Dynamic routed cost / mo
Monthly Dollar Savings
85.0% Net Savings
Annual Projections
Projected annual savings
Executes side-by-side benchmark comparing Direct GPT-4o vs InferRoute Cascade vs Gemini Flash vs Local vLLM on identical prompts: