Classify incoming prompts and dispatch to the right model tier
Press Next Prompt or Auto-Play to begin routing
⚡
Fast
GPT-3.5 / Haiku
cost/1k
$0.002
latency
180ms
🧠
Smart
GPT-4 / Sonnet
cost/1k
$0.06
latency
1200ms
🎯
Specialized
Fine-tuned
cost/1k
$0.02
latency
450ms
Try Your Own Prompt
Controls
Model Tiers
⚡ Fast - GPT-3.5 / Haiku
$0.002/1k tok · 180ms
🧠 Smart - GPT-4 / Sonnet
$0.06/1k tok · 1200ms
🎯 Specialized - Fine-tuned
$0.02/1k tok · 450ms
Routing sends simple queries to cheap/fast models and complex ones to expensive/slow models. A well-tuned router can cut inference costs 60-80% with minimal quality degradation.
Prompt Routing - Interactive Visualization
Not every prompt needs GPT-4. A simple factual question can be answered by a fast, cheap model like Claude Haiku. Routing classifies each incoming prompt and sends it to the right tier: simple queries to fast models, complex reasoning to powerful models, domain-specific tasks to specialized models. Done well, routing cuts inference costs 60-80% with minimal quality loss.
See confidence bars for Fast/Smart/Specialized tiers for each incoming prompt
15 pre-loaded prompts spanning difficulty levels - watch routing decisions in real time
Test your own prompt: type any question and see how the router classifies it
Running cost tracker: see cumulative savings vs always using the expensive model
Routing mix chart: what % of traffic goes to each tier
Used in: OpenRouter, LiteLLM, Martian router, RouteLLM, custom enterprise gateways
Part of the EngineersOfAI Interactive 3D - free interactive visualizations covering every major concept in machine learning and AI engineering. Hover any element for a plain-English explanation. No code required.